• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 

VSCode installation is broken after update

Started by jpw, October 17, 2022, 03:27:06 AM

Previous topic - Next topic

jpw

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?

Adam Cook (Patch My PC)

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 feature: When to enable: Notify the user to close the application.

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.

RachelGomez161999

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

givingass

Updates applied when Visual Studio Code is already running can cause this problem. Using the Manage Conflicting Processes tool, we've documented this as a title to end before applying a patch: Situations in which it is appropriate to allow: The user should be prompted to exit the program.