Before InstallInitialize, yes, true. Typically though there are more occurrences after InstallFinalize because that's one of the documented options: http://msdn.microsoft.com/en-us/library/windows/desktop/aa371197(v=vs.85).aspx which looks attractive because of those magic words "most efficient" but the kind of failure that could be happening here is somewhat obscurely described as "If the removal of the old application fails, then the installer only rolls back the uninstallation of the old application." which is an obscure way of saying you're toast.
On Mon, Aug 19, 2013 at 3:04 PM, David Connet <[email protected]>wrote: > Or before InstallInitialize. REP must be within the install transaction. > > Dave > > > > > ________________________________ > From: Phil Wilson <[email protected]> > To: [email protected]; General discussion for Windows Installer XML > toolset. <[email protected]> > Sent: Monday, August 19, 2013 2:53 PM > Subject: Re: [WiX-users] Restore previous windows service if new > installation is Failure > > > 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 <[email protected]> wrote: > > > Add the "Start" attribute to the ServiceControl element? > > > > Alain > > > > -----Original Message----- > > From: Андрій Цьок [mailto:[email protected]] > > 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 <[email protected]> > > 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 > > > [email protected] > > > www.jackhenry.com > > > > > > > > > > > > > > > -----Original Message----- > > > From: Андрій Цьок [mailto:[email protected]] > > > 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 > > > [email protected] > > > 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 > > > [email protected] > > > 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 > > [email protected] > > 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 > > [email protected] > > 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 > [email protected] > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Phil Wilson ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

