I have used the ServiceControl element as below:
<ServiceControl Id='ADService' Name='XYZ AdminConsole' Start='both'
Stop='uninstall'/>
I have logged on as Administrator and "XYZ AdminConsole" is running.
Now if I run my MSI package, it is failing and showing: Service 'XYZ
AdminConsole'(XYZ AdminConsole) failed to start. Verify that you have
sufficient preveledges to start system services.
Do you have any idea about?
Thanks!
Richard-45 wrote:
>
>
> In article <[EMAIL PROTECTED]>,
> shapla <[EMAIL PROTECTED]> writes:
>
>> 1. Restart this service after installing my MSI
>> 2. My MSI will remove some files during uninstall and I want to:
>> 2.1 Stop this service before removing the files and
>> 2.2 Start it again after removing the files.
>>
>> How can I do this? Please let me know if you have any idea.
>
> Look at the ServiceControl element.
> --
> "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
> <http://www.xmission.com/~legalize/book/download/index.html>
>
> Legalize Adulthood! <http://blogs.xmission.com/legalize/>
>
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
--
View this message in context:
http://www.nabble.com/start-and-stop-services-tf4715721.html#a13494802
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users