When you say "previous windows service" does that mean that you doing an
upgrade? If so, it should just work, unless you have RemoveExistingProducts
after InstallFinalize.


On Mon, Aug 19, 2013 at 10:42 AM, Alain Forget <afor...@cmu.edu> wrote:

> Add the "Start" attribute to the ServiceControl element?
>
> Alain
>
> -----Original Message-----
> From: Андрій Цьок [mailto:andrey.t...@gmail.com]
> Sent: Monday, August 19, 2013 13:35
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Restore previous windows service if new
> installation is Failure
>
> I used wix functionality
>
> <w:ServiceInstall Id="WindowsServiceInstaller" Type="ownProcess"
> Vital="yes" Name="######" DisplayName="######" Description="###"
> Start="auto" Account="LocalSystem" ErrorControl="ignore" Interactive="no"
> xmlns:w="http://schemas.microsoft.com/wix/2006/wi"; />
>
> <w:ServiceControl Id="StartService" Stop="both" Remove="uninstall"
> Name="####" Wait="yes" xmlns:w="http://schemas.microsoft.com/wix/2006/wi";
> />
>
>
>
>
> On Mon, Aug 19, 2013 at 8:03 PM, John Cooper <jocoo...@jackhenry.com>
> wrote:
>
> > How are you registering the Windows service?  If you're using
> > InstallUtil.exe, you'll need to roll your own rollback--it won't happen
> > automatically.  If you're using the WiX Service authoring, it should
> > rollback.
> >
> > --
> > John Merryweather Cooper
> > Build & Install Engineer -- ESA
> > Jack Henry & Associates, Inc.(R)
> > Shawnee Mission, KS  66227
> > Office:  913-341-3434 x791011
> > jocoo...@jackhenry.com
> > www.jackhenry.com
> >
> >
> >
> >
> > -----Original Message-----
> > From: Андрій Цьок [mailto:andrey.t...@gmail.com]
> > Sent: Monday, August 19, 2013 11:56 AM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: [WiX-users] Restore previous windows service if new installation
> > is Failure
> >
> > How can we restore previous windows service if new installation is
> Failure
> > ?
> > After rollback WIX doesn't register old service in Windows Services and
> > leave it broken.
> >
> >
> ------------------------------------------------------------------------------
> > Introducing Performance Central, a new site from SourceForge and
> > AppDynamics. Performance Central is your source for news, insights,
> > analysis and resources for efficient Application Performance Management.
> > Visit us today!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> > NOTICE: This electronic mail message and any files transmitted with it
> are
> > intended
> > exclusively for the individual or entity to which it is addressed. The
> > message,
> > together with any attachment, may contain confidential and/or privileged
> > information.
> > Any unauthorized review, use, printing, saving, copying, disclosure or
> > distribution
> > is strictly prohibited. If you have received this message in error,
> please
> > immediately advise the sender by reply email and delete all copies.
> >
> >
> ------------------------------------------------------------------------------
> > Introducing Performance Central, a new site from SourceForge and
> > AppDynamics. Performance Central is your source for news, insights,
> > analysis and resources for efficient Application Performance Management.
> > Visit us today!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to