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

errorocurred/v1.0.0 error win32 x64 #857

Open juancalocutor opened 5 months ago

juancalocutor commented 5 months ago

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

version: 1.0.0 env:

PATH:
C:\Program Files\Common Files\Oracle\Java\javapath
C:\Python312\Scripts\
C:\Python312\
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
C:\msys64\ucrt64\bin
C:\Program Files\Git\cmd
C:\Program Files\dotnet\
C:\Program Files\PowerShell\7\
C:\Program Files\nodejs\
C:\ProgramData\chocolatey\bin
C:\Users\juanc\AppData\Local\Microsoft\WindowsApps
C:\Users\juanc\AppData\Local\Programs\Microsoft VS Code\bin
C:\Users\juanc\.dotnet\tools
C:\Users\juanc\AppData\Local\Programs\oh-my-posh\bin
C:\Users\juanc\AppData\Roaming\npm

log:

[6:09:27 p. m.] Downloading .NET SDK
[6:12:13 p. m.] Installing .NET SDK
[6:12:13 p. m.] Add .NET SDK to the path
[6:12:14 p. m.] Error occurred
[6:12:14 p. m.] 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\juanc\AppData\Roaming\.dotnet;%C")
ERROR: Acceso denegado.