Installshield does not replace files on minor update

I have a setup installer for my application. Now I am creating a small update for the application and some of the files in some of my components have changed. Unfortunately, after a minor update, the files are not replaced, but remain with their old content. These are text files, so it is very easy to check. I also explicitly checked, are always overwritten in the properties for each of the files that I try to overwrite during the update.

I'm tired of creating custom actions to do what installshield is supposed to do. Are you unsure why this is happening and how can I get installshield to overwrite these files?

I am using installshield 2008 and really, really, really wanted to be able to change this.

+3


source to share


2 answers


Not to be rude, but this is a learning problem, not a tool problem. Windows Installer, the core technology, describes in great detail how it works in relation to Feature Rules and File Version Rules . If it doesn't work because you have implemented it incorrectly. If you write custom actions to get around it, it clearly demonstrates that you don't understand what you are doing and create hacks to get around the MSI.

Now I do not have a copy of your FOO.msi (v1) and FOO.msi (v1.1) or the installation log from the update, so your question is irrefutable, other than giving advice for researching topics such as what components, key files and companion files, how pricing / file versioning works, how major and minor updates work, and then apply that knowledge to your own installer.



Yes, this is unclear, often pedantic. But this is at the heart of how MSI works and you really need to understand it. Once you do this, it becomes much easier. Trust me, I was there.

0


source


I just experienced a similar problem. Even though I changed the version of the file in AssemblyInfo.cs, Install Shield LE did not pick up the new compiled file. It seemed like I had to open the Files menu under Specify Application Data before building the solution.



0


source







All Articles