Skip to content

Commit

Permalink
Logo in the Windows installer.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfusik committed Dec 23, 2021
1 parent 49b3dc1 commit 5ea8fd4
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
1 change: 0 additions & 1 deletion win32/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
*.wixobj
QOI.plg64
signed
signed-msi
Binary file added win32/setup/banner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added win32/setup/dialog.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
6 changes: 5 additions & 1 deletion win32/qoi-ci.wxs → win32/setup/qoi-ci.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
<MajorUpgrade DowngradeErrorMessage="Newer version of Quite OK Image plugins is already installed!" />
<Media Id="1" Cabinet="qoici.cab" EmbedCab="yes" CompressionLevel="high" />

<Icon Id="qoi.ico" SourceFile="win32/setup/qoi.ico" />
<Property Id="ARPHELPLINK" Value="https://github.com/pfusik/qoi-ci" />
<WixVariable Id="WixUILicenseRtf" Value="win32/license.rtf" />
<Property Id="ARPPRODUCTICON" Value="qoi.ico" />
<WixVariable Id="WixUILicenseRtf" Value="win32/setup/license.rtf" />
<WixVariable Id="WixUIDialogBmp" Value="win32/setup/dialog.jpg" />
<WixVariable Id="WixUIBannerBmp" Value="win32/setup/banner.jpg" />

<UI Id="MyWixUI_FeatureTree">
<!-- customized WixUI_FeatureTree from Wix 3.0 - my changes commented -->
Expand Down
Binary file added win32/setup/qoi.ico
Binary file not shown.
9 changes: 5 additions & 4 deletions win32/win32.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ install-imagine: win32/QOI.plg64
install-paint.net: win32/QOIPaintDotNet.dll
$(SUDO) cp $< "$(PAINT_NET_DIR)/FileTypes/QOIPaintDotNet.dll"

../qoi-ci-$(VERSION)-win64.msi: win32/qoi-ci.wixobj win32/license.rtf file-qoi.exe win32/QOI.plg64 win32/QOIPaintDotNet.dll Xqoi.usr win32/signed
../qoi-ci-$(VERSION)-win64.msi: win32/setup/qoi-ci.wixobj win32/setup/qoi.ico win32/setup/license.rtf win32/setup/dialog.jpg win32/setup/banner.jpg \
file-qoi.exe win32/QOI.plg64 win32/QOIPaintDotNet.dll Xqoi.usr win32/signed
light -nologo -o $@ -spdb -ext WixUIExtension -sice:ICE69 -sice:ICE80 $<

win32/qoi-ci.wixobj: win32/qoi-ci.wxs
win32/setup/qoi-ci.wixobj: win32/setup/qoi-ci.wxs
candle -nologo -o $@ -dVERSION=$(VERSION) -arch x64 $<

win32/signed-msi: ../qoi-ci-$(VERSION)-win64.msi
win32/setup/signed: ../qoi-ci-$(VERSION)-win64.msi
$(DO_SIGN)

win32/signed: file-qoi.exe win32/QOI.plg64 win32/QOIPaintDotNet.dll Xqoi.usr
Expand All @@ -37,6 +38,6 @@ deb64:
scp vm:qoi-ci-gimp_$(VERSION)-1_amd64.deb ..
scp vm:qoi-ci-xnview_$(VERSION)-1_amd64.deb ..

CLEAN += win32/QOI.plg64 win32/QOIPaintDotNet.dll win32/signed-msi win32/signed
CLEAN += win32/QOI.plg64 win32/QOIPaintDotNet.dll win32/setup/qoi-ci.wixobj win32/setup/signed win32/signed

.PHONY: install-imagine install-paint.net deb64

0 comments on commit 5ea8fd4

Please sign in to comment.