Hi @RIVA Adrien (EXT) ,
Thank you for contacting us.
Offline installation using a remote layout is supported. However, the deployment approach depends on how the layout is hosted.
There are two common hosting methods:
- Intranet web hosting (using Hypertext Transfer Protocol, such as [http://server/]...)
- Network share hosting (using file system path such as \ServerName\Share)
Each method uses a different hosting approach and requires a different installation command.
Based on your description, it appears you are using a network share. Additionally, since this is a first time installation of Visual Studio on the client machines, these following parameters are not required:
-
--channelUri - --force
- --removeOOS
- --downloadThenInstall
These parameters are generally used for update or servicing scenarios rather than initial installation.
Please try the following command instead:
YourRemoteServer\VS26Layout\vs_professional.exe --in "
YourRemoteServer\VS26Layout\response.json" --noWeb --passive --norestart --includeRecommended --includeOptional --wait
This command will help you deploy and install the configuration consistently across all client machines.
Please make sure the shared layout is configured with read permissions. If it is not, this may cause errors such as the system being unable to find the specified path, as in your case.
If the issue persists, please try running the command manually on a single client machine. This will help determine whether the problem is related to permissions or the deployment configuration.
Please keep us updated on the results, and we will be happy to assist you further.
Answer from Leon Tran (WICLOUD CORPORATION) on learn.microsoft.comVisual studio 2026
Is an offline installation of visual studio 2026 possible with remote layout ?
MS Visual Studio 2026 Standalone IDE, where is it?
Visual Studio cannot be installed offline
Videos
Hi @RIVA Adrien (EXT) ,
Thank you for contacting us.
Offline installation using a remote layout is supported. However, the deployment approach depends on how the layout is hosted.
There are two common hosting methods:
- Intranet web hosting (using Hypertext Transfer Protocol, such as [http://server/]...)
- Network share hosting (using file system path such as \ServerName\Share)
Each method uses a different hosting approach and requires a different installation command.
Based on your description, it appears you are using a network share. Additionally, since this is a first time installation of Visual Studio on the client machines, these following parameters are not required:
-
--channelUri - --force
- --removeOOS
- --downloadThenInstall
These parameters are generally used for update or servicing scenarios rather than initial installation.
Please try the following command instead:
YourRemoteServer\VS26Layout\vs_professional.exe --in "
YourRemoteServer\VS26Layout\response.json" --noWeb --passive --norestart --includeRecommended --includeOptional --wait
This command will help you deploy and install the configuration consistently across all client machines.
Please make sure the shared layout is configured with read permissions. If it is not, this may cause errors such as the system being unable to find the specified path, as in your case.
If the issue persists, please try running the command manually on a single client machine. This will help determine whether the problem is related to permissions or the deployment configuration.
Please keep us updated on the results, and we will be happy to assist you further.
Yes, it is possible to perform an offline installation of Visual Studio 2026 using a remote layout. However, there are specific requirements and considerations to ensure that the installation works correctly:
- Permissions: Ensure that the user or system account running the installation has proper access to the network share that contains the layout. This is crucial for the installer to access the files.
- Correct Path: Make sure the paths you are using for the layout and the channel manifest are correct. If the installer cannot find the specified paths, it will fail. Verify that the paths are accessible from the client machines.
- Using
--noWebParameter: When using the--noWebparameter, the installer will only use the files in your layout directory and will not attempt to download any packages from the web. This means that all necessary components must be included in the layout, or the installation will fail if any components are missing. - Local Copies: If you encounter issues with accessing the remote server, consider copying the necessary files (like the channel and catalog JSON) locally to see if that resolves the issue. However, the installer still needs to access the layout files on the remote server.
- Installation Path Length: Ensure that your installation path is fewer than 80 characters, as longer paths may cause issues during installation.
If you continue to experience issues, it may be beneficial to check the logs for specific error messages that can provide more insight into what might be going wrong during the installation process.
References:
- Deploy Visual Studio from a layout onto a client machine
- Use command-line parameters to install, update, and manage Visual Studio
I've been holding off on buying Visual Studio 2022 standalone since its been announced that 2026 standalone IDE is gonna be available as of today but on the MS website it still takes you to the 2022 Version. What gives?
I have created an offline installation via bootstrapper as explained in Microsoft. But when I copied all files to the offline server and try to run vs_setup.exe and vs_community.exe and when I hit continue on this screen nothing happen. I run it as administrator and cleared the cache on Program Data still same issue. Any suggestions?
Hello @Luis Alberto Hernandez Muñoz ,
From the logs you provided, it looks like the bootstrapper can't fetch or can't validate the channel manifest rather than a basic network block.
Usually, the easiest way to resolve this is to create an offline layout on a healthy machine and move it to the target machine. The offline layout will contain all the necessary files and certificates needed for installation.
If you have access to another machine with a working internet connection, you can create an offline layout by following these steps:
- On a healthy machine, download the Visual Studio bootstrapper for the edition you want to install.
- Open a command prompt and navigate to the directory where the bootstrapper is located.
- Run the following command to create an offline layout:
VisualStudioSetup.exe --layout c:\localVSlayout --lang en-US - Once the layout is created, copy the entire folder to the target machine.
On the target machine, make sure to:
- Install the certificate included in the layout into
Local Machine -> Trusted Root Certification Authorities. - Just to make sure, manually download and install the Microsoft PCA 2024 certificate and install it into
Local Machine -> Trusted Root Certification Authorities. - Open a command prompt as Administrator and navigate to the offline layout folder.
- Run the installer from the layout with
--noWeb:vs_setup.exe --noWeb
If this does not resolve the issue, the last resort would be to perform a clean installation of Windows. Or you can reach out to Microsoft Support for further assistance.
Hi everyone, I also get an issue with offline installation.
I already download the layout and store it on a server.
I have to make the installation of many PC so I don't download the layout on every machines but I set the path of the layout to my remote server like it : \MyRemoteServer\VS26Layout\vs_professional.exe --channelUri "\MyRemoteServer\VS26Layout\channelManifest.json" --noWeb --force --removeOos true --downloadThenInstall --noUpdateInstaller --includeRecommended --includeOptional
But I have many issue .
First, the channel isn't found, the log said that the path isn't correct . I thnik the installer exe isn't able or allowed to go on remote server.
So , to get further , I copy the channel en catalog json on the local machine, but when I start the installation, It still failed cause the installater cannot get the file of the layout from my remote server.
So can you tell me honestly if using a remote server to stock the layout is possible ?
I do it because I don't want to copy the layout ( 70 Go ... ) on every machines ...
Thank you !