I am trying to get a certain package to run when the user launches the
uninstall but not when the bundle is removed by a related bundle that is
upgrading it. I tried adding "NOT WixBundleAction = "4"" to my
DetectCondition but that doesn't work. Is there a way for a package to
distinguish if the bundle is being uninstalled or upgraded? I would think
I'm on the right track but I may have the wrong WixBundleAction value. 

The reason for this is because if the user is directing the application to
uninstall, we prompt, asking if the user wants to save their local data.
This is unnecessary when the bundle is being uninstalled by a related
bundle, because we just want to preserve settings by default, rather than
prompting.

I haven't been able to find many references online to WixBundleAction so
using "4" to denote an upgrade was based on me seeing that in my logs when
the new bundle was initializing. Any ideas?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WixBundleAction-Which-actions-correspond-to-the-values-tp7595919.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to