AIMMS Knowledge Base Article – KB000056
AIMMS (de)installation fails with a message about Microsoft VCRedist 8.0 SP1
The information in this article applies to:
- AIMMS version 3.9.3 and older
- AIMMS 3.10 FR1
- AIMMS 3.10 FR2
- Both 32-bit and 64-bit versions of these AIMMS versions are affected
Important: This article does not apply to other AIMMS versions than the aforementioned. If you encounter the symptoms below for other AIMMS versions, please download the version 8.0.50727.4053 of the Microsoft Visual C++ 2005 SP1 redistributable package from our download page, install it and try to install AIMMS again.
AIMMS versions 3.9.3 and older, and the versions 3.10 FR1 and 3.10 FR2, may fail to install on your system.
During the installation, the deinstallation or during a repair/modify of AIMMS, the following message may appear:
AIMMS requires Microsoft VC Redist 8.0 SP1 (x86) to be installed
This message is followed by a rollback of the installation, the deinstallation or the repair/modify.
Microsoft has issued a security update for the Microsoft Visual C++ 2005 SP1 redistributable package (version 8.0.50727.4053), which is a prerequisite for the AIMMS installation.
The AIMMS .msi file checks for the existence of certain files present in an older version of the VCRedist package. In this new VCRedist package, the name of one of those files has been changed. As a result, the AIMMS .msi file cannot find the file anymore, interprets this as a missing prerequisite and rolls back. In reality, the prerequisite is not missing, it’s merely an updated (but unrecognized) version.
The AIMMS.msi file has a built-in option, to skip the prerequisite checks. For your convenience, we have provided a small .bat file which you can use to install/deinstall/modify/repair AIMMS versions 3.9.3 and older, which show the symptoms as described above. It can be downloaded here as a zip file. The syntax is:
InstallAIMMS.bat <name of AIMMS .msi file>
The executed .msi file automatically determines which options you will be offered (either to install AIMMS, or to Repair/Modify/Remove AIMMS). The .bat file passes an extra argument to the msiexec tool, which tells it to skip the prerequisite checks, thus circumventing the problem described in this article.
The security update of the Microsoft Visual C++ 2005 SP1 redistributable package is provided as an AIMMS prerequisite on our download page. Depending on the AIMMS version that you select, the right version(s) of the prerequisite will be downloaded.
When you install the new version of the VCRedist, any already installed AIMMS versions will continue to function without any problems, because the new version is backwards compatible with the old version.
You may also run into the problem described in this article, without having installed AIMMS 3.9.4/3.10 FR3 or higher, because the new version of the VCRedist has also been provided by Microsoft through their Windows Update service.
If you uninstall AIMMS 3.9.4/3.10 FR3 or higher, the new version of the VCRedist will not be removed. That means that the problem described here will still appear after the deinstallation of AIMMS 3.9.4/3.10 FR3 or higher.
As before, for the 64-bit version of AIMMS, both the 32-bit VCRedist and the 64-bit VCRedist need to be installed as a prerequisite.
For more information about the security update for the Microsoft Visual C++ 2005 SP1 redistributable package, see this Microsoft kb-article.
|Keywords:||KB000056, VCRedist; Installation; VC; uninstall; remove; prerequisite; rollback|