Also, just a supplemental note to what Neil already laid out there, you don't have to resolve those quotes in the case of pointing to a file, if you know how to set it up correctly...
Value='"[INSTALLDIR]runme.bat"' On the outside there is a single quote followed by a double quote, likewise on the backend a double quote followed by single quote. Say you wanted to pass in extra args to that bat file, I'll just make some up... Value='"[INSTALLDIR]runme.bat" /abc' Point being, double quotes go around the file-path and the Value attribute is actually surrounded by singles instead of doubles in this case, just a nifty little thing to know I think. On Tue, Aug 26, 2008 at 5:03 PM, Neil Sleightholm <[EMAIL PROTECTED]>wrote: > The problem is that the Property/@Value does not except formatted values > (i.e. [INSTALLDIR]), you need another custom action to setup the > property for the CAQuietExec. There is an example in the help file, > "Quiet Execution Custom Action", "Deferred execution" second example. > > Neil > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Krzysztof > Kozmic > Sent: 26 August 2008 21:03 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Need help with QtExec > > Hi > > I want to run with QtExec a .bat file that is installed to target > folder. > I use the template from help file > > <Property Id="QtExecCmdLine" Value="'[INSTALLDIR]runme.bat'"/> > <CustomAction Id="QtExecExample" BinaryKey="WixCA" > DllEntry="CAQuietExec" Execute="immediate" Return="check"/> > <InstallExecuteSequence> > <Custom Action="QtExecExample" After="CopyFilesOrHoweverItsCalled"/> > </InstallExecuteSequence> > > > However it fails. The [INSTALLDIR] reference is not interpreted but used > literally. What do I do wrong? > I know that this is the issue, because when I hardcode the path, it > works. > > Thanks, > > Krzysztof > > > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users