I'd be tempted to write a cleanup tool that I would chain at the beginning of my new installation. This way I wouldn't have the cleanup code messing up my wix.
If the previous installer did self registration you could use that to 'clean it up'. If you want a pure msi solution, you can use heat to get the registry entries to delete, but beware that if the selfregistration did non-standard things then you may need some extra cleanup. Dave -----Original Message----- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: 24 November 2010 13:05 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] removing a com component a legacy installleaves behind Is there a way of finding these outy, other than trawling the registry? Would heat help here? Cheers Sean. -----Original Message----- From: Blair [mailto:os...@live.com] Sent: 24 November 2010 12:39 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] removing a com component a legacy install leaves behind If you know the exact registry entries for the registration you can just author entries into a "cleanup" component to remove them from the registry and to delete the file. Removals always are scheduled before writes, and you can schedule the "cleanup" component to run just one time by giving it an empty guid and condition it to run only if the file to be removed is detected. -----Original Message----- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Tuesday, November 23, 2010 10:58 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] removing a com component a legacy install leaves behind Hi: I'm in the process of porting a legacy install to wix, and the legacy install leave a dll registered. I need to unregister this dll and delete the directory before continuing with my install. What is the best way of doing this? And how can I ensure that this runs before any directories get created on the target system i.e the first item in the installExecute sequence. This only need to happen once if the product is not installed and if the file exists. Cheers Sean. ------------------------------------------------------------------------ ---- -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users 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. ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users