There is no "Uninstall Sequence". InstallExecuteSequence (http://msdn.microsoft.com/en-us/library/aa369500.aspx) & InstallUISequence (http://msdn.microsoft.com/en-us/library/aa369543.aspx) run during Install & Uninstall (and Modify/Repair/etc) unless actions within them are conditioned appropriately.
Move your stop service action before RemoveFiles to fix the below behaviour. If it's a custom action you may need to set it to execute synchronously so msiexec waits for it to finish before proceeding with other actions otherwise it may still be in the process of stopping the service when it gets to RemoveFiles. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Shabbir Ahsan [mailto:shabbir_ah...@hotmail.com] Sent: 22 March 2010 16:02 To: wix-users@lists.sourceforge.net Subject: [WiX-users] uninstall sequence Hi, how do I set the uninstall sequence? My uninstall fails because it is attempting to delete a file that is in use. The file is a windows service, which I have set to uninstall, but it seems to be attempting to delete the service before the service has been stopped. Cant seem to find any info in the documentation. Any ideas? thanks _________________________________________________________________ We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now http://clk.atdmt.com/UKM/go/195013117/direct/01/ ------------------------------------------------------------------------ ------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users