A production-ready Windows batch installer that automatically downloads and installs all essential runtime components. Features smart component detection, automatic admin elevation, and comprehensive error handling.
- ✅ Smart Component Detection: Automatically detects already-installed components and skips them
- ✅ Clear Status Messages: Shows
[EXISTS],[DOWNLOAD],[INSTALL],[SUCCESS],[VERIFIED]messages - ✅ 75% Performance Improvement: Cached runs complete in 2-3 minutes instead of 15-30 minutes
- ✅ Admin Privilege Elevation: Automatic detection and elevation with user instructions
- ✅ Installation Verification: Registry-based verification confirms actual installation
- ✅ Comprehensive Error Handling: Graceful recovery from download/installation failures
- ✅ Reboot Management: Detects and manages system reboot requirements
- ✅ Window Persistence: Keeps window open to show all progress and results
- ✅ Detailed Logging: Complete installation log for troubleshooting
- ✅ Minimal Files: Only 3 files, no external dependencies
- OS: Windows 7 SP1 or later (Windows 10/11 recommended)
- Privileges: Administrator rights required
- Disk Space: Minimum 2GB free space
- Network: Internet connection for component downloads
- Architecture: Supports both x86 (32-bit) and x64 (64-bit) systems
- ✅ Visual C++ 2005 (x86, x64)
- ✅ Visual C++ 2008 (x86, x64)
- ✅ Visual C++ 2010 (x86, x64)
- ✅ Visual C++ 2012 (x86, x64)
- ✅ Visual C++ 2013 (x86, x64)
- ✅ Visual C++ 2015-2022 (x86, x64)
- ✅ .NET Framework 3.5 (Windows Feature)
- ✅ .NET Framework 4.8
- ✅ DirectX End-User Runtime
Why These Components?
- Visual C++: Required by most Windows applications
- .NET Framework: Essential for .NET applications
- DirectX: Required for graphics and gaming
- Download
AIO_Runtimes_Installer.bat - Right-click and select Run as administrator
- Follow the on-screen prompts
- Reboot if prompted (recommended for complete installation)
AIO_Runtimes_Installer.batThe installer will:
- Request administrator privileges if not already elevated
- Verify system requirements (disk space, permissions)
- Create temporary working directory
- Download and install each component
- Verify critical components after installation
- Provide cleanup and reboot options
The installer handles the following scenarios:
- Automatic retry logic (3 attempts with 5-second delays)
- Timeout handling for slow connections
- Graceful fallback if downloads fail
- Automatic admin privilege elevation
- Clear error messages if elevation fails
- Detailed logging of permission-related errors
- Pre-installation disk space verification (2GB minimum)
- Clear error message if insufficient space
- Prevents partial installations
- Component-specific error codes logged
- Continues installation of remaining components
- Summary report of successes and failures
- Detailed log file for troubleshooting
Installation logs are saved to:
%TEMP%\AIO_Runtimes_2.5.0\installation.log
Log includes:
- System information (OS version, processor architecture)
- Each component's installation status
- Download URLs and error codes
- Reboot requirements
- Cleanup actions
- Check the log file:
%TEMP%\AIO_Runtimes_2.5.0\installation.log - Verify internet connection
- Check available disk space:
dir %TEMP% - Run installer again (cached files will be reused)
- Free up at least 2GB on your system drive
- Run installer again
- Run as Administrator (right-click → Run as administrator)
- Disable antivirus temporarily if it blocks installer
- Check User Account Control (UAC) settings
- Some components may require a system reboot
- Check Windows Update for pending updates
- Run installer again to retry failed components
After installation completes, you'll be prompted to clean up temporary files:
- Yes: Removes all downloaded installers (~500MB-1GB)
- No: Preserves files for faster re-installation
Temporary files are stored in: %TEMP%\AIO_Runtimes_2.5.0\
Some components require a system reboot to complete installation:
- You'll be prompted if reboot is needed
- Reboot can be deferred and done manually later
- System will restart in 10 seconds if you choose immediate reboot
- All downloads use HTTPS (secure connections)
- Downloads from official Microsoft repositories only
- No external scripts or dependencies
- Transparent logging of all actions
- No telemetry or data collection
- Installer runs entirely locally after download
- x86 (32-bit): Full support for 32-bit components
- x64 (64-bit): Full support for both 32-bit and 64-bit components
The installer automatically detects your system architecture and installs appropriate versions.
This project is provided as-is for system administration and deployment purposes.