WIX.template.in 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?include "cpack_variables.wxi"?>
  3. <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
  4. RequiredVersion="3.6.3303.0">
  5. <Product Id="$(var.CPACK_WIX_PRODUCT_GUID)"
  6. Name="$(var.CPACK_PACKAGE_NAME)"
  7. Language="1033"
  8. Version="$(var.CPACK_PACKAGE_VERSION)"
  9. Manufacturer="$(var.CPACK_PACKAGE_VENDOR)"
  10. UpgradeCode="$(var.CPACK_WIX_UPGRADE_GUID)">
  11. <Package InstallerVersion="301" Compressed="yes" InstallScope="perMachine"/>
  12. <Media Id="1" Cabinet="media1.cab" EmbedCab="yes"/>
  13. <MajorUpgrade
  14. Schedule="afterInstallInitialize"
  15. AllowDowngrades="yes"/>
  16. <Property Id="REINSTALLMODE" Value="amus"/>
  17. <WixVariable Id="WixUILicenseRtf" Value="$(var.CPACK_WIX_LICENSE_RTF)"/>
  18. <Property Id="WIXUI_INSTALLDIR" Value="INSTALL_ROOT"/>
  19. <?ifdef CPACK_WIX_PRODUCT_ICON?>
  20. <Property Id="ARPPRODUCTICON">ProductIcon.ico</Property>
  21. <Icon Id="ProductIcon.ico" SourceFile="$(var.CPACK_WIX_PRODUCT_ICON)"/>
  22. <?endif?>
  23. <?ifdef CPACK_WIX_UI_BANNER?>
  24. <WixVariable Id="WixUIBannerBmp" Value="$(var.CPACK_WIX_UI_BANNER)"/>
  25. <?endif?>
  26. <?ifdef CPACK_WIX_UI_DIALOG?>
  27. <WixVariable Id="WixUIDialogBmp" Value="$(var.CPACK_WIX_UI_DIALOG)"/>
  28. <?endif?>
  29. <DirectoryRef Id="TARGETDIR">
  30. <Component Id="CMakeRegistry">
  31. <RegistryKey Root="HKLM" Key="Software\Kitware\CMake">
  32. <RegistryValue Type="string" Name="InstallDir"
  33. Value="[INSTALL_ROOT]" KeyPath="yes"/>
  34. </RegistryKey>
  35. </Component>
  36. </DirectoryRef>
  37. <FeatureRef Id="ProductFeature">
  38. <ComponentRef Id="CMakeRegistry"/>
  39. </FeatureRef>
  40. <UIRef Id="$(var.CPACK_WIX_UI_REF)" />
  41. <UIRef Id="WixUI_ErrorProgressText" />
  42. <?include "properties.wxi"?>
  43. <?include "product_fragment.wxi"?>
  44. </Product>
  45. </Wix>