Only uninstall previous Cura versions for enter prise by default

For non-enterprise version this can still be disabled through the settings

CURA-9157
This commit is contained in:
Casper Lamboo 2022-12-19 15:51:07 +01:00
parent bd66872d77
commit bb41de3865

View File

@ -20,7 +20,7 @@
<RemoveExistingProducts Before="InstallInitialize" />
</InstallExecuteSequence>
<Property Id="PREVIOUS_VERSIONS_INSTALLED" Secure="yes" />
<Property Id="PREVIOUS_VERSIONS_INSTALLED" Secure="yes" Value="{{ 1 if "Enterpise" in app_name else 0 }}" />
<Upgrade Id="{{ upgrade_code }}">
<UpgradeVersion
Minimum="4.13.2" Maximum="{{ version_major }}.{{ version_minor }}.{{ version_patch }}"