- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to prevent dynamically linked files from being overwritten
- 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
How to prevent dynamically linked files from being overwritten
I have an upgrader msi project, here's the situation -
1. I have installed my product with fresh installer MSI which has dynamically linked files.
2. In that dynamically linked file there's a config file which I have changed accordingly
3. For next build I run the upgrader MSI and it overwrites the config file which I have changed.
So is there any option, where I should be able to set Not to overwrite such files, which are dynamically linked.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Use exclude file pattern (*.config) in dynamic file settings.
Thanks,
Thananjeyan
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
@Thananjeyan_M That's a great suggestion, but in my product we have older versions as well, where those files doesn't exist, in that case upgrader msi needs to place that file, I can't really exclude that.
I want installer to leave that file if it's already there.
Thanks.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)