Skip to content

Batch script to automate downloading, updating, and running Visual Studio 2026 (Enterprise, Professional, or Community) in offline layout mode with logging and version checks. Currently works with Insider builds and will be updated for the official release.

Notifications You must be signed in to change notification settings

MEHDIMYADI/Visual-Studio-2026-Offline-Installer-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Visual Studio 2026 Offline Installer Script

A Windows batch script to automate the process of downloading, updating, and running Visual Studio 2026 in offline layout mode.
Currently based on Insider builds – the script will be updated once the official release (RTM) is available.

image

✨ Features

  • ✅ Choose edition (Enterprise / Professional / Community)
  • ✅ Automatically download the latest Visual Studio 2026 bootstrapper
  • ✅ Detect and update if a newer bootstrapper version exists
  • ✅ Create or update an offline layout (resumes if interrupted)
  • ✅ Launch Visual Studio Installer in GUI mode from the offline layout
  • ✅ Check for old workloads and optionally delete outdated versions
  • ✅ Detailed log file (oldfiles.log) for list of old workloads found

📂 Folder Structure

  • VSInstaller.bat → Main script
  • VSLayout\ → All offline installer files

🚀 Usage

  1. Clone or download this repository.
  2. Open Command Prompt as Administrator.
  3. Run:
    VSInstaller.bat

About

Batch script to automate downloading, updating, and running Visual Studio 2026 (Enterprise, Professional, or Community) in offline layout mode with logging and version checks. Currently works with Insider builds and will be updated for the official release.

Topics

Resources

Stars

Watchers

Forks