β If this tool helped you, please consider giving it a star! β
..
Online/Offline installer for Windows Package Manager (winget). This tool automatically handles all dependencies and configurations required for winget installation.
- ποΈ Multi-Architecture Support: Works on x86, x64, and ARM64 systems
- π¦ Dependency Management: Automatically installs VCLibs and UI.Xaml dependencies
- π Administrator Privileges: Self-elevation for required permissions
- π‘οΈ Privacy-First: Disables telemetry by default
- π₯ System-Wide Installation: Provisions winget for all users
- π― Smart Detection: Checks existing installations before proceeding
- π Detailed Logging: Comprehensive installation feedback
- Windows 10 version 1809 (17763) or later
- Windows 11 (any version)
- PowerShell 5.1
- Administrator privileges (automatically requested)
winget-installer/
βββ Launcher.bat # Main launcher script
βββ script/
β βββ Install-Winget.ps1 # PowerShell installation script
β βββ Files/ # Installation files
β βββ Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
β βββ e53e159d00e04f729cc2180cffd1c02e_License1.xml
β βββ Microsoft.VCLibs.14.00_14.0.33728_x64.Appx
β βββ Microsoft.VCLibs.14.00_14.0.33728_x86.Appx
β βββ Microsoft.VCLibs.14.00_14.0.33728_arm64.Appx
β βββ Microsoft.UI.Xaml.2.8_8.2501.31001_x64.appx
β βββ Microsoft.UI.Xaml.2.8_8.2501.31001_x86.appx
β βββ Microsoft.UI.Xaml.2.8_8.2501.31001_arm64.appx
βββ README.md
βββ LICENSE
βββ .github/
βββ workflows/
βββ release.yml
- Download the latest release
- Extract the archive to your desired location
- Run
Launcher.batas administrator - Follow the on-screen prompts
- Clone the repository:
git clone https://github.com/EXLOUD/winget-installer.git
cd winget-installer-
Download the required offline files (see File Sources)
-
Run the launcher:
Launcher.batSimply run the Launcher.bat file. The script will:
- Check for administrator privileges and request elevation if needed
- Detect your system architecture automatically
- Verify all required files are present
- Install VCLibs dependencies for your architecture
- Install Microsoft.UI.Xaml dependencies
- Check if winget is already installed
- Install winget offline packages
- Configure winget for all users
- Disable telemetry for privacy
- Add winget to PATH if needed
The PowerShell script can be run directly with additional options:
# Run with execution policy bypass
powershell -ExecutionPolicy Bypass -File "script\Install-Winget.ps1"
# Run with no profile for clean environment
powershell -NoProfile -ExecutionPolicy Bypass -File "script\Install-Winget.ps1"The offline installation files need to be downloaded from Microsoft's official sources:
- Microsoft.DesktopAppInstaller_1.11.400.msixbundle
- Microsoft.DesktopAppInstaller_License.xml
- Source: GitHub Releases
-
VCLibs 14.00 (x86, x64, ARM64)
-
Microsoft.UI.Xaml.2.8 (x86, x64, ARM64) and open as archive.....
- Source: NuGet Gallery
- Solution: Install PowerShell 5.1 bcoz i'm lazzy for write/adapt by PS7 :D
- Download: PowerShell 5.1
- Solution: Ensure the
scriptfolder is in the same directory asLauncher.bat - Check: Verify the file structure matches the expected layout
- Solution: Run
Launcher.batas administrator - Alternative: Right-click β "Run as administrator"
- Solution: Restart your command prompt or PowerShell session
- Alternative: Log out and log back in to refresh PATH
- Solution: Download all required files and place them in the
script/Files/directory - Check: Verify file names match exactly (case-sensitive)
If you encounter issues:
- Check the Issues page
- Search for similar problems and solutions
- Create a new issue with detailed error messages
- Include your Windows version and architecture
- Telemetry Disabled: The script automatically disables winget telemetry
- No Data Collection: This installer doesn't collect or transmit any personal data
- Local Installation: All operations are performed locally on your system
- Code Signing: We recommend verifying the integrity of downloaded files
- Administrator Rights: Required for system-wide installation and PATH modification
- Antivirus: Some antivirus software may flag batch files - this is a false positive
We welcome contributions! Please read our Contributing Guidelines before submitting pull requests.
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes
- Test thoroughly on different Windows versions
- Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
- Use consistent indentation (4 spaces for PowerShell, 2 spaces for batch files)
- Add comments for complex logic
- Follow PowerShell best practices
- Test on multiple architectures when possible
This project is licensed under the MIT License - see the LICENSE file for details.
- Microsoft for developing winget and providing the core packages
- Community contributors who have helped improve this installer
- Beta testers who provided valuable feedback
- winget-cli - Official winget command-line tool
- winget-pkgs - Official winget package repository
- chocolatey - Alternative package manager for Windows
Made with β€οΈ by EXLOUD