You could try using the quiet exec custom action to run "sc start 
<ServiceName>".

Run

Peter Bergmann wrote:
> nope ... that did not work.
> If I force StartServices directly after install finalize either using orca or 
> using "Sequence=..." the install process terminats with error code 2762 in 
> the very end ... whatever that means ...
> 
> 
> -------- Original-Nachricht --------
>> Datum: Thu, 11 Oct 2007 13:08:55 +0200
>> Von: "János Brezniczky" <[EMAIL PROTECTED]>
>> An: "Peter Bergmann" <[EMAIL PROTECTED]>
>> CC: wix-users@lists.sourceforge.net
>> Betreff: Re: [WiX-users] Starting service after InstallFinalze
> 
>> Sounds evident, if I'm not wrong... the answer is in your letter.
>> Have you tried sequencing it with installexecutesequence (and
>> adminexecutesequence)?
>> I mean adding
>> <InstallExecuteSequence>
>>   <StartServices Sequence="enter_a_sequence_number_big_enough_here" />
>> </InstallExecuteSequence>
>>
>> It should work as an override.
>> A typical value for enter_a_sequence_number_big_enough_here could be
>> anything > 6600, e.g. 6700 should be fine, since InstallFinalize typically
>> has a default sequence of 6600. This latter value can be checked using
>> Orca.
>>
>>
>> 2007/10/11, Peter Bergmann <[EMAIL PROTECTED]>:
>>> I'm writing an installer that installs a service which depends on the
>>> VC2005 runtime libraries. I'm including the runtime's .msm files using
>>> <Merge> and <MergeRef> which works just fine.
>>> However at the time when the StartServices action gets triggered the SxS
>>> stuff obviously is not yet in place and my service fails to start.
>>>
>>> The only solution I came up with is to not start the service during
>>> install and ScheduleReboot after InstallFinalize. After the reboot the
>>> service starts fine automatically. But a reboot is not acceptable for
>> this
>>> product :(
>>>
>>> Is there a way to schedule the StartServices action after
>> InstallFinalize
>>> ?
>>>
>>> If not - Could I include the vcredist_x86.exe binary into my installer
>> and
>>> run it automatically first ? How would I do that?
>>>
>>> Many Thanks for any hints!
>>>
>>> Cheers,
>>> Peter
>>>
>>> --
>>> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
>>> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
>>>
>>>
>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Splunk Inc.
>>> Still grepping through log files to find problems?  Stop.
>>> Now Search log events and configuration files using AJAX and a browser.
>>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>>> _______________________________________________
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to