[wix-users] related bundle variables

Alexander Sergeev Alexander.Sergeev at paragon-software.com
Tue Oct 27 02:53:19 PDT 2015


Hi there.

I have 2 versions of bundle A and B(same Upgrade Codes, Same versions, different Product Codes)
Both of them have some MSI packages inside(some are the same and some are not).
I have a case in which I pass a variable(cmd line parameter) VARIABLE1 to bundle, which is used in case of uninstall , so some of msi packages won't be deleted.
I should be able to delete installed bundle(no matters if it is A or B) with any of them - using A or B.
So I use OnPlanRelatedBundle and set state of found related bundle to Absent so it will be deleted.
But when I need to delete not all of MSI packages I pass VARIABLE1 to bundle - I want related bundle not to delete all packages, but delete those, that are not affected by VARIABLE1.

How can I pass a variable to related uninstall action?

Thanks.



More information about the wix-users mailing list