So the registry key ‘HKEY_LOCAL_MACHINE\Software\NVIDIA Corporation\Nsight Tegra’ doesn’t seemingly exist, but because of 32-bit and 64-bit Application Data in the Registry - Win32 apps | Microsoft Learn it was possible
registry access was being filtered to there. Since visual studio 2017’s devenv.exe is a 32-bit process, and is a kind of program where it may make sense to separate registry data for 32-bit and 64-bit instances, it may have opted to prevent redirection to the real HKLM. In short, had to instead go to ‘Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\NVIDIA Corporation’ where I found the ‘Nsight Tegra’ key. It didn’t have Full Control permissions on that key nor the Nvidia Corporation parent key so I just gave users full control as a work around and now it doesn’t crash.
How could this have happened? Maybe in the many attempts to install the plugin I may have succeeded while running as administrator… whether it was using the install bat which invokes vsix installer… So it probably only gave administrator permissions… Causing normal user started visual studio instances to fail due to missing registry key permissions
Anyway, I’ve attached the VSIX for anyone out there that might need it
Microsoft VSIX Installer
-------------------------------------------
vsixinstaller.exe version:
15.6.152+ge95e4dd1ce
-------------------------------------------
Command line parameters:
C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,/q,/a,/s:Community,/v:15.0,C:\Users\vwauser\Downloads\nvidiategra\\Nvidia.Pentak.vsix,/l:NsightTegraVsix15.0Community-install.log,/callingprocessid:13376,/installas:1140
-------------------------------------------
Microsoft VSIX Installer
-------------------------------------------
Initializing Install...
Extension Details...
Identifier : 24554cbd-c19b-4f14-94d6-8d935246fdc4
Name : NVIDIA Nsight Tegra VSE
Author : NVIDIA Corporation
Version : 3.5.18024.1421
Description : NVIDIA Nsight Tegra, Visual Studio Edition
Locale : en-US
MoreInfoURL : https://developer.nvidia.com/nvidia-nsight-tegra
InstalledByMSI : False
SupportedFrameworkVersionRange : [4.5.2,)
SignatureState : Unsigned
Supported Products :
Microsoft.VisualStudio.Community
Version : [12.0,16.0)
Microsoft.VisualStudio.Pro
Version : [12.0,16.0)
Microsoft.VisualStudio.Enterprise
Version : [14.0,16.0)
Microsoft.VisualStudio.Premium
Version : [12.0,14.0)
Microsoft.VisualStudio.Ultimate
Version : [12.0,14.0)
References :
-------------------------------------------------------
Identifier : Microsoft.VisualStudio.MPF
Name : Visual Studio MPF
Version : [11.0,12.0)
MoreInfoURL :
Nested : No
Prerequisites :
-------------------------------------------------------
Identifier : Microsoft.VisualStudio.Component.VC.CoreIde
Name : Visual Studio C++ core features
Version : [12.0,16.0)
-------------------------------------------------------
Identifier : Microsoft.Component.MSBuild
Name : MSBuild
Version : [12.0,16.0)
-------------------------------------------------------
Identifier : Microsoft.VisualStudio.Component.CoreEditor
Name : Visual Studio core editor
Version : [12.0,16.0)
-------------------------------------------------------
Identifier : Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core
Name : Visual C++ core desktop features
Version : [12.0,16.0)
Signature Details...
Extension is not signed.
@('.\Nvidia.PentaK-3.5.18024.1421-NsightTegraVsix15.0Community-install.zip', '.\Nvidia.PentaK.vsix','.\i
nstall.bat','.\vsix_actions.bat') | % {$f=$_; @('md5','sha1','sha256') | % {$n=Get-FileHash -Algorithm $_ $f;$a=@{Algorithm=$_;Hash=$n.Hash;name=(gc
i $n.Path).Name};New-Object PSObject -Property $a }}
>>
Hash name Algorithm
---- ---- ---------
F6C729706F9DD83234AB5615E17A5AF2 Nvidia.PentaK-3.5.18024.1421-NsightTegraVsix15.0Community-install.zip md5
2342438FBADBCEA1554517FB0095561C11800DD2 Nvidia.PentaK-3.5.18024.1421-NsightTegraVsix15.0Community-install.zip sha1
8252AB20FAD3810CD9D82A8EB12994957DB64CF3DFC33CA826162D8A80A0250A Nvidia.PentaK-3.5.18024.1421-NsightTegraVsix15.0Community-install.zip sha256
466717B3A2BCCBE7B83F4E280983151D Nvidia.PentaK.vsix md5
8078AF7F391292395670D58F541233D1F8C2ADF0 Nvidia.PentaK.vsix sha1
29156663ADC60C95198DCD567DFD59741F448CB6CB8FB361878CE0154DD4FD8F Nvidia.PentaK.vsix sha256
4570B554BDD62248745DADF99A5D1E77 install.bat md5
9E7161C13B70371A6B85D9586BDC63B8228E668C install.bat sha1
922639C4638B3136BCA44B599C24B12D525DB14540E19C6A31F3B9AD56B0941A install.bat sha256
A82734CA4E57E8CDFC3FDA6F44805C9E vsix_actions.bat md5
ED68320ABA0E0121B26DDFCE76CCB00AAEA50462 vsix_actions.bat sha1
BDB79BE421A49B75D70605BABF608B7B17E1190B45C054F208885AFD3B4B41CE vsix_actions.bat sha256
Nvidia.PentaK-3.5.18024.1421-NsightTegraVsix15.0Community-install.zip (9.29 MB)