cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
fatfrumos
Level 2

how to overwrite unversioned files

We are using Basic MSI project. After first release installation all files are installed. During the next time customers may manually replace some installed files with they own. So each time when they run our next release installer, it does not overwrite all non-exe, non-dll and non-component key files (thus html, images, plain text files and so on).

Our problem is: we want to overwrite all files that are located on the target costumer machine, regardless of version, date, etc.

Can anybody tell how to resolve?

Thanks
Labels (1)
0 Kudos
(4) Replies
RobertDickau
Flexera Alumni

In a file's property page (when you right-click the file icon in one of the InstallShield file views), there should be an Always Overwrite setting you can use. The help should explain what's going on behind the scenes, and also what the default file-overwrite behavior MSI uses is.
0 Kudos
Anonymous
Not applicable

How can you do this if the files are dynamically linked?
0 Kudos
rasky74
Level 6

The easiest way I have found is to do a major upgrade. The alternative is for each folder you will need to make it a component. Exclude one of the dynamic files and add it back in (non dynamic) to the component. Then make that file the key file for that component. For the files property, override the system version. Each time you rebuild you will have to bump that override version so the install knows the component has changed.
0 Kudos
Anonymous
Not applicable

Thanks rasky74, your suggestion worked.
0 Kudos