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="&apos;[INSTALLDIR]runme.bat&apos;"/>
<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

Reply via email to