Issue Installing NVIDIA Nsight Visual Studio Edition 2025.1.0.25002 and CUDA Toolkit

I had a similar issue using the combined installer for CUDA (cuda_12.8.0_571.96_windows.exe), but I never even got to the point where it displays the error message that you mentioned because the installer would just hang indefinitely as soon as it encountered anything Visual Studio related as described in these issues: CUDA Install hangs forever, Windows 10, GeForce 920m and NVIDIA Nsight Visual Studio Edition 2025.1.0.25002 Setup stuck on "Configuring Visual Studio 2022 settings for Nsight Visual Studio Edition".

I found a workaround as described below:

What worked for me?

  1. Run the Nvidia installer as per usual.

The installer hangs indefinitely at either “Nsight VSE” or “Visual Studio Integration”.

  1. After it has been hanging for a while (I gave it some extra time just to be sure it had actually done its Visual Studio thing), open Task Manager.

Visual Studio 2022 (Preview) with the VS logo will show up in the list of processes.

  1. Kill the VS process.

The Nvidia installer now finishes normally.

So far it seems that everything, including Visual Studio integration, works as without issues and that any VS settings have been updated correctly. At least, finally, I was able to build my C++/CUDA project after going through the procedure described above, whereas before doing so, it didn’t work.

Note: I was in the situation that I didn’t need Nsight or Nsight VSE right now, but I did however need the Visual Studio integration, so I tried all kinds of things, including choosing “Custom” install and deselecting Nsight, Nsight VSE, etc. This workaround may or may not work with Nsight, Nsight VSE and other components enabled in the install. We will find out…