Skip to content

Instantly share code, notes, and snippets.

@GabiNun
Created March 7, 2026 08:55
Show Gist options
  • Select an option

  • Save GabiNun/2860eb2b44d2a165ab373aa477af3633 to your computer and use it in GitHub Desktop.

Select an option

Save GabiNun/2860eb2b44d2a165ab373aa477af3633 to your computer and use it in GitHub Desktop.
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri https://github.com/microsoft/winget-cli/releases/latest/download/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle -OutFile DesktopAppInstaller.msixbundle
Invoke-WebRequest -Uri https://github.com/microsoft/winget-cli/releases/latest/download/DesktopAppInstaller_Dependencies.zip -OutFile DesktopAppInstaller.zip
Expand-Archive DesktopAppInstaller.zip
Add-AppxPackage -Path DesktopAppInstaller.msixbundle -DependencyPath .\DesktopAppInstaller\x64\*
Remove-Item DesktopAppInstaller* -Recurse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment