summaryrefslogtreecommitdiffstats
path: root/Modules/WIX.template.in
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-12-05 15:31:05 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-12-05 15:31:05 (GMT)
commit2bb2745fa8c260d12aca33d2e1fd26a92d3bfa6b (patch)
tree1199ee50029eb12ff9cb068f18006bbce29118cd /Modules/WIX.template.in
parent799befa21535c828e22b2fce3c472ea2f1eabd3c (diff)
parenta74bd470a4d01cfa06710d039bb435b02682ac3f (diff)
downloadCMake-2bb2745fa8c260d12aca33d2e1fd26a92d3bfa6b.zip
CMake-2bb2745fa8c260d12aca33d2e1fd26a92d3bfa6b.tar.gz
CMake-2bb2745fa8c260d12aca33d2e1fd26a92d3bfa6b.tar.bz2
Merge topic 'fix-11575-add-wix-support-to-cpack'
a74bd47 CPack: Fix dashboard errors and warnings (#11575) ad0f735 CPack: Fix dashboard warnings (#11575) 0729ad4 CPack: Fix dashboard errors (#11575) 85baac1 CPack: Add a WiX Generator (#11575)
Diffstat (limited to 'Modules/WIX.template.in')
-rw-r--r--Modules/WIX.template.in31
1 files changed, 31 insertions, 0 deletions
diff --git a/Modules/WIX.template.in b/Modules/WIX.template.in
new file mode 100644
index 0000000..63fad7c
--- /dev/null
+++ b/Modules/WIX.template.in
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<?include "cpack_variables.wxi"?>
+
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
+ RequiredVersion="3.6.3303.0">
+
+ <Product Id="$(var.CPACK_WIX_PRODUCT_GUID)"
+ Name="$(var.CPACK_PACKAGE_NAME)"
+ Language="1033"
+ Version="$(var.CPACK_PACKAGE_VERSION)"
+ Manufacturer="$(var.CPACK_PACKAGE_VENDOR)"
+ UpgradeCode="$(var.CPACK_WIX_UPGRADE_GUID)">
+
+ <Package InstallerVersion="301" Compressed="yes"/>
+
+ <Media Id="1" Cabinet="media1.cab" EmbedCab="yes"/>
+
+ <MajorUpgrade
+ Schedule="afterInstallInitialize"
+ AllowSameVersionUpgrades="yes"
+ DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit."/>
+
+ <WixVariable Id="WixUILicenseRtf" Value="$(var.CPACK_WIX_LICENSE_RTF)"/>
+ <Property Id="WIXUI_INSTALLDIR" Value="INSTALL_ROOT"/>
+
+ <FeatureRef Id="ProductFeature"/>
+
+ <UIRef Id="WixUI_InstallDir" />
+ </Product>
+</Wix>