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
- :
- Re: NOT to override existing files during installation
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 16, 2008
07:08 PM
NOT to override existing files during installation
Hi
I need some help with keeping previous customised files that are on the customers system.
The current live system has some customised xslt templates which are supposed to remain the same during an upgrade, otherwise if they are overwritten, we lose the customised changes that the customer had applied.
I must include the templates in the build so that if the customer does not have the template it would be inserted, however if the customer does have it, it should not override the existing one.
Within the install shield project what properties do I set these files to so that they are not replaced?
I have not selected "Always Overwrite", so it should not overwrite the file.
I only have Read-only and Use File Hash selected.
Do I need to select "Override system attributes" ? What does this do?
I need some help with keeping previous customised files that are on the customers system.
The current live system has some customised xslt templates which are supposed to remain the same during an upgrade, otherwise if they are overwritten, we lose the customised changes that the customer had applied.
I must include the templates in the build so that if the customer does not have the template it would be inserted, however if the customer does have it, it should not override the existing one.
Within the install shield project what properties do I set these files to so that they are not replaced?
I have not selected "Always Overwrite", so it should not overwrite the file.
I only have Read-only and Use File Hash selected.
Do I need to select "Override system attributes" ? What does this do?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 22, 2008
03:17 PM
If you right click on the component that will install the file and select properties you can check the "Never overwrite" box. That will make it so that if that file is already there it will not install, if it isnt there, it will install. Click the HELP button on that property screen for more info.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)