Introduction
There are instances when you may encounter an error upon launching LoadGen Studio, particularly on ARM processor-based machines. The error message states: "The following problems were found while checking the requirements for the LoadGen framework: The Microsoft Visual C++ 2015 Redistributable for 32-bit machines is not installed. The Microsoft Visual C++ 2015 Redistributable for 64-bit machines is not installed. Please locate the installers in the Resources folder in the LoadGen Studio program folder."
This error occurs because the VC Runtime installation that comes with LoadGen switches to the ARM version instead of x64.
This article provides a workaround for this issue, although it's important to note that we do not officially support ARM Operating Systems.
Error Details
You will receive the following error message:
The following problems were found while checking the requirements for the LoadGen framework: The Microsoft Visual C++ 2015 Redistributable for 32-bit machines is not installed. The Microsoft Visual C++ 2015 Redistributable for 64-bit machines is not installed. Please locate the installers in the Resources folder in the LoadGen Studio program folder.
Workaround
The workaround involves importing a certain Registry Key. Here's the step-by-step process:
Step 1: Export your current Registry Settings
Before making changes to your registry, make sure to create a backup of your current settings, especially the key: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Dependencies.
To export your registry settings:
- Open Registry Editor (type regedit in the Windows Search bar and hit Enter).
- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Dependencies.
- Right-click on the Dependencies folder, select Export.
- Choose a destination and name for your backup registry file, then click Save.
Step 2: Import the New Registry Key
The next step is to import the new Registry Key. Copy the registry key text provided below into a new text document:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Dependencies]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Dependencies\VC,redist.x64,amd64,14.36,bundle]
@="{8bdfe669-9705-4184-9368-db9ce581e0e7}"
"Version"="14.36.32532.0"
"DisplayName"="Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.36.32532"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Dependencies\VC,redist.x64,amd64,14.36,bundle\Dependents]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Dependencies\VC,redist.x64,amd64,14.36,bundle\Dependents\{8bdfe669-9705-4184-9368-db9ce581e0e7}]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Dependencies\VC,redist.x86,x86,14.36,bundle]
@="{410c0ee1-00bb-41b6-9772-e12c2828b02f}"
"Version"="14.36.32532.0"
"DisplayName"="Microsoft Visual C++ 2015-2022 Redistributable (x86) - 14.36.32532"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Dependencies\VC,redist.x86,x86,14.36,bundle\Dependents]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Dependencies\VC,redist.x86,x86,14.36,bundle\Dependents\{410c0ee1-00bb-41b6-9772-e12c2828b02f}]
Save the file with a .reg extension (for example, FixLoadGenError.reg). Double-click the .reg file to merge it into your system's registry.
After implementing these changes, the error should no longer occur when you start LoadGen Studio. Please note that editing the registry is a sensitive operation, and it should be performed with caution. Always make sure to back up your current settings before making any changes.