Thanks Rob, those docs helped a little. -----Original Message----- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: 14 October 2008 16:31 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problems Executing a Custom Action on uninstall for a major upgrade.
Take a look at the MSI SDK about Major Upgrades. There are a few different ways to schedule Major Upgrades and there are Properties set based on your Upgrade element. -----Original Message----- From: Ryan O'Neill [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 06:43 To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] Problems Executing a Custom Action on uninstall for a major upgrade. Hi all, I know this has been asked numerous time and I just saw another variant of it, but I'm scratching my head here. Can someone explain the steps for a major upgrade? Is it a complete uninstall and reinstall (as I suspect). Does this mean I can't really detect when I am being properly uninstalled? I ask because I'm using an action to delete folders and clean up when completely uninstalling but it seems to be running on an upgrade too, wiping out my application preferences in the process. XML snippet follows; <Custom Action="CleanLocalAppData" Before="CA_SetCleanAppData"><![CDATA[NOT Install]]></Custom> I tried using REMOVE as the conditional but according to the log file this always seems to be set. Regards Ryan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.173 / Virus Database: 270.8.0/1724 - Release Date: 14/10/2008 02:02 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users