Visual studio 2026 offline installation

Dušan Štefanco 20 Reputation points

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.)

0 comments No comments

Sign in to comment

Answer accepted by question author

Lizzy Dinh (WICLOUD CORPORATION) 620 Reputation points Microsoft External Staff Moderator

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.

Add on, trying to use another release version (18.1) of Visual Studio 2026 could be a possible work around as it works in your case. It's a smart move when you decided to think out of the box!

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!

  1. Dušan Štefanco 20 Reputation points

    Okey i will try to edit json then to point to local channelmanifest and let you know. if it helped

  2. Dušan Štefanco 20 Reputation points

    @Lizzy Dinh (WICLOUD CORPORATION) hello so unfortunatelly when i edited Response.json to my share or even local .\ChannelManifest.json. the instalation does not even start it just shows the tab where you can see that it was downloaded and verified but then instaler did not even appear with instalation at all.

  3. Lizzy Dinh (WICLOUD CORPORATION) 620 Reputation points Microsoft External Staff Moderator

    Hi @Dušan Štefanco ,

    Thank you for getting back to me.

    Regarding the current situation, I would like to confirm a few details from your end. In your post, you mentioned that you successfully installed the offline version of Visual Studio 2026, and that the issue only occurs when you try to use it.

    Could you please try opening Visual Studio 2026 again and confirm whether the issue still persists? Based on your description, the installation has already been completed. The setup process would only be initiated again if Visual Studio had been uninstalled or is currently undergoing an update.

    Please feel free to reach out if you need any further help or have additional updates to share.

    I look forward to hearing from you at your earliest convenience.

  4. Lizzy Dinh (WICLOUD CORPORATION) 620 Reputation points Microsoft External Staff Moderator

    Hi @Dušan Štefanco ,

    I wanted to briefly follow up on my recent answer. I know it might be a busy time with your work, so please feel free to reply whenever convenient.

  5. Dušan Štefanco 20 Reputation points

    Hello, sorry for delay but when i try to install it the same way as i was installing previous versions the visual studio will be installed but when trying to use it there is pop up window saying that there is newer version even when i tried it with newest version available. but then tried the 18.1 version and it works just fine. So i i think i will try to find last version of VS2026 that works as offline instalation without any online checks. As i thing that i already tried everything to bypass online checks and everything.

    As there are very limeted actions i can do on our company computers, i am not able to proceed with delivering newer versions for our developers. if microsoft will not change it back to fully offline as it was before.

    but thanks for help :)


Sign in to comment

1 additional answer

  1. AI answer

    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.
Sign in to answer

Your answer