cling icon indicating copy to clipboard operation
cling copied to clipboard

[Windows] RegQueryValueEx<InstallationFolder>: returned 2: The system cannot find the file specified

Open SylvainCorlay opened this issue 6 years ago • 2 comments

We were able to package cling 0.6 for conda-forge on windows, but we are seeing this error message upon startup:

[Windows] RegQueryValueEx<InstallationFolder>: returned 2: The system cannot find the file specified

CLING-WINDOWS

SylvainCorlay avatar Nov 21 '19 23:11 SylvainCorlay

I didn't install using Conda but rather built from source (37ee0fa6126b8c3c4c1138abc0e03da261bd0b8d); however, I get a similar, but more verbose, error on startup:

RegQueryValueEx(InstallDir): returned 2: The system cannot find the file specified.
RegOpenKeyEx(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VCExpress\14.0\InstallDir): returned 2: The system cannot find the file specified.

However, I noticed that this error occurs only when running Cling from an ordinary cmd shell. When I run it from the MSVC developer command-line, I don't get the error.

I haven't found any affected functionality yet, though.

jbsolomon avatar Mar 06 '20 14:03 jbsolomon