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
- :
- Need to remove obsolete files with a minor 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
Jun 15, 2011
10:27 AM
Need to remove obsolete files with a minor upgrade
I'm using basic msi and I need to remove some obsolete files with a minor upgrade. I have read about using the RemoveFiles table for this, but since this could be a reacuring thing later on I would rather use a more dynamic approach.
So my question is: is there away to compare what files are in the old and the new version and make the new version remove all files that are in the old but not in the new when making a minor upgrade?
Regards Daniel
So my question is: is there away to compare what files are in the old and the new version and make the new version remove all files that are in the old but not in the new when making a minor upgrade?
Regards Daniel
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 16, 2011
01:44 AM
If you are going for a minor upgrade, the changes that would be made in the latest setup should be minor(that is the basic idea). So, they should be easily identifiable.
In no way can you delete files, obsolete or otherwise, from the latest setup if you are planning for a minor upgrade. Its against upgrade rules.
If you need to remove a file you should still include it in your setup but mark it as TRANSITIVE. That is the only way.
If you use a patch to deploy your minor upgrade, you will get the differences in your patch.
What do you mean by obsolete?
In no way can you delete files, obsolete or otherwise, from the latest setup if you are planning for a minor upgrade. Its against upgrade rules.
If you need to remove a file you should still include it in your setup but mark it as TRANSITIVE. That is the only way.
If you use a patch to deploy your minor upgrade, you will get the differences in your patch.
What do you mean by obsolete?