Hello group -
I'm still a NOOB and I'm trying to start a service conditionally after
everyting is installed, and I modified the "ExitDialog" for WiX to show a
check box which sets the value for LAUNCHAPPONEXIT to 1 if the user checked
the checkbox.
This almost works, except I get this message in the msi log when executing
the setup, which causes the setup to fail:
CAQuietExec: The service name is invalid.
CAQuietExec:
CAQuietExec: More help is available by typing NET HELPMSG 2185.
CAQuietExec:
CAQuietExec: Error 0x80070002: Command line returned an error.
CAQuietExec: Error 0x80070002: CAQuietExec Failed
I'm sure that the service name is ok, so maybe it isn't "known" at this
point in the install process?
Here's to code that executes that:
<Property Id="QtExecDeferred" Value=""Net" start
"MyService""/>
<CustomAction Id="QtExecDeferred" BinaryKey="WixCA"
DllEntry="CAQuietExec" Execute="deferred" Return="check" />
<InstallExecuteSequence>
<Custom After="InstallInitialize"
Action="QtExecDeferred">LAUNCHAPPONEXIT</Custom>
</InstallExecuteSequence>
As usual, any help is greatly appreciated.
Thanks, GAP
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Starting-a-service-conditionally-after-InstallInitialize-tp5135712p5135712.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users