Skip to content

joyelkhan/AIO_Runtimes_Installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

All in One Runtimes v1.0

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.

✨ Key Features

  • ✅ 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

System Requirements

  • 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

📦 Installed Components (13 Total)

Visual C++ Redistributables (10)

  • ✅ 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)

Framework Components (3)

  • ✅ .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

Installation

Quick Start

  1. Download AIO_Runtimes_Installer.bat
  2. Right-click and select Run as administrator
  3. Follow the on-screen prompts
  4. Reboot if prompted (recommended for complete installation)

Command Line Usage

AIO_Runtimes_Installer.bat

The installer will:

  1. Request administrator privileges if not already elevated
  2. Verify system requirements (disk space, permissions)
  3. Create temporary working directory
  4. Download and install each component
  5. Verify critical components after installation
  6. Provide cleanup and reboot options

Error Handling

The installer handles the following scenarios:

Network Failures

  • Automatic retry logic (3 attempts with 5-second delays)
  • Timeout handling for slow connections
  • Graceful fallback if downloads fail

Permission Issues

  • Automatic admin privilege elevation
  • Clear error messages if elevation fails
  • Detailed logging of permission-related errors

Disk Space Issues

  • Pre-installation disk space verification (2GB minimum)
  • Clear error message if insufficient space
  • Prevents partial installations

Installation Failures

  • Component-specific error codes logged
  • Continues installation of remaining components
  • Summary report of successes and failures
  • Detailed log file for troubleshooting

Logging

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

Troubleshooting

Installation Fails at Specific Component

  1. Check the log file: %TEMP%\AIO_Runtimes_2.5.0\installation.log
  2. Verify internet connection
  3. Check available disk space: dir %TEMP%
  4. Run installer again (cached files will be reused)

Insufficient Disk Space

  • Free up at least 2GB on your system drive
  • Run installer again

Permission Denied Errors

  • Run as Administrator (right-click → Run as administrator)
  • Disable antivirus temporarily if it blocks installer
  • Check User Account Control (UAC) settings

Components Not Verifying After Installation

  • Some components may require a system reboot
  • Check Windows Update for pending updates
  • Run installer again to retry failed components

Cleanup

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\

Reboot

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

Security Considerations

  • 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

Supported Architectures

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

License

This project is provided as-is for system administration and deployment purposes.

About

One-Click Installer for Essential Microsoft Runtimes. This tool automatically downloads and installs the latest versions of Visual C++, .NET Framework, SDKs, and DirectX—all directly from Microsoft's servers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors