That should work. Unfortunately, the error message is the generic error
message the Windows Installer provides when anything goes wrong starting up
your service. Trying debugging the start up of your service while the
Windows Installer error message is up. You might find the issue.

PS: NetworkService is just a lesser version of LocalSystem. That might be
the root of you issues. <smile/>

On Mon, Jul 16, 2012 at 10:08 AM, Senthil Chandran
<[email protected]>wrote:

> Hi,
> I created a WIX project to install a service, I am using the Account =
> "LocalSystem"
> <ServiceInstall Id="ServiceInstaller" Type="ownProcess" Vital="yes"
> Name="IPTestingTool.ServerAgent" DisplayName="IPTestingTool.ServerAgent"
> Description="ServerAgent for IPTestingTool" Start="auto"
> Account="LocalSystem" ErrorControl="ignore" Interactive="no"
> Arguments="[INSTALLDIR] [LABNAME]">
>                 <util:ServiceConfig FirstFailureActionType="restart"
> SecondFailureActionType="restart" ThirdFailureActionType="restart"/>
> </ServiceInstall>
>
> My service not able to do all it needs to do running as LocalSystem, how
> do I install service as Network Service in WIX set up project?
> Using Account="NetworkService" or Account="NT AUTHORITY\NetworkService"
> does not install the service and throws error that I don't have enough
> privileges, I was running the installer as Admin.
>
> Any pointers is really appreciated, I was not able to find any
> documentation online.
>
> Thanks,
> Senthil.
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually,

   Rob Mensching
   http://RobMensching.com LLC
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to