Any file you put on the machine during install will be removed during uninstall unless you specifically say not to. Same goes for any directories created during install as long as they are empty when msiexec tries to remove them. If your application has created any logs or configs in those directories when it was run you'll need to write RemoveFile Elements for those if you want to delete them during uninstall. You shouldn't need to write any RemoveFolder Elements unless your application creates new directories when it's run (special exception is shortcut folders but the how to topic in the WiX documentation covers that). RemoveFolder will only remove empty directories.
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 [mailto:shabbir_ah...@hotmail.com] Sent: 23 March 2010 11:43 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] uninstall sequence Thanks Pally and Phil. I have marked the service as stop at uninstall and the remove file is now after the stop service. I ahve put remove folders commands in place - would this automatically delete the files within the folder or would I ahve to put remove file for each file contained within it? Thanks -- View this message in context: http://n2.nabble.com/uninstall-sequence-tp4778623p4783422.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ 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