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.

<ServiceInstall  Id="EventManagerServiceInstall"
                                                    Name="Service1"
                                                    DisplayName="Service1
                                                    Type="ownProcess"
                                                    Interactive="no"
                                                    Start="auto"
                                                    Vital="yes"
                                                    ErrorControl="normal"
                                                    Description=" Service 
Description "

Account="[SERVICEACCOUNT]" Password="[SERVICEACCOUNTPASSWORD]"/>
                 <ServiceControl  Id="EventManagerServiceControl"
                                                    Name=" Service1
                                                    Stop="both"
                                                    Remove="uninstall"

Wait="yes"></ServiceControl>

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

------------------------------------------------------------------------------
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

Reply via email to