Hi,

I want to add to my previous email that if I run the installation using:  
">msiexec /i MySetup.msi TARGETDIR=e:\" it does installs what I need under e 
drive.
However, my goal is to run the setup without passing any parameters - simply to 
double click on the msi file.

Thanks,
Ravit
________________________________
From: Ravit Shapira
Sent: Tuesday, July 24, 2007 11:38 PM
To: 'wix-users@lists.sourceforge.net'
Subject: How to change TARGETDIR to e drive

 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>

I ran the installation using msiexec and created a log file. I looked for the 
action: AssignEDir2INSTALLDIR and it says that it is skipped due to false 
condition.


 1.  Do you have an explanation why the condition is false? I do have e drive 
in the computer that I use.
 2.  How can I fix this problem? All I need is to change the default value of 
TARGETDIR from c:\ to e:\


Thank you in advance,
Ravit


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