Nsight installation problem windows 10 - Setup Wizard ended prematurely because of an error

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:

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


It looks like it's tripping over the "get_VISUALSTUDIO2017LOCATION" action maybe.

Anyway, any help would be appreciated.

Thanks!.
MSI (c) (60:E0) [21:46:32:625]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'C:\Users\holofermes\Downloads


It looks like it's tripping over the "get_VISUALSTUDIO2017LOCATION" action maybe.

Anyway, any help would be appreciated.

Thanks!.
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


It looks like it's tripping over the "get_VISUALSTUDIO2017LOCATION" action maybe.

Anyway, any help would be appreciated.

Thanks!.
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)


It looks like it's tripping over the "get_VISUALSTUDIO2017LOCATION" action maybe.

Anyway, any help would be appreciated.

Thanks!.
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


It looks like it's tripping over the "get_VISUALSTUDIO2017LOCATION" action maybe.

Anyway, any help would be appreciated.

Thanks!.
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


It looks like it's tripping over the "get_VISUALSTUDIO2017LOCATION" action maybe.

Anyway, any help would be appreciated.

Thanks!.
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


It looks like it's tripping over the "get_VISUALSTUDIO2017LOCATION" action maybe.

Anyway, any help would be appreciated.

Thanks!.
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


It looks like it's tripping over the "get_VISUALSTUDIO2017LOCATION" action maybe.

Anyway, any help would be appreciated.

Thanks!.
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


It looks like it's tripping over the "get_VISUALSTUDIO2017LOCATION" action maybe.

Anyway, any help would be appreciated.

Thanks!.
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!

I ran into what I think is the same problem. The installer was looking for “devenv.com” in “C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE” instead of “C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE”. I copied the file over for the duration of the install and now it works.

1 Like

It Work!! Thanks

hey can anyone elaborate , what is this devenv.com I can’t reach the site .


I am also facing the same problem as the op