Thank you Mat, this has fixed my problem :)

Initially I thought it had not - for anyone with a similar problem, you need
to remove the service that wasn't installed with this 'Remove="both"'
attribute manually first. Once this is done, any subsequent installs with an
MSI that is created with it can be made without the error.

Appreciate everyone's input, thanks.


On Thu, Mar 24, 2011 at 5:29 PM, Skildum, Mathew
<mathew.skil...@aspect.com>wrote:

> You should set Remove="Both" in your service control entry.
>
> This will help in the cleanup and if any other service happens to share the
> same name, you remove it.
>
> Mat Skildum
> Aspect Software
> direct: 630.227.8534
> mobile: 847.909.9921
> mathew.skil...@aspect.com
>
>
> -----Original Message-----
> From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com]
> Sent: Thursday, March 24, 2011 12:22 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Error 1923 upgrading a service
>
> When I use the word 'upgrade', I'm simply referring to running a new MSI
> that is installing the same service (re-installing). Does it matter if I
> haven't changed the version number?
>
> The verbose log doesn't seem to give much more information, it fails with
> 1923 on the line after "Executing op: Service install". I did search up
> through the log from that point and didn't find any mention of an
> "uninstall"... is there something I need to do explicitly to get the
> installer to remove the previous version of the service first?
>
> Thanks, I appreciate the help.
>
> Matthew
>
>
>
> On Thu, Mar 24, 2011 at 4:57 PM, Chad Petersen
> <chad.peter...@harlandfs.com>wrote:
>
> > Is this a major upgrade or a minor upgrade? Sounds like the uninstall
> > of the older version might not be removing the service. Verbose log
> > file might be helpful. You can also hit Cancel during an install to
> > effectively pause it (then hit Resume to continue) to look at the
> > state of the machine at certain discreet points along the way, like if
> > the old product gets removed but new files aren't being copied yet,
> > this can be a good point to pause the install and look in Services.msc
> > to see the current situation.
> >
> > -----Original Message-----
> > From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com]
> > Sent: Thursday, March 24, 2011 9:39 AM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Error 1923 upgrading a service
> >
> > 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
> >
> >
> >
> >
> > ----------------------------------------------------------------------
> > -------- 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
>
>
> ------------------------------------------------------------------------------
> 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