Replace Installer Flags with ignoreversion

9 views
Skip to first unread message

Austen Ruzicka

unread,
Sep 25, 2019, 5:01:02 AM9/25/19
to LANDIS-II Developers
Currently, the inno setup scripts for LANDIS-II's installers use the flag "replacesameversion" in the [Files] section. These all need to be replaced with the "ignoreversion" flag instead. The reason is that if an installer is compiled with a DLL that has an updated assembly version, the installer will not actually replace the old DLL in the directory that LANDIS-II runs from. This will cause issues if a user already has a version of, for example, Biomass-Harvest but tries to run an installer with an updated version. The installer will not replace the current version of Biomass-Harvest on the user's computer with the new one. Here is some documentation on the issue: http://www.jrsoftware.org/iskb.php?filenotreplaced

The ignoreversion flag ensures that the installer will always overwrite any existing LANDIS-II files. The old flag can be replaced easily through the Inno Setup Compiler by going to Edit > Replace.
Reply all
Reply to author
Forward
0 new messages