cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
surya4u
Level 4

Unable to replace two files while upgrade.

Project Type: Basic MSI

Due to some emergency fix in one of the version we have created two dlls with the version 65535.1.0.0 and created the installer.
Now those two dlls are having our current version which is 6.1.XXX.XXX.
As the installed dlls version is greater than the current version the files are not getting replaced even though I am specifying the Always Overwrite. I have even tried with Override system version but both are not working.

Could any one please suggest any other way of overwriting those files due to this we are not able support the upgrade from that version?

Regards,
Praveen.
Labels (1)
0 Kudos
(1) Reply
ElenaN
Level 6

“Always Overwrite” flag just sets file version into 65535.0.0.0 in the File table. Your “emergency fix” version is higher (65535.1.0.0), so of course won’t be upgraded.

Try to go to Direct Editor and in File table set Version field of dlls in question to 65535.2.0.0 (for example).

Or as second variant - overwrite (or just delete) installed dlls’ version from Custom Action placed somewhere before CostInitialize. In that case you can do it only during upgrades from “emergency fix”.
0 Kudos