summaryrefslogtreecommitdiff
path: root/xmake/scripts
diff options
context:
space:
mode:
authorA2va <[email protected]>2024-05-24 18:13:50 +0200
committerA2va <[email protected]>2024-05-24 18:13:50 +0200
commit28322db9b0c5ccee35c1445dfc567bea0d8ff072 (patch)
tree7d59cdff8f7be19ad79ab8eb5638ed2d4f31786b /xmake/scripts
parentfa333a9cc927abab2916d45bcf0fc068f035c484 (diff)
Add icon banner
Then file icon is not working
Diffstat (limited to 'xmake/scripts')
-rw-r--r--xmake/scripts/xpack/wix/msi.wxs6
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/scripts/xpack/wix/msi.wxs b/xmake/scripts/xpack/wix/msi.wxs
index 82ec2e88a..dda4978a7 100644
--- a/xmake/scripts/xpack/wix/msi.wxs
+++ b/xmake/scripts/xpack/wix/msi.wxs
@@ -20,7 +20,11 @@
<Package Language="1033" Manufacturer="$(PackageCompany)" Name="$(PackageName)" UpgradeCode="$(UpgradeCode)" Version="$(PackageVersion)">
<MajorUpgrade DowngradeErrorMessage="A later version of $(PackageName) is already installed. Setup will now exit." />
<?if $(PackageIconFile) != "" ?>
- <Icon Id="Icon.ico" SourceFile="$(PackageIconFile)"/>
+ <Icon Id="Icon" SourceFile="$(PackageIconFile)"/>
+ <Property Id="ARPPRODUCTICON" Value="Icon" />
+ <WixVariable Id="WixUIBannerBmp" Value="$(PackageIconFile)" />
+ <!-- Disable for now, because this is not pretty if the icon has a small resolution -->
+ <!-- <WixVariable Id="WixUIDialogBmp" Value="$(PackageIconFile)" /> -->
<?endif ?>
<MediaTemplate EmbedCab="true" />
<WixVariable Id="WixUILicenseRtf" Value="$(PackageLicenseFile)" />