Re: [WiX-users] Completely revert installation on install failure
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
Re: [WiX-users] Completely revert installation on install failure
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. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Completely-revert-installation-on-install-failure-tp7177153p7177153.html Sent from the wix-users mailing list archive at Nabble.com. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Kevin Hebert -- 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
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
[WiX-users] Completely revert installation on install failure
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. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Completely-revert-installation-on-install-failure-tp7177153p7177153.html Sent from the wix-users mailing list archive at Nabble.com. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Completely revert installation on install failure
Dear lord why did it add to this. I am sorry. Can ignore my post. :( -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/My-First-Bundle-tp7173712p7177148.html Sent from the wix-users mailing list archive at Nabble.com. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Completely revert installation on install failure
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? 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. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users