How to install Visual Studio 2022 offline ?

lco49 0 Reputation points
2025-11-06T13:17:35.6566667+00:00

Hello,

I have tried to install Visual Studio 2022 Professional offline and I have encountered the issue with certificate revocation checks describes in this post and comment.

I have downloaded 3 days ago the last version of VS Installer (version 3.14.2086.54749) but I always have the problem. Where can I find the version 3.15 of Vs Installer ?

Thank you.

Developer technologies | Visual Studio | Setup
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Q&A Assist
    2025-11-06T13:17:57.6233333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To install Visual Studio 2022 offline, follow these steps:

    1. Download the Visual Studio Installer: Start by downloading the Visual Studio installer from the Visual Studio page.
    2. Create an Offline Installer: Use the command line to create an offline installer. For example, if you have the Professional edition, run the following command:
         "vs_professional.exe" --LayOut "C:\Temp\VS2022Offline" --Lang "en-US"
      
      This command will create a layout for offline installation in the specified folder.
    3. Transfer the Offline Installer: Copy the created folder (e.g., C:\Temp\VS2022Offline) to the target offline machine.
    4. Run the Installer: On the offline machine, execute the installer using the following command from an administrator command prompt:
         "C:\Temp\VS2022Offline\vs_professional.exe" --noWeb --channelURI "C:\Temp\VS2022Offline\channelManifest.json"
      
      Follow the setup wizard to complete the installation.
    5. Activate Visual Studio: After installation, you may need to activate Visual Studio using a product key. Sign in with your Visual Studio subscription account to obtain the key from the Microsoft 365 admin center.

    If you are encountering issues with certificate revocation checks, you may need to troubleshoot those specifically, but the above steps should guide you through the offline installation process.


    References:


  2. Susmitha T (INFOSYS LIMITED) 1,305 Reputation points Microsoft External Staff
    2025-11-07T09:42:45.8133333+00:00

    Thanks for reaching out!

    You may face certification revocation check errors during offline installation because the installer can't reach Microsoft validation servers. Kindly try the below recommended steps:

    1. Preinstall Certificates from Layout Folder: Go to your offline layout folder (the one you created with --Layout).

    •  Open the subfolder: <layout_folder>\Certificates
    •  You will find multiple .cer or .crt files there.
    •  Right click each -> "install certificate" -> "Local Machine" -> "Trusted Root certification Authorities". (This lets windows trust those signing authorities locally, so revocation checks won't fail offline.)
    •  After installing all certificates, rerun: vs_professional.exe --noWeb
    1. If it still fails, temporarily disable certificates revocation check under internet options->advance->security, then re-enable them after installation.

    3.You can also try using the latest Visual Studio Bootstrapper from- Visual Studio & VS Code Downloads for Windows, Mac, Linux

    References: Install certificates for an offline installation - Visual Studio (Windows) | Microsoft Learn

    Let me know if you need any further help with this. I will be happy to assist.

              If you find this helpful, Kindly mark the provided solution as "Accept Answer", so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.


  3. lco49 0 Reputation points
    2025-11-12T08:10:11.64+00:00

    The issue persists.

    The problem is the same as the post https://learn.microsoft.com/en-us/answers/questions/5549685/visual-studios-2019-installer-no-longer-allows-me

    This post mentions the version 3.15 of Vs Installer in August but it does not exist.

    I bought Visual Studio but I can't install it.


  4. lco49 0 Reputation points
    2025-11-18T07:55:31.05+00:00

    "The previously provided steps for performing certificate revocation checks." didnt work.

    I downloaded a previous version of Vs_Professional and rebuilt the layout; I'll try installing it again and let you know if that bypasses the problem.


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.