Comments (4)
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.
I believe this is still the case with current builds of Windows 10 even if the original kb is somewhat dated: https://support.microsoft.com/en-in/help/974524/event-log-message-indicates-that-the-windows-installer-reconfigured-al
from winget-cli.
I think Win32Reg_AddRemovePrograms
is a SCCM client thing, not exactly sure.
from winget-cli.
@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
.
from winget-cli.
This was completed several releases back. I just missed closing this issue.
from winget-cli.
Related Issues (20)
- Winget should support deprecating packages AKA hiding packages from search HOT 1
- Winget should support logical packages HOT 2
- An error occurred while connecting to the catalog HOT 5
- `upgrade` and `uninstall` commands default to using msstore instead of respecting the package source that the package was originally installed from HOT 3
- PreIndexed package schema modifications to reduce data transfer HOT 1
- WINGET UPGRADE - Package contracts have not been agreed. Operation cancelled. HOT 6
- Agreements should not terminate entire context HOT 4
- windows home single language HOT 2
- Support mixed elevation requirements in configuration files HOT 2
- Regression: `winget pin add --id` is broken with sideBySide experimental feature HOT 3
- Installing PowerShell results in error HOT 5
- InstallerUrl for local directories does not work as expected HOT 4
- Tell what package requires what dependencies when `upgrade --all` HOT 1
- [Feature Request] Local File Support for InstallerURL Property in Manifest File HOT 1
- Encoder de Video OBS Studio HOT 1
- Support experimentation
- Better support for system context HOT 2
- Post-Install Dependencies
- VMware.HorizonClient dependency issue HOT 4
- Update PowerShell SDK Version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winget-cli.