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 Major Upgrade from Removing Folders
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
‎May 21, 2015
04:16 PM
Prevent Major Upgrade from Removing Folders
Hello!
I'm working on an basic MSI project to try and get it to perform a major upgrade. I have it working correctly but have run into a major snafu with it. It is removing the folders upon removing existing products and I can't get it to leave the folders. I need a majority of the folders to remain because they contain user created content and may be of significant size that copying out and back in isn't reasonable.
Can anyone offer any suggestions on how to get this to work?
Thank you!
I'm working on an basic MSI project to try and get it to perform a major upgrade. I have it working correctly but have run into a major snafu with it. It is removing the folders upon removing existing products and I can't get it to leave the folders. I need a majority of the folders to remain because they contain user created content and may be of significant size that copying out and back in isn't reasonable.
Can anyone offer any suggestions on how to get this to work?
Thank you!
- Tags:
- major upgrade
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 22, 2015
01:46 AM
Uninstalling/removing the files/folders laid down by MSI is a default behavior and you are seeing that in a Major upgrade is obvious.
In your case, if you still want to retain specific folders/components you may look at the component's setting "Permanent".
Use this with caution as these files/folders will not be uninstalled at all.
Usually this setting is used in case of font files.
Hope this helps.
In your case, if you still want to retain specific folders/components you may look at the component's setting "Permanent".
Use this with caution as these files/folders will not be uninstalled at all.
Usually this setting is used in case of font files.
Hope this helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 22, 2015
12:08 PM
rrinblue22 wrote:
Uninstalling/removing the files/folders laid down by MSI is a default behavior and you are seeing that in a Major upgrade is obvious.
In your case, if you still want to retain specific folders/components you may look at the component's setting "Permanent".
Use this with caution as these files/folders will not be uninstalled at all.
Usually this setting is used in case of font files.
Hope this helps.
I looked in the help and found where to make the change for the msidbComponentAttributesPermanent in the Components table.
My folders are listed and I modified the value from 8 to 24 (8 + 16 for the permanent option), but it still is removing the folders and user created content.
Did I do this incorrectly? I'm trying to parse through the log now and see what it says.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)