Hi Bob, thanks for your reply.  I am not installing anything into the GAC, and 
I tried scheduling my start services CA for right before InstallFinalize.

<InstallExecuteSequence>
      <StartServices Sequence='6510'></StartServices>
</InstallExecuteSequence>

But I am still getting the error.
This is what my service looks like:

  <Component Id="agpmEXEComponent" DiskId="1" 
Guid="{5A13C065-C402-4cc0-8336-FFB6D7CCF0F8}" Location='local'>
        <File Id="AgpmEXE" Name="Agpm.exe" src="$(var.BINDIR)\Agpm.exe" 
Vital="yes" KeyPath="yes" />
        <ServiceControl Id="AgpmEXE" Name="AgpmEXEInstall" Stop="uninstall"  
Remove="uninstall" Start="install" />
        <ServiceInstall Id="AgpmEXE" Name="Agpm Service" Start="auto"  
ErrorControl="normal"  Type="ownProcess"
                               Description="Advanced Group Policy Management 
Service" Account="[DS_NET_API_LOGON_USERNAME]"
                                Password="[IS_NET_API_LOGON_PASSWORD]" />
        <Registry Root="HKLM" Key="Software\Microsoft\Agpm" Type="string" 
Name="ArchiveOwner" Value="[SID]" />
  </Component>

Any other ideas would be very appreciated.

Thanks!
Lindsay Harris

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 8:07 AM
To: Lindsay Harris
Cc: wix-users@lists.sourceforge.net; Bryan Garretson; Reid Gustin; Rajive Kumar
Subject: Re: [WiX-users] starting service on install

Lindsay Harris wrote:
I have a service I am installing (that part is working fine), but when I try to 
start it on install I am getting a "Error 1920. Service 'AgpmEXEInstall' 
(AgpmEXEInstall) failed to start.  Verify that you have sufficient privileges 
to start system services." error.  However when I start it manually after 
install it starts up fine.

That is frequently caused by the service executable having dependencies that 
aren't satisfied by the time during the installation that StartServices is run. 
For example, is the service managed and dependent on assemblies installed to 
the GAC? That won't work, as GAC'd assemblies are committed very late in the 
install.



--

sig://boB

http://bobs.org
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to