Problem with the update of visual studio offline

Estefania infra developer 0 Reputation points
2025-10-29T10:21:34.3966667+00:00

Good morning,

I'm updating Visual Studio 2022 on a VMware virtual machine (vmware and offline). It has Windows 10, and I'm trying to update from version 17.9 to the latest version. I did the minimal setup, but when I try to apply it, nothing happens. It doesn't throw any errors, nor does it produce any logs.

when I do the command ''vs_enterprise.exe --update --offline C:\VSLayout\vs_installer.opc'' It gets stuck on the image I've attached, then it closes and does nothing
User's image

Can you help me please?

Thank you!

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Le (WICLOUD CORPORATION) 3,665 Reputation points Microsoft External Staff Moderator
    2025-10-29T10:57:21.4+00:00

    Hello,

    You could find more details in How to use a minimal offline layout to update an existing installation of Visual Studio.

    The command that you ran is for updating Visual Studio Installer. If you are trying to update the Visual Studio application, run this command:

    vs_enterprise.exe update --noWeb --quiet --installpath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
    

    If the previous command fails, please follow these troubleshooting steps:

    1. Verify Offline Layout Integrity

    Your offline layout may be corrupted or incomplete. From an elevated command prompt in your layout directory (C:\VSLayout), execute:

    vs_enterprise.exe --layout C:\VSLayout --verify
    

    If verification identifies missing or invalid files, repair the layout:

    vs_enterprise.exe --layout C:\VSLayout --fix
    

    Transfer the repaired layout back to your offline virtual machine after completion.

    2. Install Required Security Certificates

    Offline machines cannot automatically download security certificates needed for file validation, causing installation failures. Install these certificates manually:

    1. Navigate to C:\VSLayout\certificates
    2. Right-click each certificate file and select Install Certificate
    3. Install certificates to both "Trusted Root Certification Authorities" and "Intermediate Certification Authorities" stores for the local machine

    3. Review Installation Logs

    Even silent failures generate log files. To locate them:

    1. Press Windows Key + R, type %temp%, and press Enter
    2. Sort files by date to find logs created during your failed update attempt
    3. Look for files beginning with dd_ (e.g., dd_bootstrapper_[timestamp].log, dd_installer_[timestamp].log)

    Examine these logs for error messages or failure indicators. Include any specific error codes or messages in your follow-up for targeted assistance.

    I hope this helps.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.