[wix-users] How to Detect if Bundle is Being Upgraded vs Uninstalled

Kristoffer M kristofferm2929 at gmail.com
Tue Apr 28 07:36:27 PDT 2020


Hello All,

I am using a bundle to install a couple MSI packages and some
prerequisites. One of the prerequisites is a program that uses
InstallShield to install it. The bundle uses an ExePackage element with
CommandLine conditions to call the installshield installer based on if
something else exists.

Installing and Uninstalling the bundle works just fine but there are issues
that occur during the upgrade process. Is there a way to detect if the
bundle is being upgraded vs uninstalled. I want the ExePackage to basically
do nothing during the upgrade. When using the Product element, there are
certain properties that can be leveraged such as 'INSTALLED', 'NOT
REINSTALL', 'REMOVE=ALL', ect... Are there similar properties that can be
used in the bundle element?

Thanks very much!


More information about the wix-users mailing list