You are missing the password for the ServiceInstall

-----Original Message-----
From: Radhika Gupta [mailto:radhika.gu...@microsoft.com] 
Sent: November-01-12 5:20 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] 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

------------------------------------------------------------------------------
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