The short answer to this is that there is a DisableRollBack action, and a property (uppercase) that you can set.
The right answer to this is that you shouldn't be using it. The real problem is that you have a Wait setting in the ServiceControl element that makes the success of your service start critical to the install. In the meantime, while you're focused on your service not starting, the elephant in the room is that disabling rollback will leave the system in a mess if the install fails for ANY reason. You'll have completely hosed the target system. That's the kind of installation that nobody has ever wanted. Even before Windows Installer the better setups did their best to restore the system to a usable state if an install failed. I have some difficulty conveying how bad it is to disable rollback unless you have a virtual machine snapshot that you're going to revert back to. Phil Wilson -----Original Message----- From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@sungard.com] Sent: Friday, July 30, 2010 12:46 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Installer should not rollback Hi , In my installer I am installing windows service. If the service fails to install or start my installer roll back all the installation. Can anyone let me know how to proceed or complete installation though the service fails. This is my wix code <ServiceInstall Name="CnvRemoteService" DisplayName="CnvRemoteService" Account="LocalSystem" Type ="ownProcess" Start ="auto" Id ="RemoteServiceID" ErrorControl="ignore" > <util:PermissionEx User="Everyone" GenericAll="yes" ServiceChangeConfig="yes" ServiceEnumerateDependents="yes" ChangePermission="yes" ServiceInterrogate="yes" ServicePauseContinue="yes" ServiceQueryConfig="yes" ServiceQueryStatus="yes" ServiceStart="yes" ServiceStop="yes" /> <ServiceDependency Id="RPCSS" /> </ServiceInstall> <ServiceControl Name="CnvRemoteService" Start="install" Stop ="uninstall" Remove="uninstall" Id ="CnvRemoteServiceControl" Wait ="no" /> Thanks, Rahul Ekbote Senior Software Engineer * SunGard * ALM * Bancware * SunGard Technology Services (India), Meridian Plaza, S B Road, Shivajinagar, Pune 411016. Direct Tel +91-20-25606237 * Main Tel +91-20-30238000 * Fax +91-20-25606222 * rahul.ekb...@sungard.com <mailto:rahul.ekb...@sos.sungard.com> * www.sungard.com <http://www.sungard.com/bancware> /bancware ____________________________________________________ P Think before you print CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you receive this e-mail in error, please notify the sender and delete this e-mail from your system. ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ 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 Portland House, Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail inet.hqhelpd...@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). ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users