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

Reply via email to