[wix-devs] WIX Bootstrapper uninstall chain element after upgrade
Rob Mensching
rob at firegiant.com
Wed Dec 18 06:36:18 PST 2019
Use the wix-users mailing for general usage questions about the WiX Toolset. This mailing list is for the development of the WiX Toolset itself.
-----Original Message-----
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> On Behalf Of Srinivas via wix-devs
Sent: Wednesday, December 18, 2019 6:28 AM
To: wix-devs at lists.wixtoolset.org
Cc: Srinivas <srinivasmsis at gmail.com>
Subject: [wix-devs] WIX Bootstrapper uninstall chain element after upgrade
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-devs
mailing list