Share via

Visual studio 2026 offline installation

Dušan Štefanco 0 Reputation points
2026-06-02T06:59:51.1366667+00:00

Hello guys, i encountered problem with visual studio 2026 offline instalation.

I created whole layout and even layout even with wanted workloads and components on PC with internet access.

Then i move it to my offline corporate PC were i already doing it from VS 2017, but with newes version of VS2026 18.6 there is problem where after instalation i open visual studio after successfull instlation but then i get popup window saying that there is newer version and i should update and when i click close or x whole VS closes itself.

Already tried --chaneluri things, --uselatesinstaler thing,

i think that the problem is that even with offline instation there is thing in ChannelManifest.json where it is accessing microsoft websites.

any suggestions what should i do? (code certificate and all other certificates are OK, downloaded and imported.)

Developer technologies | Visual Studio | Setup
0 comments No comments

2 answers

Sort by: Most helpful
  1. AI answer

    2026-06-02T07:00:03.8466667+00:00

    Visual Studio installed from an offline layout still uses the channel information in the layout to determine whether a newer version exists. If the channel points to Microsoft’s online channel, Visual Studio will detect that 18.6 is not the latest and prompt to update. When the prompt is dismissed, the IDE can close instead of continuing.

    To keep an offline, controlled environment and avoid this behavior, the installation must be tied to a layout whose channel is under administrative control and updated only when desired.

    Use these steps:

    1. Create or update an offline layout on a connected machine
      • Create the layout (example):
             vs_enterprise.exe --layout C:\vsoffline --lang en-US
        
      • Or update an existing layout to the desired 18.6 version using the appropriate 18.6 bootstrapper or an administrator update, as described in the layout maintenance guidance.
    2. Host the layout on a controlled share and override the channel
      • Copy the layout to the network or removable media location used for offline installs:
             xcopy /e C:\vsoffline \\server\share\VS
        
      • In the layout folder, edit response.json and change channelUri so that it points to a channel manifest you control instead of the Microsoft online channel. For example:
             "channelUri":"\\\\server\\share\\VS\\ChannelManifest.json"
        
      • Ensure that ChannelManifest.json in that location corresponds to the 18.6 channel you want to standardize on.
    3. Install Visual Studio from that controlled layout
      • On the offline corporate PC, install using the layout and prevent web access:
             \\server\share\VS\vs_enterprise.exe --noWeb
        
      • If specific workloads/components were used when creating the layout, pass the same --add, --includeRecommended, and --includeOptional switches used during layout creation so the installer does not try to reach the web for missing components.
    4. Control future updates strictly via the layout
      • When a newer version is approved, update the layout itself (for example, with vs_enterprise.exe --layout \\server\share\VS --lang en-US or an administrator update) and keep response.json pointing to the controlled ChannelManifest.json.
      • Client machines that were installed from this layout will then see only the versions available in the updated layout/channel, not the public online channel.

    If the problem persists even after ensuring channelUri points to a controlled channel and --noWeb is used, collect logs and use the Visual Studio “Report a Problem” tool or the installation chat for further investigation.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

    1 person found this answer helpful.
  2. Lizzy Dinh (WICLOUD CORPORATION) 530 Reputation points Microsoft External Staff Moderator
    2026-06-02T09:48:08.2366667+00:00

    Hi @Dušan Štefanco ,

    Thank you for the information you’ve shared. I really appreciate the detail you’ve provided.

    First, I want to highlight that you’re approaching this in the right direction. It is true that even when performing an offline installation, Visual Studio still references a channel manifest, which may point to Microsoft’s online feed. The reason you’re seeing this specifically with Visual Studio 2026 is due to its stricter update enforcement logic compared to earlier versions.

    To help prevent this behavior, I suggest trying the following steps:

    1. Go to your layout folder
    2. Open response.json
    3. Find "channelUri": "<some Microsoft URL>"
    4. Change it local channel file (or internal share) Example: "channelUri": ".\\ChannelManifest.json" Please ensure that the ChannelManifest.json file is sourced from your layout (already generated) and corresponds to your intended frozen version (e.g., 18.6).

    I understand that you’ve already tried using the --channeluri parameter. Even so, I’d still suggest verifying the configuration above to ensure it is being applied correctly. If the issue persists after this, the remaining option would be to recreate the layout using the latest available update for Visual Studio 2026.

    I hope this explanation helps clarify the situation and provides a path forward. If you have any questions or need further assistance, please don’t hesitate to reach out, I’m always happy to help.

    Additionally, I would greatly appreciate it if you could take a moment to share your feedback on my support by following this instruction.

    Thank you again for your time and collaboration!

    Was this answer helpful?


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.