If the service literally starts and stops without following the proper
service protocols, then Winmdows will give you that message about "Some
services stop....". It means that your service didn't do anything. If it
looks for some resource and exits if it can't find it, then that's the
issue. 
The "insufficient privilege" message is a bogus generic message. 

This doesn't look like a WiX issue at all. It's an issue with the code in
your service. You need to trace the execution path. 
Phil 
=========================================
I can install my service but can't start it after installing. It tells
"Service failed to start. Verify that you have sufficient privileges to
start system services". But I run my installer as admin (Windows 7 Pro) and
also disable UAC. Further more I can install and run the service with
instalutil.exe through command prompt (my service project includes
realization of Installer class and in general is maked up according this
article), and all works fine with the service in that case.

If I replace Wait="yes" of the ServiceControl element to "no" the service
installs without errors but not starts. I also can't start the service
manually in that case because the service starts and immediately stops with
message "service on Local Computer started and then stopped. Some services
stop automatically if they have no work to do".

I searched about this problem in Internet but find no solutions.

How to fix it? 

-----Original Message-----
From: alex376 [mailto:asd734jcv9d...@yandex.ru] 
Sent: Friday, September 14, 2012 2:09 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to solve problem with failed to start service
because of unsufficient privileges?

No. My question is here
http://stackoverflow.com/questions/12370634/cant-start-windows-service-with-
wix
.



--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-solve-p
roblem-with-failed-to-start-service-because-of-unsufficient-privileges-tp758
0446p7580514.html
Sent from the wix-users mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to