I'm using ServiceInstall. We have WIX 3.5, and on Windows 7. There are no CAs that are running, or scheduled to run. Upon further looking at it, it's not the service that stays. We have a Tray.exe that we are installing as well, and THAT is what is staying around. It just kind of holds. This is an exe that is installed before the service is. The rest of the install rolls back, but this one exe sticks around, and doesn't even fully install. It just hangs.
On 1/14/2012 3:22 PM, Gary Gocek wrote: How exactly are you installing and starting the service? What operating system? What version of WIX? I have used the ServiceInstall and related elements, and rollbacks work fine for me with WIX 3.5, Win 2003, Win 2008, Win XP. There could be other complications, such as if you have custom actions scheduled too late (a problem for deferred CAs). Gary On 1/17/2012 12:31 PM, Wilson, Phil wrote: > In the ServiceControl element that starts your service, what's your Wait > value? It's not documented in MSDN, but AFAIK a Wait value of 1 causes a wait > for the Service to start successfully and if it fails the install will roll > back. > > Phil W > > -----Original Message----- > From: Jeremy Farrell [mailto:jeremy.farr...@oracle.com] > Sent: Saturday, January 14, 2012 4:22 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Completely revert installation on install failure > > Yes, David Watson did at 2012-01-11 18:09:28 GMT: >> Rollback should and does happen automatically. If you have any custom >> actions they need to cater for this. What does a verbose log say? >> >> How are you installing the service, are you using the<ServiceInstall> >> element? > > From: Kevin Hebert [mailto:ke...@legendary-immersion.com] >> Anyone have any suggestions about this? Thank you. >> >> On 1/11/2012 12:06 PM, AxiomaticImpact wrote: >>> My installer is installing a service (which starts automatically >>> upon installation) and a program. Now, if the install fails for >>> any reason, the service is still installed, but fails to start. >>> How can I go about doing a complete rollback upon failure? Is a >>> custom action that calls the installers uninstall portion feasible? >>> Thanks. > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Mar 27 - Feb 2 > Save $400 by Jan. 27 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev2 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > *** Confidentiality Notice: This e-mail, including any associated or attached > files, is intended solely for the individual or entity to which it is > addressed. This e-mail is confidential and may well also be legally > privileged. If you have received it in error, you are on notice of its > status. Please notify the sender immediately by reply e-mail and then delete > this message from your system. Please do not copy it or use it for any > purposes, or disclose its contents to any other person. This email comes from > a division of the Invensys Group, owned by Invensys plc, which is a company > registered in England and Wales with its registered office at 3rd Floor, 40 > Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of > European legal entities within the Invensys Group, please go to > http://www.invensys.com/en/legal/default.aspx. > > You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail > recept...@invensys.com. This e-mail and any attachments thereto may be > subject to the terms of any agreements between Invensys (and/or its > subsidiaries and affiliates) and the recipient (and/or its subsidiaries and > affiliates). > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- Kevin Hebert ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users