Ravit,

looks like you have a condition on your custom action;  I think that 
<Custom Action="AssignEDir2INSTALLDIR" 
After="CostFinalize">TARGETDIR="E:\"</Custom>
means do the custom action only if TARGETDIR="E:\".  Try changing this the 
TARGETDIR="E:\" condition to 1, meaning it will always be executed.

Friedrich


 Hi,

I'm trying to change TARGETDIR to e drive.  I tried to do the following but it 
installs under c drive.

<CustomAction Id="AssignEDir2INSTALLDIR" Directory="TARGETDIR" Value="E:\" 
Execute="firstSequence" />
<InstallExecuteSequence>
      <Custom Action="AssignEDir2INSTALLDIR" 
After="CostFinalize">TARGETDIR="E:\"</Custom>
</InstallExecuteSequence>









      Get news delivered with the All new Yahoo! Mail.  Enjoy RSS feeds right 
on your Mail page. Start today at http://mrd.mail.yahoo.com/try_beta?.intl=ca
-------------------------------------------------------------------------
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