The issue is the following:
The setup for NVIDIA NSight try to install DX Runtime June 2010 which fails miserably on Win10.
Seriously, WTF is wrong with you NVIDIA ? This is the most unprofessional setup I ever saw.
BEFORE running the installer we are going to put a fake dxsetup.exe at the right location. We will use cmd.exe as a fake setup.
The NVIDIA setup won’t override it, so we will be able to skip the install of DX.
as administrator run this in a console:
(5.4 is for CUDA 9 SDK, 5.2 is for CUDA 8 sdk)
mkdir "C:\Program Files (x86)\NVIDIA Corporation\Nsight Visual Studio Edition 5.4\Host\Redistributables\DirectX (June 2010)\" copy c:\windows\system32\cmd.exe "C:\Program Files (x86)\NVIDIA Corporation\Nsight Visual Studio Edition 5.4\Host\Redistributables\DirectX (June 2010)\DXSETUP.exe"
now run the sdk install, custom setup, check only VSStudio integration.
at some point, you will see our console cmd.exe being executed
and voila !