Forgot to add the actual error message:

MSI (s) (94:DC) [13:56:49:040]: Product: Foo bar Agent (x64) -- Error 1923. 
Service 'Foo bar Agent' (foobarAgent) could not be installed. Verify that you 
have sufficient privileges to install system services.

From: Radhika Gupta
Sent: Thursday, November 01, 2012 2:19 PM
To: General discussion for Windows Installer XML toolset.
Subject: Starting a service as Network Service

I am trying to start a service as "Network Service" and getting a "access 
denied" error. I can start the same service as "Local System". Am I missing 
something basic here?



         <ServiceInstall Id="VMAgentServiceInstall" 
DisplayName="!(loc.ServiceDisplayName)" Name="$(var.serviceName)" 
Description="!(loc.ServiceDescription)" Interactive="no" ErrorControl="normal" 
Start="auto" Type="ownProcess" Account="NT AUTHORITY/NETWORK SERVICE" 
Vital="yes">
                <util:ServiceConfig FirstFailureActionType="restart" 
SecondFailureActionType="restart" ThirdFailureActionType="none" 
ResetPeriodInDays="1" RestartServiceDelayInSeconds="120"/>
                <ServiceDependency Id="WINRM" />
                <ServiceDependency Id="BITS" />
                <ServiceDependency Id="WINMGMT" />
              </ServiceInstall>

Thanks,
-Radhika
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to