Repository navigation
Changelog
[1.2.0] - 2025-01-24
Added
- Windows App Runtime 1.8 support - New dependency required for winget 1.8+
Install-WindowsAppRuntime function to install runtime from local MSIX files
Install-WindowsAppRuntimeFromWeb function as fallback to download runtime installer
Support for versioned runtime folders (Microsoft.WindowsAppRuntime.Redist.1.8.*)
Installs all 4 runtime components in correct order:
Microsoft.WindowsAppRuntime.1.8.msix (Framework)
Microsoft.WindowsAppRuntime.Main.1.8.msix
Microsoft.WindowsAppRuntime.Singleton.1.8.msix
Microsoft.WindowsAppRuntime.DDLM.1.8.msix
- Architecture-specific runtime installation - Automatically detects and uses correct folder:
win10-x64 for 64-bit systems
win10-x86 for 32-bit systems
win10-arm64 for ARM64 systems
- Show-WingetInfo helper function for displaying winget information
Changed
- Runtime is now installed before winget update/installation
- Improved error handling for multiple system languages (EN/UA/RU)
- Better detection of "already installed" errors
Fixed
- Fixed winget update failing with HRESULT: 0x80073CF3 due to missing Windows App Runtime dependency
[1.1.0] - 2025-01-24
Added
- Winget update functionality - Automatically updates winget if newer version exists in Files folder
- Get-MsixBundleVersion function to extract version from .msixbundle files
Reads AppxBundleManifest.xml from bundle archive
Returns parsed version object for comparison
- Get-InstalledWingetVersion function to get currently installed winget version
Uses Get-AppxPackage for accurate version detection
- Update-WingetIfNewer function to compare and update winget
Compares installed version with bundle version
Uses -ForceApplicationShutdown flag for safe update
Provides detailed version comparison output
Changed
- Script now checks for updates before proceeding with fresh installation
- Improved installation flow to handle both fresh install and update scenarios
[1.0.2] - Initial Version
Features
- Offline installation of Windows Package Manager (winget)
- Automatic download of winget bundle and license if not present
- Dependency installation:
Microsoft.VCLibs.140.00.UWPDesktop (v14.0.33728.0)
Microsoft.UI.Xaml.2.8 (v8.2501.31001.0)
- Multi-architecture support (x64, x86, ARM64)
- Automatic architecture detection
- User and system-wide provisioning (with license file)
- Automatic PATH configuration
- Telemetry disabling via Disable-WingetTelemetry function
- Fallback mechanism to find and configure winget manually
- Detailed colored console output for all operations
Functions
- Download-WingetFiles - Downloads winget bundle and license from GitHub
- Disable-WingetTelemetry - Disables winget telemetry in settings.json
File Structure
winget-installer/
├── install.ps1
└── 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
└── Microsoft.WindowsAppRuntime.Redist.1.8.260101001/
├── win10-x64/
│ ├── Microsoft.WindowsAppRuntime.1.8.msix
│ ├── Microsoft.WindowsAppRuntime.Main.1.8.msix
│ ├── Microsoft.WindowsAppRuntime.Singleton.1.8.msix
│ └── Microsoft.WindowsAppRuntime.DDLM.1.8.msix
├── win10-x86/
│ └── (same files)
└── win10-arm64/
└── (same files)
Requirements
- Windows 10 (1809+) or Windows 11
- PowerShell 5.1
- Administrator privileges
- Internet connection (optional, for downloading missing files)