Giter Club home page Giter Club logo

Comments (4)

megamorf avatar megamorf commented on May 17, 2024 1

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.

KevinMarquette avatar KevinMarquette commented on May 17, 2024 1

I think Win32Reg_AddRemovePrograms is a SCCM client thing, not exactly sure.

from winget-cli.

megamorf avatar megamorf commented on May 17, 2024

@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.

denelon avatar denelon commented on May 17, 2024

This was completed several releases back. I just missed closing this issue.

from winget-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.