Hi All


In the follow wxs, I want the SFSConfigFileEditor.exe get configurator.xml (the 
first parameter) from the current directory where msi file gets launched. 
Something like 'ExeCommand= CurrentDirectory & "configurator.xml ...



How to get that current directory inside wxs?



<File Id="ConfiguratorEXE" Name="SFSCo~1.exe" 
LongName="SFSConfigFileEditor.exe" Source=".\SFSConfigFileEditor.exe" 
DiskId="1"/>



<CustomAction Id="LaunchConfigurationExecutable" FileKey="ConfiguratorEXE" 
ExeCommand="configurator.xml &quot;[SFSENVIRONMENT]&quot;" Return="asyncWait"/>


Thanks
Jirong Hu
Build Master
780-644-5488


This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal, and or privileged 
information. Please contact us immediately if you are not the intended 
recipient of this communication, and do not copy, distribute, or take action 
relying on it. Any communication received in error, or subsequent reply, should 
be deleted or destroyed.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to