WIX.template.in 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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"/>
  12. <Media Id="1" Cabinet="media1.cab" EmbedCab="yes"/>
  13. <MajorUpgrade
  14. Schedule="afterInstallInitialize"
  15. AllowSameVersionUpgrades="yes"
  16. DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit."/>
  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. <FeatureRef Id="ProductFeature"/>
  30. <UIRef Id="$(var.CPACK_WIX_UI_REF)" />
  31. <?include "properties.wxi"?>
  32. <?include "product_fragment.wxi"?>
  33. </Product>
  34. </Wix>