dotnet / vscode-dotnet-pack

.NET Extension Pack for VSCode. The best of C#, F#, and .NET Interactive.
MIT License
32 stars 24 forks source link

v1.0.0 error win32 x64 #793

Open FarrukhSaleem opened 8 months ago

FarrukhSaleem commented 8 months ago

:warning:Please attach %TEMP%\vscode-dotnet-installer\log.txt for more details.

version: 1.0.0 env:

PATH:
C:\Program Files\Google\Chrome\Application
C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\System32\OpenSSH\
C:\Program Files\Microsoft SQL Server\150\Tools\Binn\
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\
C:\Program Files (x86)\Microsoft SQL Server\150\Tools\Binn\
C:\Program Files\Microsoft SQL Server\150\DTS\Binn\
C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\
C:\Program Files\Azure Data Studio\bin
C:\Program Files\Git\cmd
C:\Program Files\dotnet\

C:\Program Files\nodejs\
C:\Program Files\PuTTY\
C:\Program Files\Docker\Docker\resources\bin
C:\Program Files\MySQL\MySQL Shell 8.0\bin\
C:\Users\Farrukh Saleem\AppData\Local\Microsoft\WindowsApps
C:\Users\Farrukh Saleem\AppData\Local\Programs\Microsoft VS Code\bin
C:\Program Files\Azure Data Studio\bin
C:\Users\Farrukh Saleem\.dotnet\tools

C:\Users\Farrukh Saleem\AppData\Roaming\npm

log:

[10:31:54 AM] Downloading .NET SDK
[10:34:11 AM] Installing .NET SDK
[10:34:11 AM] Add .NET SDK to the path
[10:34:11 AM] Error occurred
[10:34:11 AM] Error: Command failed: for /F "skip=2 tokens=1,2*" %A in ('%SystemRoot%\System32\reg.exe query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "Path" 2^>nul') do (%SystemRoot%\System32\reg.exe ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v Path /t REG_SZ /f /d "C:\Users\Farrukh Saleem\AppData\Roaming\.dotnet;%C")
ERROR: Access is denied.