Change the REINSTALLMODE flag

Changed the "omus" to "dmus."
"o" means "Reinstall if the file is missing or is an older version"
"d" means "Reinstall if the file is missing or a different version is present."

Since we downgraded Qt, the files were removed, but never restored on updating MuseScore.
This commit is contained in:
anatoly-os 2019-11-14 01:33:18 +02:00
parent a7bb231229
commit 5210e05e9e

View file

@ -32,6 +32,9 @@
<WixVariable Id="WixUILicenseRtf" Value="$(var.CPACK_WIX_LICENSE_RTF)"/>
<Property Id="WIXUI_INSTALLDIR" Value="INSTALL_ROOT"/>
<!-- See https://docs.microsoft.com/ru-ru/windows/win32/msi/reinstallmode that explains different modes -->
<Property Id='REINSTALLMODE' Value='dmus'/>
<?ifdef CPACK_WIX_PRODUCT_ICON?>
<Property Id="ARPPRODUCTICON">ProductIcon.ico</Property>
<Icon Id="ProductIcon.ico" SourceFile="$(var.CPACK_WIX_PRODUCT_ICON)"/>