NVIDIA® Nsight™ Visual Studio Edition 5.3 is now available.

NVIDIA® Nsight™ Visual Studio Edition 5.3 is now available for download in the NVIDIA Registered Developer Program.
This release provides developers frame debugging and profiling support for Direct3D 9/11/12, OpenGL, and Vulkan applications with newly added support for OpenVR, Visual Studio 2017, Microsoft Hybrid laptops, and the latest Pascal GPUs.

Take a look at some of the highlights in the new NVIDIA® Nsight™ Visual Studio Edition 5.3 release:

• Support for Microsoft Hybrid laptops, including frame debugging and profiling with Direct3D 9/11/12, OpenGL, and Vulkan applications
• Khronos Vulkan support has been extended to support HUD, frame capture, and serialization
• New Virtual Reality features include:
	○ OpenVR support for HTC Vive on Direct3D11 and OpenGL VR applications now complements our Oculus SDK support including:
		- frame debugging
		- profiling
		- analysis
		- tracing
		- serialize frame captures with API calls and generate source code
		- event list viewing
		- VR state examination with the VR Inspector
• New Shaders View provides:
	○ programs and pipelines including links to shader source and microcode
	○ statistics
	○ extended information on the currently selected shader
• Workflow improvements include:
	○ captures now include screen shot of the rendered image
	○ serialized frame captures with code generation and perf markers make a single frame a focused, tweakable project for easy replay and experimentation.
	○ filtering of resources and events
	○ initiating profiling from the Frame Debugger’s
		- Event View push/pop range
		- Event View action
		- Scubber View action
		- Range Profiler action
	○ normalizing textures and render targets from the HUD
	○ Range Profiler now shows action and incremental timing
• Added additional OpenGL API function support
• Added additional Vulkan API function support
• Support for Visual Studio 2017, including Enterprise, Pro, and Community editions
• Support for the latest Pascal GPUs

Nsight Visual Studio Edition Overview:
https://developer.nvidia.com/nvidia-nsight-visual-studio-edition

See all the new features of the Nsight Visual Studio Edition 5.3 and download it today!
New Features: https://developer.nvidia.com/nsight-visual-studio-edition-5_3-new-features

To download this version, you must be a member of the NVIDIA Developer Program and signed into your account: https://developer.nvidia.com/nsight-visual-studio-edition-downloads

I am signed into my NVIDIA Developer Program account. When I try and download from https://developer.nvidia.com/rdp/assets/nsight-visual-studio-5_3-win64-no-cuda-toolkit-installer
I get “Membership Required” “The content you requested requires membership in the GameWorks Developer Program. Please login if you are already a member, or join today.”

What should I do?

Is it possible your login has expired. Please log out and back in. What browser are you using?

I have tried with Edge, IE11 and Chrome. In each case I get the same response, even if I log out and log back in again.

Hello, how about the supporting for gtx1080ti? Has this bug been fixed?
https://devtalk.nvidia.com/default/topic/1011533/nsight-visual-studio-edition/cuda-grid-launch-failed-error-for-gtx1080ti-vs2015-win10-nsight5-2/

@SimonF-D - Apparently some NVIDIA Developer/GameWorks/DesignWorks accounts were not authorized for this download. This should be fixed now.

@EternalSaga - unfortunately, the CUDA grid launch failure has not been resolved. However, if you can use your gtx780ti as the graphics device and run the gtx1080ti as your CUDA device, then
Nsight > Options > CUDA > Preemption Preference = “Prefer No software Preemption”
may work around the grid launch failure.

Thanks Nvidia, works for me now.

Oh, that’s so sad.

Great work! Really dig the new shader view and the performance metrics - the less guesswork, the better.

However, is there any way to actually see the microcode for GLSL programs? All I’m able to see is the original shader code.

I’m running on a GTX1060 with with driver version 382.33.

Thank you!

The new versio is great, thanks for that. A minor detail is, that serialized frame captures will not compile for me against the 10.0.15063.0 Windows 10 SDK version, only if I use an earlier version like 10.0.14393. Not a big deal but I just got stuck on it for some time before I realized this.

Hi all,

I am unable to install NVIDIA_Nsight_Visual_Studio_Edition_Win64_5.3.0.17162.

I am on windows 10.

The msi installer immediately opens up with the error:

...Setup Wizard ended prematurely because of an error...

I enabled logging for msi installer following this:
https://support.microsoft.com/en-us/help/223300/how-to-enable-windows-installer-logging

And finally, the msi produced a more detailed message:

=== Verbose logging started: 6/28/2017  21:46:30  Build type: SHIP UNICODE 5.00.10011.00  Calling process: C:\WINDOWS\System32\msiexec.exe ===
MSI (c) (60:DC) [21:46:30:217]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (60:DC) [21:46:30:218]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (60:E0) [21:46:30:235]: Resetting cached policy values
MSI (c) (60:E0) [21:46:30:235]: Machine policy value 'Debug' is 0
MSI (c) (60:E0) [21:46:30:235]: ******* RunEngine:
           ******* Product: C:\Users\holofermes\Downloads\NVIDIA_Nsight_Visual_Studio_Edition_Win64_5.3.0.17162 (2).msi
           ******* Action: 
           ******* CommandLine: **********
MSI (c) (60:E0) [21:46:30:236]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (60:E0) [21:46:30:255]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Users\holofermes\Downloads\NVIDIA_Nsight_Visual_Studio_Edition_Win64_5.3.0.17162 (2).msi' against software restriction policy
MSI (c) (60:E0) [21:46:30:257]: SOFTWARE RESTRICTION POLICY: C:\Users\holofermes\Downloads\NVIDIA_Nsight_Visual_Studio_Edition_Win64_5.3.0.17162 (2).msi has a digital signature
MSI (c) (60:E0) [21:46:32:592]: SOFTWARE RESTRICTION POLICY: C:\Users\holofermes\Downloads\NVIDIA_Nsight_Visual_Studio_Edition_Win64_5.3.0.17162 (2).msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (60:E0) [21:46:32:596]: Cloaking enabled.
MSI (c) (60:E0) [21:46:32:596]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (60:E0) [21:46:32:598]: End dialog not enabled
MSI (c) (60:E0) [21:46:32:598]: Original package ==> C:\Users\holofermes\Downloads\NVIDIA_Nsight_Visual_Studio_Edition_Win64_5.3.0.17162 (2).msi
MSI (c) (60:E0) [21:46:32:598]: Package we're running from ==> C:\Users\holofermes\Downloads\NVIDIA_Nsight_Visual_Studio_Edition_Win64_5.3.0.17162 (2).msi
MSI (c) (60:E0) [21:46:32:601]: APPCOMPAT: Compatibility mode property overrides found.
MSI (c) (60:E0) [21:46:32:602]: APPCOMPAT: looking for appcompat database entry with ProductCode '{9512F355-0967-49D8-AF15-DA7A797CCC7A}'.
MSI (c) (60:E0) [21:46:32:602]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (60:E0) [21:46:32:609]: MSCOREE not loaded loading copy from system32
MSI (c) (60:E0) [21:46:32:611]: Machine policy value 'TransformsSecure' is 0
MSI (c) (60:E0) [21:46:32:611]: User policy value 'TransformsAtSource' is 0
MSI (c) (60:E0) [21:46:32:612]: Machine policy value 'DisablePatch' is 0
MSI (c) (60:E0) [21:46:32:612]: Machine policy value 'AllowLockdownPatch' is 0
MSI (c) (60:E0) [21:46:32:612]: Machine policy value 'DisableMsi' is 0
MSI (c) (60:E0) [21:46:32:612]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (60:E0) [21:46:32:612]: User policy value 'AlwaysInstallElevated' is 0
MSI (c) (60:E0) [21:46:32:612]: Running product '{9512F355-0967-49D8-AF15-DA7A797CCC7A}' with user privileges: It's not assigned.
MSI (c) (60:E0) [21:46:32:612]: Machine policy value 'DisableLUAPatching' is 0
MSI (c) (60:E0) [21:46:32:612]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (c) (60:E0) [21:46:32:612]: Enabling baseline caching for this transaction since all active patches are MSI 3.0 style MSPs or at least one MSI 3.0 minor update patch is active
MSI (c) (60:E0) [21:46:32:613]: APPCOMPAT: looking for appcompat database entry with ProductCode '{9512F355-0967-49D8-AF15-DA7A797CCC7A}'.
MSI (c) (60:E0) [21:46:32:613]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (60:E0) [21:46:32:613]: Transforms are not secure.
MSI (c) (60:E0) [21:46:32:613]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\Users\HOLOFE~1\AppData\Local\Temp\MSI45cc0.LOG'.
MSI (c) (60:E0) [21:46:32:613]: Command Line: CURRENTDIRECTORY=C:\Users\holofermes\Downloads CLIENTUILEVEL=0 CLIENTPROCESSID=15968 
MSI (c) (60:E0) [21:46:32:613]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{831169B7-9E89-4728-9911-DA81A1963272}'.
MSI (c) (60:E0) [21:46:32:613]: Product Code passed to Engine.Initialize:           ''
MSI (c) (60:E0) [21:46:32:613]: Product Code from property table before transforms: '{9512F355-0967-49D8-AF15-DA7A797CCC7A}'
MSI (c) (60:E0) [21:46:32:613]: Product Code from property table after transforms:  '{9512F355-0967-49D8-AF15-DA7A797CCC7A}'
MSI (c) (60:E0) [21:46:32:613]: Product not registered: beginning first-time install
MSI (c) (60:E0) [21:46:32:613]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
MSI (c) (60:E0) [21:46:32:613]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (60:E0) [21:46:32:613]: User policy value 'SearchOrder' is 'nmu'
MSI (c) (60:E0) [21:46:32:613]: Adding new sources is allowed.
MSI (c) (60:E0) [21:46:32:613]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (c) (60:E0) [21:46:32:613]: Package name extracted from package path: 'NVIDIA_Nsight_Visual_Studio_Edition_Win64_5.3.0.17162 (2).msi'
MSI (c) (60:E0) [21:46:32:613]: Package to be registered: 'NVIDIA_Nsight_Visual_Studio_Edition_Win64_5.3.0.17162 (2).msi'
MSI (c) (60:E0) [21:46:32:613]: Note: 1: 2262 2: AdminProperties 3: -2147287038 
MSI (c) (60:E0) [21:46:32:613]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (60:E0) [21:46:32:613]: User policy value 'AlwaysInstallElevated' is 0
MSI (c) (60:E0) [21:46:32:613]: Running product '{9512F355-0967-49D8-AF15-DA7A797CCC7A}' with user privileges: It's not assigned.
MSI (c) (60:E0) [21:46:32:613]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:\Users\holofermes\Downloads'.
MSI (c) (60:E0) [21:46:32:614]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '0'.
MSI (c) (60:E0) [21:46:32:614]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '15968'.
MSI (c) (60:E0) [21:46:32:614]: PROPERTY CHANGE: Adding MsiSystemRebootPending property. Its value is '1'.
MSI (c) (60:E0) [21:46:32:614]: TRANSFORMS property is now: 
MSI (c) (60:E0) [21:46:32:614]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '405'.
MSI (c) (60:E0) [21:46:32:614]: SHELL32::SHGetFolderPath returned: C:\Users\holofermes\AppData\Roaming
MSI (c) (60:E0) [21:46:32:614]: SHELL32::SHGetFolderPath returned: C:\Users\holofermes\Favorites
MSI (c) (60:E0) [21:46:32:614]: SHELL32::SHGetFolderPath returned: C:\Users\holofermes\AppData\Roaming\Microsoft\Windows\Network Shortcuts
MSI (c) (60:E0) [21:46:32:614]: SHELL32::SHGetFolderPath returned: C:\Users\holofermes\Documents
MSI (c) (60:E0) [21:46:32:614]: SHELL32::SHGetFolderPath returned: C:\Users\holofermes\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
MSI (c) (60:E0) [21:46:32:615]: SHELL32::SHGetFolderPath returned: C:\Users\holofermes\AppData\Roaming\Microsoft\Windows\Recent
MSI (c) (60:E0) [21:46:32:615]: SHELL32::SHGetFolderPath returned: C:\Users\holofermes\AppData\Roaming\Microsoft\Windows\SendTo
MSI (c) (60:E0) [21:46:32:615]: SHELL32::SHGetFolderPath returned: C:\Users\holofermes\AppData\Roaming\Microsoft\Windows\Templates
MSI (c) (60:E0) [21:46:32:615]: SHELL32::SHGetFolderPath returned: C:\ProgramData
MSI (c) (60:E0) [21:46:32:615]: SHELL32::SHGetFolderPath returned: C:\Users\holofermes\AppData\Local
MSI (c) (60:E0) [21:46:32:615]: SHELL32::SHGetFolderPath returned: C:\Users\holofermes\Pictures
MSI (c) (60:E0) [21:46:32:615]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (60:E0) [21:46:32:615]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (60:E0) [21:46:32:615]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
MSI (c) (60:E0) [21:46:32:615]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu
MSI (c) (60:E0) [21:46:32:615]: SHELL32::SHGetFolderPath returned: C:\Users\Public\Desktop
MSI (c) (60:E0) [21:46:32:616]: SHELL32::SHGetFolderPath returned: C:\Users\holofermes\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (60:E0) [21:46:32:616]: SHELL32::SHGetFolderPath returned: C:\Users\holofermes\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (60:E0) [21:46:32:616]: SHELL32::SHGetFolderPath returned: C:\Users\holofermes\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
MSI (c) (60:E0) [21:46:32:616]: SHELL32::SHGetFolderPath returned: C:\Users\holofermes\AppData\Roaming\Microsoft\Windows\Start Menu
MSI (c) (60:E0) [21:46:32:616]: SHELL32::SHGetFolderPath returned: C:\Users\holofermes\Desktop
MSI (c) (60:E0) [21:46:32:616]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Templates
MSI (c) (60:E0) [21:46:32:617]: SHELL32::SHGetFolderPath returned: C:\WINDOWS\Fonts
MSI (c) (60:E0) [21:46:32:617]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16 
MSI (c) (60:E0) [21:46:32:624]: MSI_LUA: Setting AdminUser property to 1 because this is the client or the user has already permitted elevation
MSI (c) (60:E0) [21:46:32:624]: PROPERTY CHANGE: Adding AdminUser property. Its value is '1'.
MSI (c) (60:E0) [21:46:32:624]: PROPERTY CHANGE: Adding Privileged property. Its value is '1'.
MSI (c) (60:E0) [21:46:32:625]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2 
MSI (c) (60:E0) [21:46:32:625]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2 
MSI (c) (60:E0) [21:46:32:625]: PROPERTY CHANGE: Adding DATABASE property. Its value is 'C:\Users\holofermes\Downloads\NVIDIA_Nsight_Visual_Studio_Edition_Win64_5.3.0.17162 (2).msi'.
MSI (c) (60:E0) [21:46:32:625]: PROPERTY CHANGE: Adding OriginalDatabase property. Its value is 'C:\Users\holofermes\Downloads\NVIDIA_Nsight_Visual_Studio_Edition_Win64_5.3.0.17162 (2).msi'.
MSI (c) (60:E0) [21:46:32:625]: Machine policy value 'MsiDisableEmbeddedUI' is 0
MSI (c) (60:E0) [21:46:32:625]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'C:\Users\holofermes\Downloads\'.
MSI (c) (60:E0) [21:46:32:625]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'C:\Users\holofermes\Downloads\'.
MSI (c) (60:DC) [21:46:32:625]: PROPERTY CHANGE: Adding VersionHandler property. Its value is '5.00'.
=== Logging started: 6/28/2017  21:46:32 ===
MSI (c) (60:E0) [21:46:32:631]: Note: 1: 2205 2:  3: PatchPackage 
MSI (c) (60:E0) [21:46:32:631]: Machine policy value 'DisableRollback' is 0
MSI (c) (60:E0) [21:46:32:631]: User policy value 'DisableRollback' is 0
MSI (c) (60:E0) [21:46:32:632]: PROPERTY CHANGE: Adding UILevel property. Its value is '5'.
MSI (c) (60:E0) [21:46:32:632]: Note: 1: 2203 2: C:\WINDOWS\Installer\inprogressinstallinfo.ipi 3: -2147287038 
MSI (c) (60:E0) [21:46:32:633]: APPCOMPAT: [DetectVersionLaunchCondition] Launch condition already passes.
MSI (c) (60:E0) [21:46:32:633]: PROPERTY CHANGE: Adding SHIMFLAGS property. Its value is '512'.
MSI (c) (60:E0) [21:46:32:634]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'.
MSI (c) (60:E0) [21:46:32:634]: Doing action: INSTALL
Action 21:46:32: INSTALL. 
Action start 21:46:32: INSTALL.
MSI (c) (60:E0) [21:46:32:634]: UI Sequence table 'InstallUISequence' is present and populated.
MSI (c) (60:E0) [21:46:32:634]: Running UISequence
MSI (c) (60:E0) [21:46:32:634]: PROPERTY CHANGE: Adding EXECUTEACTION property. Its value is 'INSTALL'.
MSI (c) (60:E0) [21:46:32:634]: Doing action: ProgramMenuFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A
Action 21:46:32: ProgramMenuFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A. 
Action start 21:46:32: ProgramMenuFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A.
MSI (c) (60:E0) [21:46:32:635]: PROPERTY CHANGE: Adding ProgramMenuFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A property. Its value is 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\'.
Action ended 21:46:32: ProgramMenuFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A. Return value 1.
MSI (c) (60:E0) [21:46:32:635]: Doing action: ProgramFilesFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A
Action 21:46:32: ProgramFilesFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A. 
Action start 21:46:32: ProgramFilesFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A.
MSI (c) (60:E0) [21:46:32:635]: PROPERTY CHANGE: Adding ProgramFilesFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A property. Its value is 'C:\Program Files (x86)\'.
Action ended 21:46:32: ProgramFilesFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A. Return value 1.
MSI (c) (60:E0) [21:46:32:635]: Doing action: ProgramFiles64Folder.998C53D5_36AE_41E2_AF7B_38D475B8114A
Action 21:46:32: ProgramFiles64Folder.998C53D5_36AE_41E2_AF7B_38D475B8114A. 
Action start 21:46:32: ProgramFiles64Folder.998C53D5_36AE_41E2_AF7B_38D475B8114A.
MSI (c) (60:E0) [21:46:32:636]: PROPERTY CHANGE: Adding ProgramFiles64Folder.998C53D5_36AE_41E2_AF7B_38D475B8114A property. Its value is 'C:\Program Files\'.
Action ended 21:46:32: ProgramFiles64Folder.998C53D5_36AE_41E2_AF7B_38D475B8114A. Return value 1.
MSI (c) (60:E0) [21:46:32:636]: Doing action: StartMenuFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A
Action 21:46:32: StartMenuFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A. 
Action start 21:46:32: StartMenuFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A.
MSI (c) (60:E0) [21:46:32:636]: PROPERTY CHANGE: Adding StartMenuFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A property. Its value is 'C:\ProgramData\Microsoft\Windows\Start Menu\'.
Action ended 21:46:32: StartMenuFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A. Return value 1.
MSI (c) (60:E0) [21:46:32:636]: Doing action: DesktopFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A
Action 21:46:32: DesktopFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A. 
Action start 21:46:32: DesktopFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A.
MSI (c) (60:E0) [21:46:32:637]: PROPERTY CHANGE: Adding DesktopFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A property. Its value is 'C:\Users\Public\Desktop\'.
Action ended 21:46:32: DesktopFolder.998C53D5_36AE_41E2_AF7B_38D475B8114A. Return value 1.
MSI (c) (60:E0) [21:46:32:637]: Doing action: SystemFolder_x86_VC.194841A2_D0F2_3B96_9F71_05BA91BEA0FA
Action 21:46:32: SystemFolder_x86_VC.194841A2_D0F2_3B96_9F71_05BA91BEA0FA. 
Action start 21:46:32: SystemFolder_x86_VC.194841A2_D0F2_3B96_9F71_05BA91BEA0FA.
MSI (c) (60:E0) [21:46:32:637]: PROPERTY CHANGE: Adding SystemFolder_x86_VC.194841A2_D0F2_3B96_9F71_05BA91BEA0FA property. Its value is 'C:\WINDOWS\SysWOW64\'.
Action ended 21:46:32: SystemFolder_x86_VC.194841A2_D0F2_3B96_9F71_05BA91BEA0FA. Return value 1.
MSI (c) (60:E0) [21:46:32:637]: Doing action: System64Folder_amd64_VC.05F0B5F5_44A8_3793_976B_A4F17AECF92C
Action 21:46:32: System64Folder_amd64_VC.05F0B5F5_44A8_3793_976B_A4F17AECF92C. 
Action start 21:46:32: System64Folder_amd64_VC.05F0B5F5_44A8_3793_976B_A4F17AECF92C.
MSI (c) (60:E0) [21:46:32:637]: PROPERTY CHANGE: Adding System64Folder_amd64_VC.05F0B5F5_44A8_3793_976B_A4F17AECF92C property. Its value is 'C:\WINDOWS\system32\'.
Action ended 21:46:32: System64Folder_amd64_VC.05F0B5F5_44A8_3793_976B_A4F17AECF92C. Return value 1.
MSI (c) (60:E0) [21:46:32:637]: Doing action: FindRelatedProducts
Action 21:46:32: FindRelatedProducts. Searching for related applications
Action start 21:46:32: FindRelatedProducts.
FindRelatedProducts: Found application: {39F2CF8F-DE76-49F1-85D5-FC215853B709}
MSI (c) (60:E0) [21:46:32:638]: PROPERTY CHANGE: Adding PREVIOUSVERSIONSINSTALLED property. Its value is '{39F2CF8F-DE76-49F1-85D5-FC215853B709}'.
MSI (c) (60:E0) [21:46:32:638]: PROPERTY CHANGE: Adding MIGRATE property. Its value is '{39F2CF8F-DE76-49F1-85D5-FC215853B709}'.
Action ended 21:46:32: FindRelatedProducts. Return value 1.
MSI (c) (60:E0) [21:46:32:638]: Doing action: get_VISUALSTUDIO2017LOCATION
Action 21:46:32: get_VISUALSTUDIO2017LOCATION. 
Action start 21:46:32: get_VISUALSTUDIO2017LOCATION.
MSI (c) (60:E0) [21:46:32:671]: Creating MSIHANDLE (1) of type 790542 for thread 5856
MSI (c) (60:A0) [21:46:32:671]: Invoking remote custom action. DLL: C:\Users\HOLOFE~1\AppData\Local\Temp\MSI6646.tmp, Entrypoint: InitializeVS2017Properties
MSI (c) (60:5C) [21:46:32:672]: Cloaking enabled.
MSI (c) (60:5C) [21:46:32:672]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (60:5C) [21:46:32:673]: Connected to service for CA interface.
MSI (c) (60!6C) [21:46:32:762]: Creating MSIHANDLE (2) of type 790531 for thread 15212
SFXCA: Extracting custom action to temporary directory: C:\Users\HOLOFE~1\AppData\Local\Temp\MSI6646.tmp-\
MSI (c) (60!6C) [21:46:32:763]: Closing MSIHANDLE (2) of type 790531 for thread 15212
MSI (c) (60!6C) [21:46:32:826]: Creating MSIHANDLE (3) of type 790531 for thread 15212
SFXCA: Binding to CLR version v4.0.30319
MSI (c) (60!6C) [21:46:32:827]: Closing MSIHANDLE (3) of type 790531 for thread 15212
MSI (c) (60!6C) [21:46:32:863]: Creating MSIHANDLE (4) of type 790531 for thread 15212
Calling custom action VSInstanceFinder!VSInstanceFinder.CustomActions.InitializeVS2017Properties
MSI (c) (60!6C) [21:46:32:866]: Closing MSIHANDLE (4) of type 790531 for thread 15212
MSI (c) (60!6C) [21:46:32:881]: Creating MSIHANDLE (5) of type 790531 for thread 15212
Exception thrown by custom action:
MSI (c) (60!6C) [21:46:32:882]: Closing MSIHANDLE (5) of type 790531 for thread 15212
MSI (c) (60!6C) [21:46:32:884]: Creating MSIHANDLE (6) of type 790531 for thread 15212
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'VSInstanceFinder.CustomActions' threw an exception. ---> System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
   at Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetDisplayName(Int32 lcid)
   at VSInstanceFinder.VSInstance..ctor(ISetupInstance instance)
   at VSInstanceFinder.VSInstanceContainer..ctor()
   at VSInstanceFinder.CustomActions..cctor()
   --- End of inner exception stack trace ---
   at VSInstanceFinder.CustomActions.InitializeVS2017Properties(Session session)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
   at Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomAction(Int32 sessionHandle, String entryPoint, IntPtr remotingDelegatePtr)
MSI (c) (60!6C) [21:46:32:885]: Closing MSIHANDLE (6) of type 790531 for thread 15212
CustomAction get_VISUALSTUDIO2017LOCATION returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (c) (60:A0) [21:46:32:894]: Closing MSIHANDLE (1) of type 790542 for thread 5856
Action ended 21:46:32: get_VISUALSTUDIO2017LOCATION. Return value 3.
MSI (c) (60:E0) [21:46:32:895]: Doing action: FatalErrorCustom
Action 21:46:32: FatalErrorCustom. 
Action start 21:46:32: FatalErrorCustom.
Info 2898. For WixUI_Font_Normal textstyle, the system created a 'Tahoma' font, in 0 character set, of 13 pixels height.
Info 2898. For WixUI_Font_Bigger textstyle, the system created a 'Tahoma' font, in 0 character set, of 19 pixels height.
Action 21:46:32: FatalErrorCustom. Dialog created
MSI (c) (60:F0) [21:46:32:913]: Note: 1: 2731 2: 0 
Action ended 21:46:34: FatalErrorCustom. Return value 2.
Action ended 21:46:34: INSTALL. Return value 3.
MSI (c) (60:E0) [21:46:34:144]: Destroying RemoteAPI object.
MSI (c) (60:5C) [21:46:34:145]: Custom Action Manager thread ending.
Property(C): DiskPrompt = NVIDIA Nsight Visual Studio Edition 5.3.0.17162 Installation
Property(C): UpgradeCode = {5C0261A2-00D2-45C8-8F45-71A1AF7586B3}
Property(C): ARPNOMODIFY = 1
Property(C): ARPNOREPAIR = 1
Property(C): ALLUSERS = 1
Property(C): HOSTREQUIREMENTSPASSED = false
Property(C): MONITORREQUIREMENTSPASSED = false
Property(C): DOTNETFRAMEWORK4EXISTS = false
Property(C): DOTNETFRAMEWORK4REQUIREMENTSPASS = false
Property(C): VISUALSTUDIO2010REQUIREMENTSPASS = false
Property(C): VISUALSTUDIO2012REQUIREMENTSPASS = false
Property(C): VISUALSTUDIO2013REQUIREMENTSPASS = false
Property(C): VISUALSTUDIO2015REQUIREMENTSPASS = false
Property(C): VISUALSTUDIO2017REQUIREMENTSPASS = false
Property(C): INSTALL_VS2017 = no
Property(C): UNINSTALL_VS2017 = no

It looks like it’s tripping over the “get_VISUALSTUDIO2017LOCATION” action maybe.

Anyway, any help would be appreciated.

Thanks!

Hi User holofernes,

First sorry for the inconvenience that has taken to you. Could you please provide more information about you environment?

  1. What instance for VS 2017 you installed? Professional , Enterprise or community ?
  2. Do you install any other VS instance on your host? For example both Visual studio 2017 and pre VS 2017 version(eg: Vs2010/VS2012/VS2015…)
  3. Which version of Visual Studio 2017 you installed? 15.2 or 15.1?
  4. Which windows 10 version you worked on, RS1 or RS2?

Thanks & Best Wishes
Amy Liu

Hi Amy,

Here is my environment

  1. VS 2017 community
  2. I don’t but my current installation is the result of a “restore”, so I used to have several versions installed, but in theory should all be gone by now… but there could be some traces left in the register…
  3. 15.2 (26430.14)
  4. Windows 10 home insider preview version 1703 build 16184.rs_prerelease.170424-2211

Hi User holofernes,
I tried with your environment the only difference is I use VS 2017 community 15.2(26430.15). But still cannot reproduce your issue.
From the log you attached, I found some other VS instance detected see the following

FindRelatedProducts: Found application: {39F2CF8F-DE76-49F1-85D5-FC215853B709}
MSI (c) (60:E0) [21:46:32:638]: PROPERTY CHANGE: Adding PREVIOUSVERSIONSINSTALLED property. Its value is '{39F2CF8F-DE76-49F1-85D5-FC215853B709}'.
MSI (c) (60:E0) [21:46:32:638]: PROPERTY CHANGE: Adding MIGRATE property. Its value is '{39F2CF8F-DE76-49F1-85D5-FC215853B709}'.
Action ended 21:46:32: FindRelatedProducts. Return value 1.

so please check if this application is not uninstall successfully on your system. I doubt this may be the issue. Please make sure it has been uninstalled from your host and then retry. If the problem still exist please let us know.

Thanks.
Amy