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.
- ✅ 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
VSInstaller.bat→ Main scriptVSLayout\→ All offline installer files
- Clone or download this repository.
- Open Command Prompt as Administrator.
- Run:
VSInstaller.bat