You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use the winget client as my tool for configuring all apps on my PC. Even if I have not installed the app through winget I can list / update / uninstall and repair the app.
By passing a command line argument to the winget, the winget will query the control panel for all ARP entries and all Windows Store and Sideloaded apps.
winget list --win32
winget update --win32
winget uninstall --win32
*--win32 is a placeholder name.
The text was updated successfully, but these errors were encountered:
If you use WMI to query installed programs make sure to not query Win32_Product and instead use Win32reg_AddRemovePrograms. Win32_Product is not query optimized and interacting with that class will initiate a consistency check of packages installed, verifying and repairing the install.
@KevinMarquette Oh, you are right. The class is indeed tied to SCCM and not available by default. An alternative approach would be to enumerate the entries in <HKCU|HKLM>\SOFTWARE[\Wow6432Node]\Microsoft\Windows\CurrentVersion\Uninstall.
I want to use the winget client as my tool for configuring all apps on my PC. Even if I have not installed the app through winget I can list / update / uninstall and repair the app.
By passing a command line argument to the winget, the winget will query the control panel for all ARP entries and all Windows Store and Sideloaded apps.
winget list --win32
winget update --win32
winget uninstall --win32
*--win32 is a placeholder name.
The text was updated successfully, but these errors were encountered: