Winget command missing from server 2019
Environment
[winget --info]
Windows Package Manager v0.1.41331 Preview
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.server 17763.1
Package: Microsoft.DesktopAppInstaller v1.0.41331.0
Any other software?
Steps to reproduce
- Install the latest Windows Package Manager
- I cannot find the Windows Package Manager though I have it installed.
Expected behavior
Winget should be available from the command line.
Actual behavior
Winget is not available from the command line.
The only way to get it to work,
- enable developer mode in settings
- execute the following powershell command
Get-AppxPackage Microsoft.DesktopAppInstaller | %{ Invoke-CommandInDesktopPackage -PackageFamilyName $_.PackageFamilyName -AppId winget -Command C:\Windows\System32\cmd.exe -PreventBreakaway }
- navigate to the app package and run AppInstallerCli.exe
Winget command missing from server 2019
Environment
Steps to reproduce
Expected behavior
Winget should be available from the command line.
Actual behavior
Winget is not available from the command line.
The only way to get it to work,
Get-AppxPackage Microsoft.DesktopAppInstaller | %{ Invoke-CommandInDesktopPackage -PackageFamilyName $_.PackageFamilyName -AppId winget -Command C:\Windows\System32\cmd.exe -PreventBreakaway }