Peter,
I've just upgraded the Win2k3 Server to SP2, and there was something I
missed to notice yesterday.
First of all yesterday I thought the Windows Installer service might not
have had the required privileges, so I simply tried to change the
account under which the service was run to Administrator in the SCM. At this
time a dialog picked up telling that "Administrator has been granted the Log
On As Service right" or something similar. Today, after installing SP2 the
situation was quite similar.
I failed again to run the MSI since the service installation failed due to
insufficient rights. So I tried again to see whether the Admin user has the
privileges, gone to the SCM and assigned this account to the WinInstaller
service, and the dialog picked up again, so the right was granted again. And
after that (no matter who is running the service), the installation
succeeded. So it seems to work fine here again (with a fully qualified
domain user name), on SP2, too.
I used to think Administrator users have each and every right - wrong...
2007/9/26, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
>
> Hi All,
>
> Thanks for all the advice, I have already given the administrator
> account and the account I am trying to run the service under "Log on as
> a service" rights and I am still seeing the same error even after
> rebooting to make sure that policies are refreshed.
>
> Is there anything else that anyone can think of that might not be a
> default permission under W2003 Server SP2 that I might need to set.
>
> Thanks in advance
>
>
> Pete Yates
> Senior Systems Developer
> DDC - Distributed & Components Team
> HBOS I&I IT
> B3D/22
> (7700) 22069 / (01275) 552069
> [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: 25 September 2007 17:16
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Running Service under a User Account
>
> I think you mean the "log on as a service" right, slight difference.
>
> Phil Wilson
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Rob
> Hamflett
> Sent: Tuesday, September 25, 2007 7:58 AM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Running Service under a User Account
>
> Administrator doesn't have the 'start a service' right by default.
> You'll need to add it. The
> reason you can control a service from the Services panel is that the
> right is added for you silently the first time you open that panel.
>
> Rob
>
> [EMAIL PROTECTED] wrote:
> > Hi all,
> >
> > I have a component that installs an exe and registers it as a service.
> >
> > The problem I have is as soon as I add a user account to run under, it
>
> > fails with a generic "Error 1923. Service 'BATCHCONTROLLER1'
> > (batchserviceamtbatchcontroller_exe) could not be installed. Verify
> > that you have sufficient privileges to install system services."
> error.
> >
> > I am pretty sure the problem ISN'T privileges as both the account I am
>
> > logged on as, and the account I am wanting to run the service under
> are
> > in the administrators group on the machine (A Virtual PC running
> Windows
> > 2003 Server SP2)
> >
> > The XML is as follows and works perfectly without the Account and
> > Password options, but as soon as I add them it errors.
> >
> > <DirectoryRef Id="batchservice">
> > <Component Id="batchserviceamtbatchcontroller_exe"
> > Guid="7E9DACCD-F3E4-46A3-884D-6065C2199255" DiskId="1">
> > <File Id="BatchServiceAmtBatchController_exe"
> > LongName="AmtBatchController.exe" Name="AMTBAT~1.EXE"
> > src="$(var.buildpath)\BatchService\AmtBatchController.exe"
> KeyPath="yes" />
> > <ServiceInstall Id='BatchControllerServiceInstall'
> > DisplayName='BATCHCONTROLLER1'
> Name='batchserviceamtbatchcontroller_exe'
> > ErrorControl='normal' Start='auto' Type='ownProcess' Vital='yes'
> > Account="ServiceUser" Password="password1"/>
> > <ServiceControl Id='BatchControllerServiceControl'
> > Name='batchserviceamtbatchcontroller_exe' Stop='both'
> Remove='uninstall'
> > Wait='yes' />
> > </Component>
> > </DirectoryRef>
> >
> > Am I overlooking something obvious?
> >
> >
> >
> >
> > */Pete Yates
> > Senior Systems Developer/*
> > DDC - Distributed & Components Team
> > HBOS I&I IT
> > B3D/22
> > (7700) 22069 / (01275) 552069
> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> >
> >
> > .
> >
> ------------------------------------------------------------------------
> --------------------------------------------
> >
> > HBOS plc, Registered in Scotland No. SC218813. Registered Office: The
> Mound, Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of
> which are authorised and regulated by the Financial Services Authority.
> >
> ========================================================================
> ======
> >
> >
> >
> ------------------------------------------------------------------------
> >
> >
> ------------------------------------------------------------------------
> -
> > This SF.net email is sponsored by: Microsoft Defy all challenges.
> > Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by: Microsoft Defy all challenges.
> Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by: Microsoft Defy all challenges.
> Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> .
>
> ----------------------------------------------------------------------------------------------------------------------
>
> HBOS plc, Registered in Scotland No. SC218813. Registered Office: The
> Mound, Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of
> which are authorised and regulated by the Financial Services Authority.
>
> ==============================================================================
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users