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

Open sffeivi5 opened 5 months ago

sffeivi5 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\Google\Chrome\Application
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
C:\Program Files\Intel\WiFi\bin\
C:\Program Files\Common Files\Intel\WirelessCommon\
c:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL
c:\Program Files\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files\Cloudflare\Cloudflare WARP\
C:\Program Files\PuTTY\
C:\Users\LCH\AppData\Local\Microsoft\WindowsApps

log:

[12:12:53 PM] Downloading Visual Studio Code
[12:12:53 PM] arch:x64
[12:13:21 PM] Installing Visual Studio Code
[12:14:18 PM] Downloading .NET SDK
[12:16:17 PM] Installing .NET SDK
[12:16:17 PM] Add .NET SDK to the path
[12:16:20 PM] Error occurred
[12:16:20 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\LCH\AppData\Roaming\.dotnet;%C")
ERROR: Access is denied.