[WiX-users] Remove existing products is removing almost all files during Major Upgrade
Hi All, This is the issue.. I'm developing a product that releases versions every month and each of these releases can be used as a major upgrade. For the Major Upgrade I've scheduled the RemoveExistingProducts action after InstallFinalize and it worked for a while.. but then one day without any change in the code a bunch of files started being deleted and my installation end up with just the 10% of the files that were supposed to be in my installation path. At first my RemoveExistingProducts action was schedule after InstallValidate Action but we starting to have issues with the merge modules of the VCRedist9.0 and our services failed to start so we did the change and the Services stopped having the issue. If I move the action to be after InstallValidate again all the files get in place correctly but the services start to fail. I can't seem to make one work without ruin the other. I really appreciate the help. Thanks, PameAlex -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Remove existing products is removing almost all files during Major Upgrade
It sounds like your component GUIDs changed between releases. Make sure all the GUIDs stay the same. And check the verbose log during the upgrade, it will tell you what it intends to do with each component, which can help you figure out why it's doing that. -Ari -Original Message- From: Pamela Alvarez [mailto:tammy.p...@gmail.com] Sent: Friday, January 30, 2009 8:58 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Remove existing products is removing almost all files during Major Upgrade Hi All, This is the issue.. I'm developing a product that releases versions every month and each of these releases can be used as a major upgrade. For the Major Upgrade I've scheduled the RemoveExistingProducts action after InstallFinalize and it worked for a while.. but then one day without any change in the code a bunch of files started being deleted and my installation end up with just the 10% of the files that were supposed to be in my installation path. At first my RemoveExistingProducts action was schedule after InstallValidate Action but we starting to have issues with the merge modules of the VCRedist9.0 and our services failed to start so we did the change and the Services stopped having the issue. If I move the action to be after InstallValidate again all the files get in place correctly but the services start to fail. I can't seem to make one work without ruin the other. I really appreciate the help. Thanks, PameAlex -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Remove existing products is removing almost all files during Major Upgrade
Pamela Alvarez wrote: This is the issue.. I'm developing a product that releases versions every month and each of these releases can be used as a major upgrade. For the Major Upgrade I've scheduled the RemoveExistingProducts action after InstallFinalize and it worked for a while.. but then one day without any change in the code a bunch of files started being deleted and my installation end up with just the 10% of the files that were supposed to be in my installation path. If you use late major upgrades, you have to adhere to all the component rules like for patching. -- sig://boB http://joyofsetup.com/ -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Remove existing products is removing almost all files, during Major Upgrade (Bob Arnson)
Thanks Ari, After your reply a reviewed with Orca the GUIDs of my components and find out that, since the version the issue started 80% of the GUIDs were changed I changed back to the original values and the Upgrade worked just fine. You're answer was exactly what I needed :) PameAlex -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users