[wix-users] WIX Bootstrapper uninstall chain element after upgrade
Srinivas
srinivasmsis at gmail.com
Wed Dec 18 20:40:17 PST 2019
I have a bootstrapper installer which contains 4 chain elements
*Version 1.0*
<Chain>
/<MsiPackage Id="first" SourceFile="first.msi" Vital="yes" Visible="yes"
DisplayInternalUI="yes" Compressed="no" Name="first.msi"/>/ <MsiPackage
Id="second" SourceFile="second.msi" Vital="yes" Visible="yes"
DisplayInternalUI="yes" Compressed="no" Name="second.msi"/> <MsiPackage
Id="third" SourceFile="third.msi" Vital="yes" Visible="yes"
DisplayInternalUI="yes" Compressed="no" Name="third.msi"/> <MsiPackage
Id="fourth" SourceFile="fourth.msi" Vital="yes" Visible="yes"
DisplayInternalUI="yes" Compressed="no" Name="fourth.msi"/> </chain>
I want Version 2 after upgrade to contain only 3 elements. That means when
i install version 2.0 , it should uninstall first.msi and upgrade the rest
of the chain elements *Version 2.0* <Chain> <MsiPackage Id="second"
SourceFile="second.msi" Vital="yes" Visible="yes"
DisplayInternalUI="yes" Compressed="no" Name="second.msi"/> <MsiPackage
Id="third" SourceFile="third.msi" Vital="yes" Visible="yes"
DisplayInternalUI="yes" Compressed="no" Name="third.msi"/> <MsiPackage
Id="fourth" SourceFile="fourth.msi" Vital="yes" Visible="yes"
DisplayInternalUI="yes" Compressed="no" Name="fourth.msi"/> </chain>
The above is my expected behavior.
what is happening, it is upgrading version 2.0, but first.msi is still not
getting uninstalled.
How do i make first.msi uninstalled and reconstruct the chain
More information about the wix-users
mailing list