Re: [WiX-users] Installing service using domain account

2013-01-18 Thread David Watson
You've not got InstallScope="perUser" have you?

You'll need to be a permachine install to install services.


-Original Message-
From: Albert van Peppen [mailto:alb...@insad.nl] 
Sent: 18 January 2013 14:50
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Did you tried setting the account of the running the Windows Installer
service a domain user who also has local installation rights (local admin
rights will do :))?

This might not be the answer you're looking for but it may give you a clue ;)

Albert

-Oorspronkelijk bericht-
Van: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Verzonden: 18 January 2013 10:52
Aan: General discussion for Windows Installer XML toolset.
Onderwerp: Re: [WiX-users] Installing service using domain account

Using an elevated command prompt the service installs fine, I did add
InstallPrivileges="elevated" and removed  but with no luck still :(

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 17 January 2013 04:03 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Thank you Mr Rob :)

I'm now a step ahead

I'm using an embedded UI to implement installing multiple instances of the
service. So had to handle the message box in myself in the IEmbeddedUI
derived class.

Now I'm getting:

[SC] OpenSCManager FAILED 5:

Access is denied.

When installing the service using sc  using a non-administrator command
prompt window .

Now I just need to figure out why my MSI is not getting elevated eusven
though I have the 
property in the WIX.

Thanks allot.

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: 16 January 2013 05:04 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

My favorite way to debug this is:

1. Install the MSI with full UI.
2. When the "You do not have privileges" error pops up when installing the
service, leave it there.
3. Use sc.exe to dig around/create the service/etc using the files that are
installed.
4. Usually I find that a dll is not installed in the correct place or the
username password isn't right.

Basically, the Windows Installer doesn't provide useful information in the
error message so you have to try to install the service yourself in the
context of the installed files and see what better error messages come up.


On Wed, Jan 16, 2013 at 4:51 AM, Albert van Peppen  wrote:

> I guess the windows installer service has no rights on the domain as 
> it is run as a local only service (local system account).
> I think you need some form of impersonification to use a domain user 
> or another option might be to run the windows installer service on an 
> account which has domain access (Add a Installer account to the active 
> directory which has system access to machines and add a domain policy 
> so all machines run the windows installer service with this account).
>
> Just my thoughts :)
>
> Best regards,
>
> Albert van Peppen
> Senior System Engineer
>
> -Oorspronkelijk bericht-
> Van: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
> Verzonden: 16 January 2013 13:13
> Aan: General discussion for Windows Installer XML toolset.
> Onderwerp: Re: [WiX-users] Installing service using domain account
>
> No problem.
>
> The serviceaccount property should be in the format domain\user Check 
> the value in the property dump at the end of the verbose log. If the 
> format is wrong, it will issue that error.
>
> If you set start="demand", the service won't run at install time.
>
> -Original Message-
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: 16 January 2013 12:00
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> I did try to install the service without starting it after install, 
> but could not figure out how the ServiceInstaller's properties should work?
>
> -----Original Message-----
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: 16 January 2013 01:44 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> The only (not) usefull thing in the log file is
>
> Error 1923. Service 'ServiceName' (ServiceName) could not be installed.
> Verify that you have sufficient privileges to install system services.
> MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923.
> Service 'ServiceName' (ServiceName) could not be installed

Re: [WiX-users] Installing service using domain account

2013-01-18 Thread Albert van Peppen
Did you tried setting the account of the running the Windows Installer service 
a domain user who also has local installation rights (local admin rights will 
do :))?

This might not be the answer you're looking for but it may give you a clue ;)

Albert

-Oorspronkelijk bericht-
Van: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com] 
Verzonden: 18 January 2013 10:52
Aan: General discussion for Windows Installer XML toolset.
Onderwerp: Re: [WiX-users] Installing service using domain account

Using an elevated command prompt the service installs fine, I did add 
InstallPrivileges="elevated" and removed  but with no luck still :(

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 17 January 2013 04:03 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Thank you Mr Rob :)

I'm now a step ahead

I'm using an embedded UI to implement installing multiple instances of the 
service. So had to handle the message box in myself in the IEmbeddedUI derived 
class.

Now I'm getting:

[SC] OpenSCManager FAILED 5:

Access is denied.

When installing the service using sc  using a non-administrator command prompt 
window .

Now I just need to figure out why my MSI is not getting elevated eusven though 
I have the  property in the 
WIX.

Thanks allot.

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: 16 January 2013 05:04 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

My favorite way to debug this is:

1. Install the MSI with full UI.
2. When the "You do not have privileges" error pops up when installing the 
service, leave it there.
3. Use sc.exe to dig around/create the service/etc using the files that are 
installed.
4. Usually I find that a dll is not installed in the correct place or the 
username password isn't right.

Basically, the Windows Installer doesn't provide useful information in the 
error message so you have to try to install the service yourself in the context 
of the installed files and see what better error messages come up.


On Wed, Jan 16, 2013 at 4:51 AM, Albert van Peppen  wrote:

> I guess the windows installer service has no rights on the domain as 
> it is run as a local only service (local system account).
> I think you need some form of impersonification to use a domain user 
> or another option might be to run the windows installer service on an 
> account which has domain access (Add a Installer account to the active 
> directory which has system access to machines and add a domain policy 
> so all machines run the windows installer service with this account).
>
> Just my thoughts :)
>
> Best regards,
>
> Albert van Peppen
> Senior System Engineer
>
> -Oorspronkelijk bericht-
> Van: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
> Verzonden: 16 January 2013 13:13
> Aan: General discussion for Windows Installer XML toolset.
> Onderwerp: Re: [WiX-users] Installing service using domain account
>
> No problem.
>
> The serviceaccount property should be in the format domain\user Check 
> the value in the property dump at the end of the verbose log. If the 
> format is wrong, it will issue that error.
>
> If you set start="demand", the service won't run at install time.
>
> -Original Message-
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: 16 January 2013 12:00
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> I did try to install the service without starting it after install, 
> but could not figure out how the ServiceInstaller's properties should work?
>
> -Original Message-----
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: 16 January 2013 01:44 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> The only (not) usefull thing in the log file is
>
> Error 1923. Service 'ServiceName' (ServiceName) could not be installed.
> Verify that you have sufficient privileges to install system services.
> MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923.
> Service 'ServiceName' (ServiceName) could not be installed.  Verify 
> that you have sufficient privileges to install system services.
>
> Thanks for the help :)
>
> -Original Message-
> From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
> Sent: 16 January 2013 01:38 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Install

Re: [WiX-users] Installing service using domain account

2013-01-18 Thread Christoffel le Roux
Using an elevated command prompt the service installs fine, I did add 
InstallPrivileges="elevated" and removed  but with no luck still :(

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 17 January 2013 04:03 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Thank you Mr Rob :)

I'm now a step ahead

I'm using an embedded UI to implement installing multiple instances of the 
service. So had to handle the message box in myself in the IEmbeddedUI derived 
class.

Now I'm getting:

[SC] OpenSCManager FAILED 5:

Access is denied.

When installing the service using sc  using a non-administrator command prompt 
window .

Now I just need to figure out why my MSI is not getting elevated eusven though 
I have the  property in the 
WIX.

Thanks allot.

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: 16 January 2013 05:04 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

My favorite way to debug this is:

1. Install the MSI with full UI.
2. When the "You do not have privileges" error pops up when installing the 
service, leave it there.
3. Use sc.exe to dig around/create the service/etc using the files that are 
installed.
4. Usually I find that a dll is not installed in the correct place or the 
username password isn't right.

Basically, the Windows Installer doesn't provide useful information in the 
error message so you have to try to install the service yourself in the context 
of the installed files and see what better error messages come up.


On Wed, Jan 16, 2013 at 4:51 AM, Albert van Peppen  wrote:

> I guess the windows installer service has no rights on the domain as
> it is run as a local only service (local system account).
> I think you need some form of impersonification to use a domain user
> or another option might be to run the windows installer service on an
> account which has domain access (Add a Installer account to the active
> directory which has system access to machines and add a domain policy
> so all machines run the windows installer service with this account).
>
> Just my thoughts :)
>
> Best regards,
>
> Albert van Peppen
> Senior System Engineer
>
> -Oorspronkelijk bericht-
> Van: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
> Verzonden: 16 January 2013 13:13
> Aan: General discussion for Windows Installer XML toolset.
> Onderwerp: Re: [WiX-users] Installing service using domain account
>
> No problem.
>
> The serviceaccount property should be in the format domain\user Check
> the value in the property dump at the end of the verbose log. If the
> format is wrong, it will issue that error.
>
> If you set start="demand", the service won't run at install time.
>
> -Original Message-
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: 16 January 2013 12:00
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> I did try to install the service without starting it after install,
> but could not figure out how the ServiceInstaller's properties should work?
>
> -Original Message-----
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: 16 January 2013 01:44 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> The only (not) usefull thing in the log file is
>
> Error 1923. Service 'ServiceName' (ServiceName) could not be installed.
> Verify that you have sufficient privileges to install system services.
> MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923.
> Service 'ServiceName' (ServiceName) could not be installed.  Verify
> that you have sufficient privileges to install system services.
>
> Thanks for the help :)
>
> -Original Message-
> From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
> Sent: 16 January 2013 01:38 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> Are there any clues in a verbose log ?
>
> -Original Message-
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: 16 January 2013 11:30
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> I just added a custom installer class to test if the service will
> install using InstallUtil, I't doesn't do anything special like custom 
> act

Re: [WiX-users] Installing service using domain account

2013-01-17 Thread Christoffel le Roux
Thank you Mr Rob :)

I'm now a step ahead

I'm using an embedded UI to implement installing multiple instances of the 
service. So had to handle the message box in myself in the IEmbeddedUI derived 
class.

Now I'm getting:

[SC] OpenSCManager FAILED 5:

Access is denied.

When installing the service using sc  using a non-administrator command prompt 
window .

Now I just need to figure out why my MSI is not getting elevated even though I 
have the  property in the 
WIX.

Thanks allot.

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com]
Sent: 16 January 2013 05:04 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

My favorite way to debug this is:

1. Install the MSI with full UI.
2. When the "You do not have privileges" error pops up when installing the 
service, leave it there.
3. Use sc.exe to dig around/create the service/etc using the files that are 
installed.
4. Usually I find that a dll is not installed in the correct place or the 
username password isn't right.

Basically, the Windows Installer doesn't provide useful information in the 
error message so you have to try to install the service yourself in the context 
of the installed files and see what better error messages come up.


On Wed, Jan 16, 2013 at 4:51 AM, Albert van Peppen  wrote:

> I guess the windows installer service has no rights on the domain as
> it is run as a local only service (local system account).
> I think you need some form of impersonification to use a domain user
> or another option might be to run the windows installer service on an
> account which has domain access (Add a Installer account to the active
> directory which has system access to machines and add a domain policy
> so all machines run the windows installer service with this account).
>
> Just my thoughts :)
>
> Best regards,
>
> Albert van Peppen
> Senior System Engineer
>
> -Oorspronkelijk bericht-
> Van: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
> Verzonden: 16 January 2013 13:13
> Aan: General discussion for Windows Installer XML toolset.
> Onderwerp: Re: [WiX-users] Installing service using domain account
>
> No problem.
>
> The serviceaccount property should be in the format domain\user Check
> the value in the property dump at the end of the verbose log. If the
> format is wrong, it will issue that error.
>
> If you set start="demand", the service won't run at install time.
>
> -Original Message-
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: 16 January 2013 12:00
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> I did try to install the service without starting it after install,
> but could not figure out how the ServiceInstaller's properties should work?
>
> -Original Message-
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: 16 January 2013 01:44 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> The only (not) usefull thing in the log file is
>
> Error 1923. Service 'ServiceName' (ServiceName) could not be installed.
> Verify that you have sufficient privileges to install system services.
> MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923.
> Service 'ServiceName' (ServiceName) could not be installed.  Verify
> that you have sufficient privileges to install system services.
>
> Thanks for the help :)
>
> -----Original Message-
> From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
> Sent: 16 January 2013 01:38 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> Are there any clues in a verbose log ?
>
> -Original Message-
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: 16 January 2013 11:30
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> I just added a custom installer class to test if the service will
> install using InstallUtil, I't doesn't do anything special like custom 
> actions.
>
> -Original Message-
> From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
> Sent: 16 January 2013 01:26 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> What is installutil doing ? The installer won't run any install class code.
>
> -Original Message-
> Fr

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Rob Mensching
My favorite way to debug this is:

1. Install the MSI with full UI.
2. When the "You do not have privileges" error pops up when installing the
service, leave it there.
3. Use sc.exe to dig around/create the service/etc using the files that are
installed.
4. Usually I find that a dll is not installed in the correct place or the
username password isn't right.

Basically, the Windows Installer doesn't provide useful information in the
error message so you have to try to install the service yourself in the
context of the installed files and see what better error messages come up.


On Wed, Jan 16, 2013 at 4:51 AM, Albert van Peppen  wrote:

> I guess the windows installer service has no rights on the domain as it is
> run as a local only service (local system account).
> I think you need some form of impersonification to use a domain user or
> another option might be to run the windows installer service on an account
> which has domain access (Add a Installer account to the active directory
> which has system access to machines and add a domain policy so all machines
> run the windows installer service with this account).
>
> Just my thoughts :)
>
> Best regards,
>
> Albert van Peppen
> Senior System Engineer
>
> -Oorspronkelijk bericht-
> Van: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
> Verzonden: 16 January 2013 13:13
> Aan: General discussion for Windows Installer XML toolset.
> Onderwerp: Re: [WiX-users] Installing service using domain account
>
> No problem.
>
> The serviceaccount property should be in the format domain\user Check the
> value in the property dump at the end of the verbose log. If the format is
> wrong, it will issue that error.
>
> If you set start="demand", the service won't run at install time.
>
> -Original Message-
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: 16 January 2013 12:00
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> I did try to install the service without starting it after install, but
> could not figure out how the ServiceInstaller's properties should work?
>
> -Original Message-
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: 16 January 2013 01:44 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> The only (not) usefull thing in the log file is
>
> Error 1923. Service 'ServiceName' (ServiceName) could not be installed.
> Verify that you have sufficient privileges to install system services.
> MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923.
> Service 'ServiceName' (ServiceName) could not be installed.  Verify that
> you have sufficient privileges to install system services.
>
> Thanks for the help :)
>
> -----Original Message-
> From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
> Sent: 16 January 2013 01:38 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> Are there any clues in a verbose log ?
>
> -Original Message-
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: 16 January 2013 11:30
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> I just added a custom installer class to test if the service will install
> using InstallUtil, I't doesn't do anything special like custom actions.
>
> -Original Message-
> From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
> Sent: 16 January 2013 01:26 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> What is installutil doing ? The installer won't run any install class code.
>
> -Original Message-
> From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
> Sent: 16 January 2013 11:17
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I
> have no Idea why it's doing what it is.
>
> -Original Message-
> From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
> Sent: 16 January 2013 01:13 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing service using domain account
>
> It's usually a missing dependency dll. A useful troubleshooting step can
> be to take the set of fil

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Albert van Peppen
I guess the windows installer service has no rights on the domain as it is run 
as a local only service (local system account).
I think you need some form of impersonification to use a domain user or another 
option might be to run the windows installer service on an account which has 
domain access (Add a Installer account to the active directory which has system 
access to machines and add a domain policy so all machines run the windows 
installer service with this account).

Just my thoughts :)

Best regards,

Albert van Peppen
Senior System Engineer

-Oorspronkelijk bericht-
Van: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] 
Verzonden: 16 January 2013 13:13
Aan: General discussion for Windows Installer XML toolset.
Onderwerp: Re: [WiX-users] Installing service using domain account

No problem.

The serviceaccount property should be in the format domain\user Check the value 
in the property dump at the end of the verbose log. If the format is wrong, it 
will issue that error.

If you set start="demand", the service won't run at install time.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 12:00
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I did try to install the service without starting it after install, but could 
not figure out how the ServiceInstaller's properties should work?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 01:44 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

The only (not) usefull thing in the log file is

Error 1923. Service 'ServiceName' (ServiceName) could not be installed.
Verify that you have sufficient privileges to install system services.
MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923. Service 
'ServiceName' (ServiceName) could not be installed.  Verify that you have 
sufficient privileges to install system services.

Thanks for the help :)

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:38 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Are there any clues in a verbose log ?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:30
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I just added a custom installer class to test if the service will install using 
InstallUtil, I't doesn't do anything special like custom actions.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

What is installutil doing ? The installer won't run any install class code.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have 
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be to 
take the set of files and use sc.exe and the services control panel to try and 
install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and using 
an existing domain account as the service account.


 

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on 
MSDN The domain account is configured as "Log On As Service" in the local 
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system 
services.

According to what I could find out is that 1923 is a generic error for a number 
of things that can go wrong, but no list exist of the number of things to be 
able to eliminate the possibilities :)

Can anyone pl

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Peter Shirtcliffe
No problem.

The serviceaccount property should be in the format 
domain\user
Check the value in the property dump at the end of the verbose log. If the
format is wrong, it will issue that error.

If you set start="demand", the service won't run at install time.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com] 
Sent: 16 January 2013 12:00
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I did try to install the service without starting it after install, but could
not figure out how the ServiceInstaller's properties should work?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 01:44 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

The only (not) usefull thing in the log file is

Error 1923. Service 'ServiceName' (ServiceName) could not be installed.
Verify that you have sufficient privileges to install system services.
MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923. Service
'ServiceName' (ServiceName) could not be installed.  Verify that you have
sufficient privileges to install system services.

Thanks for the help :)

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:38 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Are there any clues in a verbose log ?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:30
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I just added a custom installer class to test if the service will install
using InstallUtil, I't doesn't do anything special like custom actions.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

What is installutil doing ? The installer won't run any install class code.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be
to take the set of files and use sc.exe and the services control panel to try
and install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and
using an existing domain account as the service account.


 

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on
MSDN The domain account is configured as "Log On As Service" in the local
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system
services.

According to what I could find out is that 1923 is a generic error for a
number of things that can go wrong, but no list exist of the number of things
to be able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is
addressed and may contain private, confidential, proprietary and/or
privileged material and may be subject to confidentiality agreements. Any
review, retransmission, dissemination, or any other use of or taking of any
action in reliance upon this information, by persons or entities other than
the intended recipient, is prohibited. If you received this in error, please
contact the sender and delete the material from all storage media.



FlowCentric is neither liable for proper, complete transmission of the
information contained in this communication, any delay in its receipt or that
the mail is virus-free.
-
-
Master Java

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Christoffel le Roux
Hi Perter, yes I had to remove some sensitive information,

If you install the service as local system and network service it works like 
peanut butter and jelly on toast :) just when using any existing Windows 
account it moans.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 02:01 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I'm assuming your installer is per-machine so it's not an elevation problem ?
You have "servicename"  in your error but "service1" in the code - is that just 
you editing before you post ?
Have you tried installing using the default service account (by omitting any 
account details) ?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:44
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

The only (not) usefull thing in the log file is

Error 1923. Service 'ServiceName' (ServiceName) could not be installed.
Verify that you have sufficient privileges to install system services.
MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923. Service 
'ServiceName' (ServiceName) could not be installed.  Verify that you have 
sufficient privileges to install system services.

Thanks for the help :)

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:38 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Are there any clues in a verbose log ?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:30
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I just added a custom installer class to test if the service will install using 
InstallUtil, I't doesn't do anything special like custom actions.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

What is installutil doing ? The installer won't run any install class code.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have 
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be to 
take the set of files and use sc.exe and the services control panel to try and 
install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and using 
an existing domain account as the service account.


 

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on 
MSDN The domain account is configured as "Log On As Service" in the local 
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system 
services.

According to what I could find out is that 1923 is a generic error for a number 
of things that can go wrong, but no list exist of the number of things to be 
able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media.



FlowCentric is neither liable for proper, complete transmission of the 
inform

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Peter Shirtcliffe
I'm assuming your installer is per-machine so it's not an elevation problem ?
You have "servicename"  in your error but "service1" in the code - is that
just you editing before you post ?
Have you tried installing using the default service account (by omitting any
account details) ?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com] 
Sent: 16 January 2013 11:44
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

The only (not) usefull thing in the log file is

Error 1923. Service 'ServiceName' (ServiceName) could not be installed.
Verify that you have sufficient privileges to install system services.
MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923. Service
'ServiceName' (ServiceName) could not be installed.  Verify that you have
sufficient privileges to install system services.

Thanks for the help :)

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:38 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Are there any clues in a verbose log ?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:30
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I just added a custom installer class to test if the service will install
using InstallUtil, I't doesn't do anything special like custom actions.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

What is installutil doing ? The installer won't run any install class code.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be
to take the set of files and use sc.exe and the services control panel to try
and install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and
using an existing domain account as the service account.


 

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on
MSDN The domain account is configured as "Log On As Service" in the local
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system
services.

According to what I could find out is that 1923 is a generic error for a
number of things that can go wrong, but no list exist of the number of things
to be able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is
addressed and may contain private, confidential, proprietary and/or
privileged material and may be subject to confidentiality agreements. Any
review, retransmission, dissemination, or any other use of or taking of any
action in reliance upon this information, by persons or entities other than
the intended recipient, is prohibited. If you received this in error, please
contact the sender and delete the material from all storage media.



FlowCentric is neither liable for proper, complete transmission of the
information contained in this communication, any delay in its receipt or that
the mail is virus-free.
-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourcefo

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Christoffel le Roux
I did try to install the service without starting it after install, but could 
not figure out how the ServiceInstaller's properties should work?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 01:44 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

The only (not) usefull thing in the log file is

Error 1923. Service 'ServiceName' (ServiceName) could not be installed.  Verify 
that you have sufficient privileges to install system services.
MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923. Service 
'ServiceName' (ServiceName) could not be installed.  Verify that you have 
sufficient privileges to install system services.

Thanks for the help :)

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:38 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Are there any clues in a verbose log ?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:30
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I just added a custom installer class to test if the service will install using 
InstallUtil, I't doesn't do anything special like custom actions.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

What is installutil doing ? The installer won't run any install class code.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have 
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be to 
take the set of files and use sc.exe and the services control panel to try and 
install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and using 
an existing domain account as the service account.


 

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on 
MSDN The domain account is configured as "Log On As Service" in the local 
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system 
services.

According to what I could find out is that 1923 is a generic error for a number 
of things that can go wrong, but no list exist of the number of things to be 
able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media.


FlowCentric is neither liable for proper, complete transmission of the 
information contained in this communication, any delay in its receipt or that 
the mail is virus-free.
-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and 
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipi

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Christoffel le Roux
The only (not) usefull thing in the log file is

Error 1923. Service 'ServiceName' (ServiceName) could not be installed.  Verify 
that you have sufficient privileges to install system services.
MSI (s) (AC:BC) [12:39:28:321]: Product: ProductName -- Error 1923. Service 
'ServiceName' (ServiceName) could not be installed.  Verify that you have 
sufficient privileges to install system services.

Thanks for the help :)

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:38 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Are there any clues in a verbose log ?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:30
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I just added a custom installer class to test if the service will install using 
InstallUtil, I't doesn't do anything special like custom actions.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

What is installutil doing ? The installer won't run any install class code.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have 
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be to 
take the set of files and use sc.exe and the services control panel to try and 
install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and using 
an existing domain account as the service account.


 

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on 
MSDN The domain account is configured as "Log On As Service" in the local 
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system 
services.

According to what I could find out is that 1923 is a generic error for a number 
of things that can go wrong, but no list exist of the number of things to be 
able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media.


FlowCentric is neither liable for proper, complete transmission of the 
information contained in this communication, any delay in its receipt or that 
the mail is virus-free.
-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and 
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


---

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Christoffel le Roux
Result from installing using sc

D:\>sc create TestService binPath= "Service1.exe" type= own start= auto error= 
normal obj= * DisplayName= Jannie password= *
[SC] CreateService SUCCESS

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 01:30 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I just added a custom installer class to test if the service will install using 
InstallUtil, I't doesn't do anything special like custom actions.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

What is installutil doing ? The installer won't run any install class code.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have 
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be to 
take the set of files and use sc.exe and the services control panel to try and 
install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and using 
an existing domain account as the service account.


 

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on 
MSDN The domain account is configured as "Log On As Service" in the local 
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system 
services.

According to what I could find out is that 1923 is a generic error for a number 
of things that can go wrong, but no list exist of the number of things to be 
able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media.

FlowCentric is neither liable for proper, complete transmission of the 
information contained in this communication, any delay in its receipt or that 
the mail is virus-free.
-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and 
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and 
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This information is intended only for the person o

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Peter Shirtcliffe
Are there any clues in a verbose log ?

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com] 
Sent: 16 January 2013 11:30
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

I just added a custom installer class to test if the service will install
using InstallUtil, I't doesn't do anything special like custom actions.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

What is installutil doing ? The installer won't run any install class code.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be
to take the set of files and use sc.exe and the services control panel to try
and install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and
using an existing domain account as the service account.


 

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on
MSDN The domain account is configured as "Log On As Service" in the local
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system
services.

According to what I could find out is that 1923 is a generic error for a
number of things that can go wrong, but no list exist of the number of things
to be able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is
addressed and may contain private, confidential, proprietary and/or
privileged material and may be subject to confidentiality agreements. Any
review, retransmission, dissemination, or any other use of or taking of any
action in reliance upon this information, by persons or entities other than
the intended recipient, is prohibited. If you received this in error, please
contact the sender and delete the material from all storage media.


FlowCentric is neither liable for proper, complete transmission of the
information contained in this communication, any delay in its receipt or that
the mail is virus-free.
-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires
that you delete it without acting upon or copying any of its contents, and we
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
7DY, UK.


-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This information is intended only for the person or entity to which it is
addressed and may contain private, confidential, proprietary and/or
privileged material and may be subject to confidentiality agreements. Any
review, retransmission, di

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Christoffel le Roux
I just added a custom installer class to test if the service will install using 
InstallUtil, I't doesn't do anything special like custom actions.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

What is installutil doing ? The installer won't run any install class code.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 11:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have 
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be to 
take the set of files and use sc.exe and the services control panel to try and 
install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and using 
an existing domain account as the service account.


 

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on 
MSDN The domain account is configured as "Log On As Service" in the local 
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system 
services.

According to what I could find out is that 1923 is a generic error for a number 
of things that can go wrong, but no list exist of the number of things to be 
able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media.

FlowCentric is neither liable for proper, complete transmission of the 
information contained in this communication, any delay in its receipt or that 
the mail is virus-free.
-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and 
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and 
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all sto

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Peter Shirtcliffe
What is installutil doing ? The installer won't run any install class code.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com] 
Sent: 16 January 2013 11:17
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be
to take the set of files and use sc.exe and the services control panel to try
and install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and
using an existing domain account as the service account.


 

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on
MSDN The domain account is configured as "Log On As Service" in the local
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system
services.

According to what I could find out is that 1923 is a generic error for a
number of things that can go wrong, but no list exist of the number of things
to be able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is
addressed and may contain private, confidential, proprietary and/or
privileged material and may be subject to confidentiality agreements. Any
review, retransmission, dissemination, or any other use of or taking of any
action in reliance upon this information, by persons or entities other than
the intended recipient, is prohibited. If you received this in error, please
contact the sender and delete the material from all storage media.

FlowCentric is neither liable for proper, complete transmission of the
information contained in this communication, any delay in its receipt or that
the mail is virus-free.
-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires
that you delete it without acting upon or copying any of its contents, and we
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
7DY, UK.


-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This information is intended only for the person or entity to which it is
addressed and may contain private, confidential, proprietary and/or
privileged material and may be subject to confidentiality agreements. Any
review, retransmission, dissemination, or any other use of or taking of any
action in reliance upon this information, by persons or entities other than
the intended recipient, is prohibited. If you received this in error, please
contact the sender and delete the material from all storage media.
FlowCentric is neither liable for proper, complete transmission of the
information contained in this communication, any delay in its receipt or that
the mail is virus-free.

-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-s

Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Christoffel le Roux
Hi Peter, the service installs perfectly using InstallUtil, an sc.exe, I have 
no Idea why it's doing what it is.

-Original Message-
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: 16 January 2013 01:13 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Installing service using domain account

It's usually a missing dependency dll. A useful troubleshooting step can be to 
take the set of files and use sc.exe and the services control panel to try and 
install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com]
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and using 
an existing domain account as the service account.


 

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on 
MSDN The domain account is configured as "Log On As Service" in the local 
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system 
services.

According to what I could find out is that 1923 is a generic error for a number 
of things that can go wrong, but no list exist of the number of things to be 
able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media.
FlowCentric is neither liable for proper, complete transmission of the 
information contained in this communication, any delay in its receipt or that 
the mail is virus-free.
-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and 
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and 
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
This information is intended only for the person or entity to which it is 
addressed and may contain private, confidential, proprietary and/or privileged 
material and may be subject to confidentiality agreements. Any review, 
retransmission, dissemination, or any other use of or taking of any action in 
reliance upon this information, by persons or entities other than the intended 
recipient, is prohibited. If you received this in error, please contact the 
sender and delete the material from all storage media. FlowCentric is neither 
liable for proper, complete transmission of the information contained in this 
communication, any delay in its receipt or that the mail is virus-free.

--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing service using domain account

2013-01-16 Thread Peter Shirtcliffe
It's usually a missing dependency dll. A useful troubleshooting step can be
to take the set of files and use sc.exe and the services control panel to try
and install and configure the service manually on the same machine.

-Original Message-
From: Christoffel le Roux [mailto:christoffe...@tech.flowcentric.com] 
Sent: 16 January 2013 10:56
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Installing service using domain account

Hi, I'm trying to install a service using the following WIX fragment and
using an existing domain account as the service account.


 

After googling allot I have the following.

The serive is marked as non-interactive according to the service's table on
MSDN The domain account is configured as "Log On As Service" in the local
machine policy.
The msi is run as administrator.

But still I get:

Error 1923: Verify that you have sufficient privileges to install system
services.

According to what I could find out is that 1923 is a generic error for a
number of things that can go wrong, but no list exist of the number of things
to be able to eliminate the possibilities :)

Can anyone please advise?

Regards
Christoffel le Roux


This information is intended only for the person or entity to which it is
addressed and may contain private, confidential, proprietary and/or
privileged material and may be subject to confidentiality agreements. Any
review, retransmission, dissemination, or any other use of or taking of any
action in reliance upon this information, by persons or entities other than
the intended recipient, is prohibited. If you received this in error, please
contact the sender and delete the material from all storage media.
FlowCentric is neither liable for proper, complete transmission of the
information contained in this communication, any delay in its receipt or that
the mail is virus-free.
-
-
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and
much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users