How to fix Visual studio install fail issue on offline PC?

Lixian Wang L 0 Reputation points
2025-12-02T06:32:30.1533333+00:00

https://learn.microsoft.com/zh-cn/troubleshoot/developer/visualstudio/installation/set-up-vs-professional-2022-offline-machine?source=recommendations

How to check fail log on offline PC for VS Professinal2022/2026 ? I have completed the install download by cmd --layout or VS installer. but copy it to target noweb PC. The installer was launch like this screenshot for one minute ,the it auto close. I have nothing error or log ,I don't know why it is ?

figure1:screenshot for install download by cmdUser's image

figure2: Below launch installer dialog will auto close in one minute. The Installing progress is always zero.

User's image

Figure2: Target offline PC Windows specification and Device specifications

------------Windows specification ------

Edition Windows 11 Enterprise

Version 24H2

Installed on ‎10/‎30/‎2025

OS build 26100.1742

Experience Windows Feature Experience Pack 1000.26100.18.0

-----------Device specifications-----

Device name DESKTOP-1PQIGSA

Processor Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz 2.90 GHz

Installed RAM 32.0 GB (31.8 GB usable)

Device ID 4748F802-C822-45EF-9E1E-1A056740335D

Product ID 00329-00000-00003-AA761

System type 64-bit operating system, x64-based processor

Pen and touch No pen or touch input is available for this display

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

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 1,120 Reputation points Microsoft External Staff
    2025-12-04T12:22:20.27+00:00

    Thanks for sharing the details!

    Here are some steps which are helpful for issue resolution.

    1.Rebuild the offline layout with all required components on a PC that has internet, run this exact command:

    vs_Professional.exe --layout C:\vs2022offline --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --lang en-US

    2.Make sure you include certificates and also run:

    vs_Professional.exe --layout C:\vs2022offline --lang en-US --includeRecommended --includeOptional

    This ensures certificates, Dependency packages, required manifests are properly included.

    3.Copy the entire layout folder to the offline PC

    Important: Do not miss the Certificates folder, don't delete any .manifest or .json file

    The full folder must be copied exactly as created.

    4.Run setup from the offline folder on the offline PC, open: vs_installer.exe

    Do not run the older installer in Temp location.

    5.Install required certificates inside the layout folder you will see certificates

    Open that folder and right-click each .crt file. Install Certificate in the Local Machine and Trusted Root to Certification Authorities.

    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.