When I try to install CUDA 10 toolkit it says NVIDIA installer failed and in the window it shows that Nsight Compute failed


When I try to uninstall “NVIDIA Nsight Compute v1.0” it shows this-
2

What can be done to install CUDA 10 toolkit without failure again?

If you are missing the msi file from your installation, you can simply delete the Nsight Compute installation directory, i.e.

C:\Program Files\NVIDIA Corporation\Nsight Compute <version>

and then remove the entry from the Programs and Features control.

You can also try to to re-install Nsight Compute 1.0 again from https://developer.nvidia.com/rdp/assets/nsight-compute-1_0-Win64-installer to see if this fixes your installation

At first i did not have Nsight Compute installation directory in NVIDIA corporation with version 1.0. I installed Nsight Compute 1.0 from the given link above. Then I got the directory for Nisght Compute version 1.0. I deleted the directory.
I still cannot delete the entry from programs and features. Getting the same error as before.

The installer team recommended to try a clean install/uninstall with the installer package linked in my previous post, i.e. without deleting the directory manually in between.