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
- :
- Rollback in Major Upgrade
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
‎Mar 04, 2010
12:39 AM
Rollback in Major Upgrade
Project Type: Basic MSI
I use major upgrade. When upgrading, installer will remove the previous version first, and then install the new version. During the installation of the new version, if clicking the Cancel button, I found it will stop the installation and rollback to the moment when the old version is removed and the new version is not installed. I want it restoring or reinstalling the old version. Is there any solution?
Thanks in advance.
I use major upgrade. When upgrading, installer will remove the previous version first, and then install the new version. During the installation of the new version, if clicking the Cancel button, I found it will stop the installation and rollback to the moment when the old version is removed and the new version is not installed. I want it restoring or reinstalling the old version. Is there any solution?
Thanks in advance.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 04, 2010
07:51 AM
I don't believe Windows Installer will handle that with the sequence you are using. I believe that you can move the RemoveExistingProducts action down between InstallExecute and InstallFinalize, if you want that functionality. However, in that scenario, the installer copies the new files, then removes unneeded old files.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 24, 2010
02:33 AM
KathyMorey wrote:
However, in that scenario, the installer copies the new files, then removes unneeded old files.
Do you mean installer will copy new files before delete old files?
Will the installer just copy and overwrite files in all components and delete unneeded files (in all components, too)? Or is there any file comparison rulls here?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 13, 2010
03:00 PM
I'm looking for a solution to this as well.