Two approaches:
1) The โeasiestโ way for InstallShield to never overwrite a file is to never install it in the first place. Install it as a.txt and ask the application to copy it to b.txt the first time it starts, and I will never know about b.txt in the first place.
2) Create a component in InstallShield and add your database as a key file. Presumably, the contents of the database will change over time and result in a creation date and a modification date that are different. In this case, InstallShield (Windows Installer) by default, file version control rules (OMUS) dictate that the file will not be overwritten.
3) If # 2 still does not work, set the Never Overwrite attribute for the component to Yes.
Remember that file pricing is based on KeyFile. No matter what the key file tells you, all other files in the component will do the same with respect to overwriting. "Always Overwrite" is the "version lying" where we incorrectly indicate to the MSI that the Verison file is 65535.0.0.0, and therefore the Create / Modification rule is replaced by the Versioned trumps Non-Versioned version rule.
source share