microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.67k stars 4.51k forks source link

[Package Issue]: Microsoft.VisualStudioCode reports error code 67 "the network name cannot be found" when upgrading #96486

Open tranquilcarbon opened 1 year ago

tranquilcarbon commented 1 year ago

Please confirm these before moving forward

Category of the issue

Installation issue.

Brief description of your issue

when updating visual studio code 1.75.0 to 1.75.1, the installer will download but will fail displaying the following error:

"ShellExecuteEx failed; code 67. The network name cannot be found."

Steps to reproduce

update visual studio code from version 1.75.0 to version 1.75.1.

Actual behavior

the installer will download and prompt for UAC credentials, after being supplied with these credentials, the installer will crash displaying the following error:

"ShellExecuteEx failed; code 67. The network name cannot be found."

Expected behavior

the update should be done successfully.

Environment

Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.2546
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

Screenshots and Logs

WinGet-2023-02-13-13-21-00.180.log VSCodeSetup-x64-1 75 1 tmp_dIrkshtpjz

cjwijtmans commented 1 year ago

Same issue with Version 1.79.1. No clue what happened and why.

Edit: i am running winget in a non admin account.

mdanish-kh commented 1 year ago

This should be resolved in WinGet v1.5 release candidate. @tranquilcarbon @cjwijtmans Can you please upgrade your WinGet Client and try again?

cjwijtmans commented 1 year ago

Please release 1.15 then :) its a major bug.