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 <alb...@insad.nl> 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 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 > > > ----------------------------------------------------------------------------- > - > 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 > 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 > > > ------------------------------------------------------------------------------ > 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