oneAPI Registration, Download, Licensing and Installation
Support for Getting Started questions related to download, Installation and licensing for Intel oneAPI Toolkits and software development tools.
1323 Discussions

Update and uninstall of OneAPI Toolkits fails

giacomo_c_
Beginner
1,736 Views

Hello,

I cannot uninstall OneAPI Toolkits from my system (Windows 10 Pro 21H2,  Microsoft Visual Studio Community 2019 Version 16.11.14), below a screenshot with the error page.

OneAPI version that I want to remove is 2021.4.

I've already read about a workaround suggested :

Update and uninstall of OneAPI Toolkits fails - Intel Communities

but for me the uninstall/install of VS2019 is not an option because

I have a lot of other extensions and integration currently installed in VS2019.

Is there another way to remove this OneAPI version from VS2019?

 

Best regards

Giacomo

 

error durinf unistall processerror durinf unistall process

0 Kudos
6 Replies
ArpanB_Intel
Moderator
1,712 Views

Hi Giacomo, could you confirm the below information with us>


  • Do you have any other version of Visual Studio installed on your system?
  • Do you have any other version of oneAPI installed on your system?


We would like to know.


0 Kudos
giacomo_c_
Beginner
1,704 Views

Hello,

 

  • I've another version of VS installed:
    • Microsoft Visual Studio Community 2022 (64-bit) - Version 17.1.1. 
    • OneApi toolkits (Base and HPC) are not integrated with VS2022.
  • when I tried the uninstall procedure the OneApi version present was:
    • OneApi Base toolkit 2021.4
    • OneApi HPC toolkit 2021.2 and 2021.
  • After uninstall failure I've removed the Intel extension using the VS2019 extension manager
  • Next, I tried to uninstall OneApi again but the error was the same
  • Then I've installed  
    • OneApi Base toolkit 2022.2
    • OneApi HPC toolkit 2022.2
  • To execute this install I've disabled VS2019 and VS2022 integration

Thank's in advance

Giacomo

0 Kudos
ArpanB_Intel
Moderator
1,678 Views

Giacomo, please follow the below steps to remove VS 2022:


  • Close Intel® installers if any.
  • Uninstall all Microsoft Visual Studio instances and Visual Studio Installer.

Important: check 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, please unregister the DLL using

REGSVR32 /U C:\ProgramData\Microsoft\VisualStudio\Setup\x86\Microsoft.VisualStudio.Setup.Configuration.Native.dll

command in Command Prompt as Administrator, and then rename the file to Backup_Microsoft.VisualStudio.Setup.Configuration.Native.dll so the Intel® Installer can't load it.


Also, please note the VS 2022 17.0.2 was the only version which was fully tested to be compatible with compiler version 2022.2.


0 Kudos
giacomo_c_
Beginner
1,662 Views

Thank's for your support ArpanB.

I try to better explain my problem:

  1. OneAPI version that I want to remove is 2021.4, base and HPC toolkit

  2. Toolkits are integrated only in Microsoft Visual Studio Community 2019 Version 16.11.14

  3. My system is Windows 10 Pro 21H2

  4. I've another version of VS installed: Microsoft Visual Studio Community 2022 (64-bit) - Version 17.1.1.
  5. OneApi toolkits (Base and HPC) are not integrated with VS2022.
  6. Uninstall all Microsoft Visual Studio instances and Visual Studio Installer:  is not an option because

    I have a lot of other extensions and integration currently installed in VS2019 

  7. I remove all Intel extensions from VS2019 using the IDE extension manager

Thank's

 

Giacomo

0 Kudos
ArpanB_Intel
Moderator
1,628 Views

Giacomo, the uninstallation error where a component fails is quite common. Even if you the tools are not integrated to VS2022, we suggest you to follow the above workaround as it will delete any instances or corrupt .dll files that might have been causing the issue. Make sure you remove both VS 22 and VS 2019 and follow the workaround step by step as we had shared earlier.


Let us know if this resolves your issue. We would like to know.


0 Kudos
ArpanB_Intel
Moderator
1,602 Views

Giacomo, unfortunately we were unable to hear back from you.


If you have any further queries, please post a new question as this thread will no longer be monitored by Intel®.


0 Kudos
Reply