[wix-users] Remove MSI on Update without running a CustomAction in it

RonnyS ronnys.coding at gmail.com
Fri Jul 20 01:35:59 PDT 2018


Many thanks for your help @Nir Bar and Edwin Castro

I have tried it now and it works:
<Property Id="PREVIOUSVERSIONSINSTALLED_THIRDMSI" Secure="yes" />
<Upgrade Id="{UPGRADE GUID OF THE THIRD MSI}">
<UpgradeVersion Minimum="1.0.0.0" Maximum="99.99.99.99" Property="
PREVIOUSVERSIONSINSTALLED_THIRDMSI" IncludeMinimum="yes" IncludeMaximum="no"
/>
</Upgrade>

All files (first & third MSI) will be removed and installed new with the
first MSI. The CustomAction on the third MSI dont run so the problem is
solved.
Should I adjust something to make it more stable?

Greetings Ronny



More information about the wix-users mailing list