Issue:
An incorrect value exists in the Projectinfo.txt file that is part of all of various STK/ODTK 26R1 / 13.1 installation meda(s). This results in message saying
"An Error has occurred during installation"

clicking View Installation log button reveals this error...
[Information] Installing Microsoft Visual C++ 2017-2026 Redistributable x64...
[Information] Running command C:\Users\<UserName>\Downloads\Ansys_STK_Premium_ODTK_v13.1.0\Prerequisites\VC 2026 Redist 14.50.35719\x64\VC_redist.x64.exe /quiet /norestart
[Error] Microsoft Visual C++ 2017-2026 Redistributable x64 failed during installation.
[Information] An error has occurred during installation. Please contact support for assistance.
Specific Details :
In AGI installation download subfolder, locate this file...
"…\Prerequisites\VC 2026 Redist 14.50.35719\x64\ProjectInfo.txt"
Where in ProjectInfo.txt value below is incorrect (resolved in 27R1 release)
ProductRegKey=HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{d21da0dd-4ba4-4838-ba58-64cf7a77131a}
Resolution Details:
Option 1) Replace the file with incorrect value with attached.
I figured it may be more helpful to provide a replacement txt file (or zip in case emailing text files is blocked). Here's some steps in case they are needed too.
Open the STK ODTK 13.1 ISO or ZIP file.
Extract (if using the zip file), or copy the entire contents (if using the ISO file) to another folder on the system (e.g. c:\temp\stkodtk13.1)
Once copied/extracted, navigate to the c:\temp\stkodtk13.1\Prerequisites\VC 2026 Redist 14.50.35719 folder
Copy the ProjectInfo.txt file to that folder, overwriting the existing one
If using the ProjectInfo.zip file, please make sure they extract the .txt file into that location.
Run install.exe located in c:\temp\stkodtk13.1
Option 2) Edit the Projectinfo.txt file where…
ProductRegKey=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\X64
Should have
ProductVersion=14.50.35719.0
Then rerun installer which will check the path , find version , check that they match it doesn't do anything. If they don't match then it will install it.
Option 3) If VC 2026 Redist 14.50.35719 or newer is already installed on the computer because you got it elsewhere
- Browse to the root of the AGI Installer download locate the file install_config.xml" below at same level as install.exe
- Edit install_config.xml and remove the the line and run the install.
<InstallItem Name="Microsoft Visual C++ 2017-2026 Redistributable x64" InstallPath="Prerequisites\VC 2026 Redist 14.50.35719\x64" InstallType="EXE" Visible="false"/>
- Rerun the installer and it should succeed without errors