Hi all, I have to accomplish the following: when the product gets completelly uninstalled (from add/remove programs, _not_ during an update) I need to specifically delete 2 additional files.
For that I have the following code: <Component Id="RemoveLogosFile" Guid="PUT_MY_GUID" > <RemoveFile Id="RemoveLogosFile" Name="MyLogo.jpg" On="uninstall"/> <RemoveFile Id="RemoveBundleFile" Name="bundle" On="uninstall"/> <Condition>(NOT UPGRADINGPRODUCTCODE) AND (REMOVE=ALL)</Condition> </Component> The above code works as expected _if_: <RemoveExistingProducts After="InstallFinalize"/> meaning the 2 files are deleted _only_ during an uninstall from add/remove programs and they _don't_ get deleted during an update. But in my installer I have: <RemoveExistingProducts After="InstallInitialize"/> and the behavior in this case is that the 2 files are _always_ deleted regardless if it's an update or removal from add/remove programs. Can somebody help me accomplish the deletion of those files only when uninstalling from add/remove programs and not during an update, when having <RemoveExistingProducts After="InstallInitialize"/>? Thank you, MeCoco ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users