Have an immediate CustomAction pass the value to the deferred CustomAction.  
This is documented in the MSI SDK and the WiX CustomActions do it.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Young Jun Hong
Sent: Thursday, September 06, 2007 02:55
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to get the installation directory in the custom 
actions for uinstaling

Hello all,

I used an immediate custom action for uinstallation, but I found that I should 
use a deferred one to make "impersonate='no'" work for the Vista UAC. In the 
immediate custom action, I could use the installer API to get its 
InstallLocation registry key, but in a deferred custom action, it couldn't get 
the registry key....

Does anyone know what is the best way to get the installation folder in the 
deferred action for uinstallation.

Thanks in advance,
Young


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to