Got stung again by File Versioning in MSI. If the file version in the installer isn't greater than the file version on the server, the file will not be reinstalled. I thought the File Version property in the project properties set this version for files, but apparently it does not - so my file changes are not being deployed, even though I am continuously incrementing the File Version property.
So what I found was the REINSTALLMODE option for msiexec. Installing the MSI like this did the trick:
msiexec /i <MsiName> REINSTALLMODE=a
Here is the list of REINSTALLMODE options.
No comments:
Post a Comment