Sorry should have been more descriptive, since you are using Network Service as the Account... Network Service requires a password, most likely your windows logon credentials password... So add to the ServiceInstall element Password="<some password>" that should work
You also might want to add the ServiceControl element i.e.: <ServiceControl Id="StartYourService" Name=="$(var.serviceName)" Start="install" Stop="uninstall" Remove="uninstall" Wait="no" /> -----Original Message----- From: Steven Ogilvie Sent: November-01-12 5:26 PM To: 'General discussion for Windows Installer XML toolset.' Subject: RE: Starting a service as Network Service 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 ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users