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
- :
- Replacing selective files during 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 18, 2015
05:52 AM
Replacing selective files during upgrade.
So here is the deal.
I am deploying a set of files in my basic msi project and I want that except one all the files should always be replaced whenever the upgrade occurs. I have added all the files by dynamic link except the file i wanted to keep as i had to modify its properties. Please help! I know its kind of a basic level knowledge but any kind of help is appreciated. Thanks!
I am deploying a set of files in my basic msi project and I want that except one all the files should always be replaced whenever the upgrade occurs. I have added all the files by dynamic link except the file i wanted to keep as i had to modify its properties. Please help! I know its kind of a basic level knowledge but any kind of help is appreciated. Thanks!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 18, 2015
09:59 AM
If I am reading this correctly, one of the files should never be upgraded, correct?
If so then make sure you flag the component for this file as never overwrite.
If the file is not in its own component then you may have a problem. You basically have to remove everything else from the component, leaving only the file that needs to never be overwritten. All the other files place in their own components.
If you are only doing major upgrades then this action will not cause a problem for you. If you want to support 'patches' - minor upgrades, then you will need to author each of those other files into the RemoveFile table I believe.
If so then make sure you flag the component for this file as never overwrite.
If the file is not in its own component then you may have a problem. You basically have to remove everything else from the component, leaving only the file that needs to never be overwritten. All the other files place in their own components.
If you are only doing major upgrades then this action will not cause a problem for you. If you want to support 'patches' - minor upgrades, then you will need to author each of those other files into the RemoveFile table I believe.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)