Windows installer cleanup: get rid of hardcoded number

This commit is contained in:
Casper Jeukendrup 2023-09-02 21:53:32 +02:00
parent b9a5afebaa
commit 83c1f1eabc
No known key found for this signature in database
GPG key ID: 6C571BEF59E722DD

View file

@ -3,7 +3,7 @@
<?include "cpack_variables.wxi"?>
<?define ShortVersion="$(var.CPACK_PACKAGE_VERSION)" ?>
<?define VShortVersion="4" ?>
<?define VShortVersion="$(var.CPACK_PACKAGE_VERSION_MAJOR)" ?>
<?define ProdName="$(var.CPACK_PACKAGE_NAME) $(var.VShortVersion)" ?>
<?define ShortProdName="$(var.CPACK_PACKAGE_NAME)$(var.VShortVersion)" ?>
<?define ExeName="$(var.ShortProdName).exe" ?>
@ -11,8 +11,7 @@
<?define ExeId="CM_FP_bin.$(var.ShortProdName).exe" ?>
<?define RegistryRoot="HKMU" ?> <!--HKCU / HKLM-->
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
RequiredVersion="3.6.3303.0">
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" RequiredVersion="3.6.3303.0">
<Product Id="$(var.CPACK_WIX_PRODUCT_GUID)"
Name="$(var.ProdName)"