[wix-users] WiX Bundle Upgrade Issue

Colin Sim Colin.Sim at ipfx.com
Tue Apr 18 23:27:57 PDT 2017

I have a bundle/bootstrapper that contains a EXE and MSI. There is a custom action in the MSI that performs clean-up of data files that are generated by the application. This custom action is scheduled to run on MSI uninstall only.

I am finding that when the bundle gets upgraded, it performs an uninstall of the old bundle before installing the new one. However, by uninstalling the old bundle the MSI clean-up custom action is run - this is not something I want.

Is there additional information that can be passed to the MSI to let it know it's a bundle upgrade instead of an uninstall? Is there a way to work around the bundle behaviour described?

This e-mail contains IPFX information which may be privileged or confidential and is intended for use only by the individual(s) or entity named above. If you are not the intended recipient, note that disclosing, copying, distributing or using this information is prohibited. If you have received this e-mail in error, please advise immediately to the e-mail address above and permanently delete this message and any attachments. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. We monitor our e-mail system and may record your e-mails. Thank you.

More information about the wix-users mailing list