Support Forum: Get Support for Patch My PC Products and Services

Microsoft Configuration Manager and Intune (Enterprises/Paid) => Report Update/App Install Issues (Enterprises Using ConfigMgr and Intune) => Topic started by: jpw on October 17, 2022, 03:27:06 AM

Title: VSCode installation is broken after update
Post by: jpw on October 17, 2022, 03:27:06 AM
Hi,

We use PatchMyPC to manage updates to VSCode. Unfortunately, a recent update ("Update for Microsoft Visual Studio Code 1.72.1 (x64)") broke our users' installations.

I've attached an image of the error message presented. Fully uninstalling and reinstalling the product is the only way that we've been able to fix this.

image (2).png

Any ideas on fixing?
Title: Re: VSCode installation is broken after update
Post by: Adam Cook (Patch My PC) on October 17, 2022, 04:07:03 AM
Hello

This is a known issue with Visual Studio Code if it is patched while open. We document this here as a title to close before patching, which can be achieved using the Manage Conflicting Processes (https://patchmypc.com/manage-conflicting-processes-when-updating-third-party-applications) feature: When to enable: Notify the user to close the application (https://patchmypc.com/manage-conflicting-processes-when-updating-third-party-applications#topic4).

We also opened a GitHub issue on the repository for the software that might be worth sharing: Failed to update: An error occurred while trying to replace the existing file, DeleteFile failed; code 5, Access is denied. (https://github.com/microsoft/vscode/issues/146538)
Title: Re: VSCode installation is broken after update
Post by: RachelGomez161999 on October 21, 2022, 12:37:11 AM
Sometimes, things can go wrong. If your Visual Studio installation fails, see Troubleshoot Visual Studio installation and upgrade issues for step-by-step guidance.

Here are a few more support options:

We also offer an installation chat (English only) support option for installation-related issues.
Report product issues to us via the Report a Problem tool that appears both in the Visual Studio Installer and in the Visual Studio IDE. If you're an IT Administrator and don't have Visual Studio installed, you can submit IT Admin feedback here.
Suggest a feature, track product issues, and find answers in the Visual Studio Developer Community.

This may help you,
Rachel Gomez
Title: Re: VSCode installation is broken after update
Post by: TradeLabelSoftware on January 30, 2023, 02:58:48 AM
After update VS Code you can uninstall VS Code completely and then install it again in administrator account.