Hi all, I have some EXEs I want to run, some only when installing (let's call them InstEXEs), and others when uninstalling (let's call them UninstEXEs) either as part of a major upgrade or a standard uninstall, to undo what the InstEXEs do.
Searching the internet has suggested that running EXEs at uninstall can be done by adding REMOVE="ALL" in the CustomAction tag, like so: http://stackoverflow.com/questions/4862299/running-a-program-on-uninstall Two questions: 1) REMOVE="ALL" seems a bit hacky, and I'm not sure if it will always be true when either doing a major upgrade (through the MajorUpgrade tag) or when doing a normal uninstall. Can someone please confirm the UninstEXEs will in fact run in either case (when uninstalling as part of a major upgrade or during a regular uninstall)? 2) I only want the InstEXEs to run during installation (and not when uninstalling). Thus, since there is the special REMOVE="ALL" to denote "do this only if uninstalling", is there an equivalent I need to use to specify "do this only if installing"? Alain ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users