summaryrefslogtreecommitdiffstats
path: root/Modules/WIX.template.in
diff options
context:
space:
mode:
authorEric LaFranchi <eric@lafranchi.com>2012-12-14 20:50:18 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-12-28 20:32:15 (GMT)
commit3793dca08a41fd9199e65ff834b839b4f65397c7 (patch)
tree333247eb55f77dc0e666c20f98795fa02ca2d0c7 /Modules/WIX.template.in
parentfb2db0e470002c372decf2aae2447de2cf27384c (diff)
downloadCMake-3793dca08a41fd9199e65ff834b839b4f65397c7.zip
CMake-3793dca08a41fd9199e65ff834b839b4f65397c7.tar.gz
CMake-3793dca08a41fd9199e65ff834b839b4f65397c7.tar.bz2
CPack: WIX Product Icon, UI Banner, UI Dialog support (#13789)
Diffstat (limited to 'Modules/WIX.template.in')
-rw-r--r--Modules/WIX.template.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/Modules/WIX.template.in b/Modules/WIX.template.in
index 63fad7c..0bc7e10 100644
--- a/Modules/WIX.template.in
+++ b/Modules/WIX.template.in
@@ -24,6 +24,19 @@
<WixVariable Id="WixUILicenseRtf" Value="$(var.CPACK_WIX_LICENSE_RTF)"/>
<Property Id="WIXUI_INSTALLDIR" Value="INSTALL_ROOT"/>
+ <?ifdef CPACK_WIX_PRODUCT_ICON?>
+ <Property Id="ARPPRODUCTICON">ProductIcon.ico</Property>
+ <Icon Id="ProductIcon.ico" SourceFile="$(var.CPACK_WIX_PRODUCT_ICON)"/>
+ <?endif?>
+
+ <?ifdef CPACK_WIX_UI_BANNER?>
+ <WixVariable Id="WixUIBannerBmp" Value="$(var.CPACK_WIX_UI_BANNER)"/>
+ <?endif?>
+
+ <?ifdef CPACK_WIX_UI_DIALOG?>
+ <WixVariable Id="WixUIDialogBmp" Value="$(var.CPACK_WIX_UI_DIALOG)"/>
+ <?endif?>
+
<FeatureRef Id="ProductFeature"/>
<UIRef Id="WixUI_InstallDir" />