This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Prevent old version removal on major upgrade failure?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 03, 2010
11:10 PM
Prevent old version removal on major upgrade failure?
I have a basic MSI that has a major upgrade set up. I have found that if a major upgrade fails, the old version is removed. Is there a way to backup the old version and revert if the upgrade fails?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 04, 2010
11:32 AM
Can anybody help here? This is pretty urgent.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 06, 2010
02:02 AM
Ensure that your RemoveExistingProducts action is scheduled before the InstallFinalize action. Reason being, anything scheduled between InstallInitialize and InstallFinalize gets rolled back.
In your upgrades view of INstallshield, there is a radio button which says:
InstallSetup then remove unneeded files
It also provides with a check box which says:Rollback all changes if removal of old files fails.
If you dont have this check box enabled, InstallShield inserts RemoveExistingProducts after InstallFinalize and hence the rollback of your old product will not be carried out.
Regards,
Kiran Hegde
In your upgrades view of INstallshield, there is a radio button which says:
InstallSetup then remove unneeded files
It also provides with a check box which says:Rollback all changes if removal of old files fails.
If you dont have this check box enabled, InstallShield inserts RemoveExistingProducts after InstallFinalize and hence the rollback of your old product will not be carried out.
Regards,
Kiran Hegde
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 07, 2010
12:47 PM
Sounds Perfect. Thank you! I will give it a shot.