A condition of Not Installed sounds right. 

[[However, if your custom action is associated with a component or a feature, 
sometimes a feature condition is more appropriate because the feature may be 
uninstalled and later reinstalled, or not chosen at install time etc.  ]]

Phil Wilson 


-----Original Message-----
From: Bradley Ward [mailto:bradley.w...@turnpoint-solutions.com] 
Sent: Monday, May 23, 2011 12: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


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



------------------------------------------------------------------------------
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

Reply via email to