dotnet / vscode-dotnet-pack

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

v1.0.0 error win32 x64 #867

Closed abhishek-mishraji closed 4 months ago

abhishek-mishraji commented 4 months ago

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

version: 1.0.0 env:

PATH:
C:\Program Files (x86)\Microsoft\Edge\Application
C:\Python312\Scripts\
C:\Python312\
C:\Program Files (x86)\VMware\VMware Workstation\bin\
C:\Program Files\Common Files\Oracle\Java\javapath
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\System32\OpenSSH\
C:\Program Files\Java\jdk-19\bin
C:\Program Files (x86)\winlibs-x86_64-posix-seh-gcc-12.2.0-mingw-w64msvcrt-10.0.0-r5\mingw64\bin
C:\Program Files\GitHub CLI\
C:\Program Files\dotnet\
C:\ProgramData\chocolatey\bin
C:\Program Files\Microsoft SQL Server\150\Tools\Binn\
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\
C:\Program Files\nodejs\
C:\Program Files\Git\cmd
C:\Program Files\Docker\Docker\resources\bin
C:\Program Files\Common Files\Oracle\Java\javapath
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\System32\OpenSSH\
C:\Program Files\nodejs\
C:\Program Files\Java\jdk-19\bin
C:\Program Files (x86)\winlibs-x86_64-posix-seh-gcc-12.2.0-mingw-w64msvcrt-10.0.0-r5\mingw64\bin
C:\Program Files\GitHub CLI\
C:\Program Files\Git\cmd
C:\Users\abhia\AppData\Local\Microsoft\WindowsApps
C:\Users\abhia\AppData\Local\Programs\Microsoft VS Code\bin
C:\Program Files (x86)\Lynx
C:\Users\abhia\.dotnet\tools
C:\Users\abhia\AppData\Local\Programs\mongosh\
C:\Users\abhia\AppData\Roaming\npm

log:

[12:52:59 PM] Downloading .NET SDK
[12:54:15 PM] Installing .NET SDK
[12:54:15 PM] Add .NET SDK to the path
[12:54:16 PM] Error occurred
[12:54:16 PM] 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\abhia\AppData\Roaming\.dotnet;%C")
ERROR: Access is denied.
abhishek-mishraji commented 4 months ago

error

abhishek-mishraji commented 4 months ago

solved