I've got a feature that I only want to be installed if Visual Studio 2005 C++ 
is installed.  I 
search the registry for a particular value to indicate if it is present or not, 
and set this value 
to a property called FOUND_VC80DIR, which initially has the value of "UNKNOWN". 
 On my feature I 
have this condition:
<Condition Level="0"><![CDATA[FOUND_VC80DIR = "UNKNOWN"]]></Condition>

I'm trying to work out how to get my product to uninstall after the user has 
removed Visual Studio. 
  I install my product, remove the VS value I reference (to simulate an 
uninstall without actually 
having to sit through it) and then uninstall my product.  The product is 
uninstalled but it leaves 
behind the files from this feature.  I tried adding "AND NOT REMOVE" to the 
condition, but this only 
seems to work if if I uninstall it by using the "msiexec /x" from the command 
line.  If I go through 
the UI and choose to remove it then I am still left with the files.  Can anyone 
let me know how to 
get round this?

Thanks,
Rob


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to