This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Unable to replace two files while upgrade.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 18, 2012
10:15 AM
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.
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.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 21, 2012
06:52 AM
“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”.
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”.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)