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
- :
- Major Upgrade is removing files
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
‎Apr 06, 2011
07:23 PM
Major Upgrade is removing files
I have a major upgrade that appears to be removing files during the uninstall previous product steps. It seems to only be happening to a single component and I have checked the IDs against the previous install version. The files show up for a bit and then when that last step runs the files are removed. If I do a repair then the files come back. Any idea what would cause this to happen?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2011
03:12 PM
This happened to me before, it turned out to be i a file (or multiple files) in more than one component.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 08, 2011
09:10 AM
It has also happened to me in this scenario:
You can resolve this by either moving the RemoveExistingProducts action or by ensuring that the version numbers for all versioned files have been increased for a major upgrade.
FileA has not changed version number between releases.
Costing marks FileA as not needing upgrade because version is already present.
RemoveExistingProducts runs the previous release's uninstall, which removes the file.
InstallFiles actions for new install skips the file because costing has marked it as present.
You can resolve this by either moving the RemoveExistingProducts action or by ensuring that the version numbers for all versioned files have been increased for a major upgrade.