Yes, but that should give me an error "Service Failed to start." <util:User Id="ServiceUser" Name="[SERVICE_USERNAME]" Domain="[SERVICE_DOMAIN]" CreateUser="no" LogonAsService="yes" />
-----Original Message----- From: cemiles [mailto:chad.mi...@gmail.com] Sent: Friday, February 27, 2009 11:06 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Installing Windows WCF Service Did you check to make sure your account has "log on as a service" rights? Pierson Lee (PIE) wrote: > > I have created a WiX 3.0 (Windows Installer XML Toolset, Version > 3.0.4526.0) installer to install a Windows WCF Service. When I install the > service under a domain account (my credentials) I get the following > failure: > > Product: IDSService -- Error 1923. Service 'IDSService' (IDSService) could > not be installed. Verify that you have sufficient privileges to install > system services. > > But when I run the service under "NT Authority/Network Service" it > installs just fine. I have administrator access on the box I'm installing > to and I have set the user account to have Logon As Service rights (using > the <user/> component in WiX). The verbose logs aren't providing any more > information. > > Does anyone know why this would be the case? > > Thanks > Pierson > > <ServiceInstall Id="IDSService_ServiceHostInstall" Name="IDSService" > DisplayName="IDSService" Type="ownProcess" Start="auto" > ErrorControl="critical" Account="NT AUTHORITY\NETWORK SERVICE"/> > <ServiceControl Id="ServiceHostControl_IDSService" Name="IDSService" > Start="install" Stop="uninstall" Remove="uninstall" Wait="no" /> > > Vs > <ServiceInstall Id="IDSService_ServiceHostInstall" Name="IDSService" > DisplayName="IDSService" Type="ownProcess" Start="auto" > ErrorControl="critical" Account="[SERVICE_USERNAME]" > Password="[SERVICE_PASSWORD]"/> > <ServiceControl Id="ServiceHostControl_IDSService" Name="IDSService" > Start="install" Stop="uninstall" Remove="uninstall" Wait="no" /> > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/Installing-Windows-WCF-Service-tp2397435p2397522.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users