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.
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Le (WICLOUD CORPORATION) 3,935 Reputation points Microsoft External Staff Moderator
    2025-11-07T11:14:06.2866667+00:00

    Hello Estefania,

    Thank you for the detailed updates and log files. Based on the information you've provided, we now have a clear picture of the problem.

    You were correct to install the missing Microsoft Code Signing PCA 2024 certificate, since Windows 10 is no longer supported.

    The logs confirm the problem: your minimal layout is missing required components, and the installer fails because the offline machine cannot download them.

    Trying to fix the current installation will not work. The best course of action is to create a new, complete offline layout.

    1. Create a Complete Offline Layout

    On a machine with an internet connection, download the latest Visual Studio Enterprise bootstrapper. Then, open a command prompt to create a new layout. Be sure to include all the workloads you require, such as .NET desktop development, ASP.NET and web development, and Data storage and processing.

    An example command would be:

    vs_enterprise.exe --layout C:\VSLayout_Complete --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --add Microsoft.VisualStudio.Workload.Data --lang en-US --includeRecommended --includeOptional
    

    Note: Using --includeRecommended and --includeOptional helps ensure all dependencies are downloaded, preventing future errors.

    2. Verify the Layout

    After the download is complete, run the --verify command to ensure the layout is not missing any files.

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

    3. Prepare the Offline Machine

    First, completely uninstall the existing Visual Studio 2022 instance from your offline virtual machine. Then, copy the entire new C:\VSLayout_Complete folder to it.

    4. Install from the New Layout

    Finally, open a command prompt as an administrator on the offline machine and run the setup from the new layout folder using the --noWeb flag.

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

    If you encounter any further issues, please provide the new set of installation logs.

    0 comments No comments

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.