I have no idea why MSDN makes it so difficult to find stuff: http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx
Jirong Hu wrote: > I am new to MSI so don't understand. I've googled also couldn't find > something like "MSI SDK Formatted". Can you please give me more information? > > Thanks > Jirong > > > -----Original Message----- > From: Rob Mensching [mailto:[email protected]] > Sent: Wednesday, June 10, 2009 4:41 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] How to get the current directory of msi is running > from? > > I'd use the Formatted syntax that refers to File/@Ids. See the MSI SDK > Formatted topic for more details. > > Jirong Hu wrote: > >> 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 "[SFSENVIRONMENT]"" >> 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 >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > > ------------------------------------------------------------------------------ > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users > > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

