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 #870

Open axf33480 opened 4 months ago

axf33480 commented 4 months ago

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

version: 1.0.0 env:

PATH:
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\Program Files\dotnet\
C:\WINDOWS\System32\OpenSSH\
C:\Users\alain\AppData\Local\Microsoft\WindowsApps
C:\Users\alain\.dotnet\tools

log:

[06:14:38] Downloading Visual Studio Code
[06:14:38] arch:x64
[06:14:43] Installing Visual Studio Code
[06:15:04] Downloading .NET SDK
[06:15:13] Installing .NET SDK
[06:15:13] Add .NET SDK to the path
[06:15:14] Error occurred
[06:15:14] 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\alain\AppData\Roaming\.dotnet;%C")
Erreur�: Acc�s refus�.