OK, I figured my particular case out. The condition you want to use is simply "NOT Installed".
Example: <Custom Action="MyCustomAction" Before="ProcessComponents">NOT Installed</Custom> In this example, the MyCustomAction action will be run during the installation sequence, but will not be run during the uinstall sequence. Brad -----Original Message----- From: Bradley Ward [mailto:bradley.w...@turnpoint-solutions.com] Sent: Monday, May 23, 2011 3:32 PM To: Wix-Users List (wix-users@lists.sourceforge.net) Subject: [WiX-users] How To Run Custom Action During Install But Not During Uninstall Is there a good FAQ anywhere? It is so frustrating trying to figure out how to do things that zillions of others must be doing all the time... In my case, I just want to run a custom action at install time. I have the custom action running just fine at install time now, but it also gets run when I uninstall the application. How can I stop it from running during the uninstall? Thanks in advance! Brad ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users