[wix-users] Overriding current state of an msi package in custom bootstrapper

Jayan, Veena veena.jayan at philips.com
Sun Aug 28 06:57:01 PDT 2016

We have a bootstrapper bundle which chains 3 individual application msi. Bootstrapper custom UI allows user to choose which application to install
And based on the selection custom bootstrapper will install its msi.

Now consider the scenario.
Application, say A1 version is installed in the system. Assume bootstrapper version is also

Assume next version of bootstrapper installer with some updates is available, Assume its version is

My requirement is I should be able to uninstal A1 using the installer version
But this latest installer does not detect the msi package current state as present.
here is excerpt from the log:
Detected related package: {92482FD1-38EE-474E-B4C0-32C8FBDF9C0B}, scope: PerMachine, version:, language: 0 operation: MajorUpgrade
[29F0:04E0][2016-08-26T10:50:11]i000: In OnDetectRelatedMsiPackage  event parameters are : CCAdmin and result is None
Detected package: CCAdmin, state: Absent, cached: None

[29F0:04E0][2016-08-26T10:50:22]i201: Planned package: CCAdmin, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: Unregister

Is it possible to override the current state of this msi package programatically?

My intention is to set Current State as Present, BA reques state as absent so that Bootstrapper engine will uninstall this package when I invoke Engine.Apply()

The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.

More information about the wix-users mailing list