The error message you receive implies that the service was installed but
failed to start.
Once getting this error (before canceling the installation or anything
else), if you go to Windows Service Manager, can you start the service
manually, right there in that minute?

I use Wix to install and start many services with my installation. I've
learned that I get errors like these only when there's a real error not
related to Wix. I was never able to manually start something Wix
couldn't...

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Graham
Vickrage
Sent: Wednesday, January 02, 2008 8:42 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem Starting service on XP

I am trying to install and start a service but its coming back with.
Error msg: Verify that you have sufficient priveleges to start system 
services. I am running the msi file as an administrator.

I can install / start the service manually but not via wix, has anyone 
seen this before and do they have sample code?

Much appreciated.

Graham

Code:

            <Component Id='ServiceExeComponent' 
Guid='6ca52ece-6346-4bbf-ae10-248cc3ab74c4'
              SharedDllRefCount='no' KeyPath='no' NeverOverwrite='no' 
Permanent='no' Transitive='no'
              Win64='no' Location='either'>

              <File Id='ServiceExeFile' Name='Call Manager Service.exe'

DiskId='1'
                Source='Call Manager Service.exe' ReadOnly='no' 
KeyPath='yes' Vital='yes' Hidden='no' System='no'
                Checksum='no' />

              <ServiceInstall Id='CMServiceInstall' DisplayName='Call 
Manager Service' Name='Call Manager Service'
                ErrorControl='normal' Start='auto' Type='ownProcess' 
Vital='yes' Interactive="no" />

              <ServiceControl Id='CMServiceControl' Name='Call Manager 
Service'
                Start='install' Stop='both' Remove='uninstall'
Wait='yes' />
            </Component>



------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to