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

Open husitaizi opened 10 months ago

husitaizi commented 10 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:\Python311\Scripts\
C:\Python311\
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
C:\Program Files\dotnet\
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files\Microsoft SQL Server\150\Tools\Binn\
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\
C:\Program Files\Git\cmd
C:\Program Files\nodejs\
C:\ProgramData\chocolatey\bin
C:\Users\husit\AppData\Local\Microsoft\WindowsApps
C:\Users\husit\.dotnet\tools
C:\Users\husit\AppData\Local\JetBrains\Toolbox\scripts
C:\Users\husit\AppData\Local\Programs\Microsoft VS Code\bin
C:\Users\husit\AppData\Roaming\npm
C:\Users\husit\AppData\Local\GitHubDesktop\bin

log:

[10:19:45 PM] Downloading .NET SDK
[10:21:14 PM] Installing .NET SDK
[10:21:14 PM] Add .NET SDK to the path
[10:21:15 PM] Error occurred
[10:21:15 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\husit\AppData\Roaming\.dotnet;%C")
ERROR: Access is denied.
husitaizi commented 10 months ago

log.txt