dotnet / vscode-dotnet-pack

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

v1.0.0 error win32 x64 #784

Open Salman1Al opened 8 months ago

Salman1Al commented 8 months ago

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

version: 1.0.0 env:

PATH:
C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\System32\OpenSSH\
C:\Program Files\dotnet\
C:\Users\salma\AppData\Local\Microsoft\WindowsApps
C:\Users\salma\AppData\Local\GitHubDesktop\bin
C:\Users\salma\.dotnet\tools

log:

[7:24:55 ص] Downloading Visual Studio Code
[7:24:55 ص] arch:x64
[7:25:05 ص] Installing Visual Studio Code
[7:25:47 ص] Downloading .NET SDK
[7:26:22 ص] Installing .NET SDK
[7:26:22 ص] Add .NET SDK to the path
[7:26:23 ص] Error occurred
[7:26:23 ص] 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\salma\AppData\Roaming\.dotnet;%C")
ERROR: Access is denied.