You can't have the Property and Value attributes in the executing call.  You 
need to separate them per the example in the Wix.chm (look under "Standard 
Custom Actions):

<Property Id="QtExecCmdLine" Value="command line to run"/>
<CustomAction Id="QtExecExample" BinaryKey="WixCA" DllEntry="CAQuietExec" 
Execute="immediate" Return="check"/>
.
.
.
<InstallExecuteSequence>
    <Custom Action="QtExecExample" After="TheActionYouWantItAfter"/>
</InstallExecuteSequence>

You can use an appropriately scheduled <SetProperty> element instead of the 
static <Property> element above.

Note that an immediate call is only appropriate if the the executable call is 
not changing the state of the machine.

--
John Merryweather Cooper
Build & Install Engineer - ESA
Jack Henry & Associates, Inc.®
Shawnee Mission, KS  66227
Office:  913-341-3434 x791011
jocoo...@jackhenry.com
www.jackhenry.com





-----Original Message-----
From: Marek Mielcarek [mailto:mmielca...@actuate.com] 
Sent: Friday, January 3, 2014 1:20 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] multiple immediate Quiet Execution custom actions

I need to invoke Quiet Execution Custom Action multiple times in the immediate 
sequence. There is a web 
help<http://wixtoolset.org/documentation/manual/v3/customactions/qtexec.html> 
content available but no examples.
I tried this:

<CustomAction Id="CA_QtExec1" Property="QtExecCmdLine" Value="some command 
line" DllEntry="CAQuietExec" Execute="immediate" Return="ignore"/> 
<CustomAction Id="CA_QtExec2" Property="QtExecCmdLine" Value="another command 
line" DllEntry="CAQuietExec" Execute="immediate" Return="ignore"/>

WiX compiler fails with "The CustomAction/@DllEntry attribute cannot coexist 
with a previously specified attribute on this element.  The CustomAction 
element may only have one of the following target attributes specified at a 
time: DllEntry, Error, ExeCommand, JScriptCall, Script, Value, or VBScriptCall."

I am obviously missing something. Can someone please provide the right way of 
getting this working ?
Thanks a lot.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance affects 
their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & 
PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to