Known Microsoft* Visual Studio 2022 and oneAPI Toolkits Installation Issue

Published: 09/12/2022

Issue Description

Affected versions: Intel® oneAPI Toolkits 2022.1.3 and earlier, Intel® Parallel Studio XE (any version) do not support Microsoft Visual Studio 2022.

Intel® oneAPI Toolkits 2022.1.3 and earlier, Intel® Parallel Studio XE (any version) do not support Microsoft Visual Studio 2022. On systems with Microsoft Visual Studio 2022 installed, Intel® oneAPI and Intel® Parallel Studio XE installers may fail during installation, upgrade, modification, or uninstallation. The issue is caused by incompatibility between oneAPI installers and recent changes in the Microsoft.VisualStudio.Setup.Configuration.Native.dll library provided by Microsoft as part of the Visual Studio installation.

Intel® oneAPI Toolkits 2022.1.3 patch release addresses this issue. However, previous versions are still affected and cannot be fixed. To work around this issue, choose a case that is the closest to your situation and follow the provided instructions.

Workaround

New installation of Intel® oneAPI products

If you do not have any previous versions of Intel® oneAPI or Intel® Parallel Studio products on your system, you can just install the latest release of Intel® oneAPI (2022.1.3 or higher). 

Upgrade to Intel® oneAPI 2022.1.3 and higher

To upgrade from Intel® Parallel Studio XE or previous versions of Intel® oneAPI products to Intel® oneAPI 2022.1.3 and higher:   

  1. Close any running Intel installers.
  2. Uninstall all Microsoft Visual Studio instances and Visual Studio installer.
    Important: Make sure that C:\ProgramData\Microsoft\VisualStudio\Setup\x86\Microsoft.VisualStudio.Setup.Configuration.Native.dll does not exist anymore. If it was not removed with Microsoft Visual Studio for some reason, unregister the DLL using the
    REGSVR32 /U C:\ProgramData\Microsoft\VisualStudio\Setup\x86\Microsoft.VisualStudio.Setup.Configuration.Native.dll
    command in command prompt as administrator and rename the file to Backup_Microsoft.VisualStudio.Setup.Configuration.Native.dll, so that the Intel installer could not load it.
  3. Uninstall previous versions of Intel® Parallel Studio XE and Intel® oneAPI products.
  4. Install the required Microsoft Visual Studio products back.
  5. Install Intel® oneAPI 2022.1.3 or higher. Do not try to install previous versions of Intel® oneAPI or Intel® Parallel Studio XE products.

Intel® Parallel Studio XE installation (Microsoft Visual Studio 2022 not supported)

If you still need to use Intel® Parallel Studio XE products with supported versions of Visual Studio:

  1. Close any running Intel installers.
  2. Uninstall all Microsoft Visual Studio instances and Visual Studio installer.
    Important: Make sure that C:\ProgramData\Microsoft\VisualStudio\Setup\x86\Microsoft.VisualStudio.Setup.Configuration.Native.dll does not exist anymore. If it was not removed with Microsoft Visual Studio for some reason, unregister the DLL using the following command in command prompt as administrator:
    REGSVR32 /U C:\ProgramData\Microsoft\VisualStudio\Setup\x86\Microsoft.VisualStudio.Setup.Configuration.Native.dll
     and rename the file to Backup_Microsoft.VisualStudio.Setup.Configuration.Native.dll, so that the Intel installer could not load it.
  3. Uninstall previous versions of Intel® Parallel Studio XE and Intel® oneAPI products.
  4. Install required versions of Microsoft Visual Studio supported by Intel® Parallel Studio XE. See the full list of supported versions here. For Intel® Parallel Studio XE 2020 Update 4, the supported versions are Visual Studio 2017 15.9 and Visual Studio 2019 16.7.2.
  5. Install Intel® Parallel Studio XE.

 

Alternatively, you can back up and substitute Microsoft.VisualStudio.Setup.Configuration.Native.dll by the similar library from Microsoft Visual Studio 2019 for the time of installation, modification, or uninstallation of Intel® oneAPI or Intel® Parallel Studio XE products, and then move the original one back. Note that this library is being upgraded by Microsoft Visual Studio, so if Microsoft Visual Studio 2022 has ever been installed, the library will most likely be of the new (problematic) version. You need a clean machine to obtain the older version of the library by installing Microsoft Visual Studio 2019.

The following versions of the DLL were tested:

Visual Studio Version

DLL Version

Does it cause

Intel installer issues?

2019

File version: 2.6.2111.5687

Product Version: 2.6.2111+3716221855

No
2022 17.0.5

File version: 3.0.4492.23473

Product version: 3.0.4492+b15bd3af75

No
2022 17.1

File version: 3.1.1126.51066

Product version: 3.1.1126+7ac7de2fa0

Yes

 

Related Information

 

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.