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

Open darkrevenge04 opened 4 months ago

darkrevenge04 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\Google\Chrome\Application
C:\Program Files\Eclipse Foundation\jdk-8.0.302.8-hotspot\bin
C:\windows\system32
C:\windows
C:\windows\System32\Wbem
C:\windows\System32\WindowsPowerShell\v1.0\
C:\windows\System32\OpenSSH\
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\System32\OpenSSH\
C:\Program Files\Git\cmd
C:\Program Files\dotnet\
C:\Program Files\Microsoft SQL Server\130\Tools\Binn\
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\
C:\Users\james\AppData\Local\Programs\Python\Python310\Scripts\
C:\Users\james\AppData\Local\Programs\Python\Python310\
C:\Users\james\AppData\Local\Microsoft\WindowsApps
C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.3.2\bin

C:\Users\james\AppData\Local\GitHubDesktop\bin
C:\Exercism
C:\Program Files\JetBrains\CLion 2024.1.1\bin

log:

[12:12:58] Downloading .NET SDK
[12:13:31] Installing .NET SDK
[12:13:31] Add .NET SDK to the path
[12:13:32] Error occurred
[12:13:32] 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\james\AppData\Roaming\.dotnet;%C")
ERROR: Access is denied.