Yes, it looks like this :-

<ServiceControl ID="StartService" Name="My Service Name" Start="Install"
Stop="Both" Remove="Uninstall" Wait="Yes" />

Thanks


On Thu, Mar 24, 2011 at 3:54 PM, David Watson <dwat...@sdl.com> wrote:

> Do you have a ServiceControl element that stops the service on install?
>
> <ServiceControl Name="My Service Name" Stop="Both" Wait=Yes" ... />
>
>
>
> -----Original Message-----
> From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com]
> Sent: 24 March 2011 10:33
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Error 1923 upgrading a service
>
> Hi there
>
> I'm having problems upgrading an existing service using my wix installer.
> i'm getting the 1923 error ("Verify that you have sufficient privileges to
> install system services.").
>
> This doesn't happen the *first* time I install the service, but when I try
> to upgrade it.
>
> I've searched around and tried a few different things, but nothing has
> solved it so far.
>
> My ServiceInstall looks like this :-
>
> <ServiceInstall Id="ServiceInstaller" Type="ownProcess" Vital="yes"
> Name="My
> Service Name" DisplayName="My Display Name" Description="My description"
> Start="auto" Account="LocalSystem" ErrorControl="ignore" Interactive="no">
>
> I'm logged in as a local administrator. I've tried logging in direct on the
> machine, not just from remote desktop. I've tried making sure the Name
> attribute in the ServiceInstall tag matches the service name in the service
> code.
>
> If I uninstall the service and run my MSI, it works fine.
>
> Any help would be greatly appreciated.
>
> Thanks!
>
> -----------------------------------------------------------------------------
> -
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> 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.
>
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to