Git Product home page Git Product logo

Comments (5)

stephengillie avatar stephengillie commented on June 5, 2024

That's not supposed to happen - the package manager reads from the Registry to know what's on the PC. So even if it was uninstalled through another means it should still be off the list.

If the software files were removed, but the Registry entries not removed - maybe during a manual removal - then I'm not sure how the package manager would react. DefaultInstallLocation is part of the Schema now, but outside of this field, I believe the package manager doesn't check the file system. And that field is only used to help with matching, possibly for packages that normally install side-by-side and don't leave many other details in the Registry.

So the package manager might match the Registry entries, not know to check files on disk to find them missing, then proceed to download the installer and perform an upgrade - which turns into the install you saw. Could this be what happened?

Feature request: Check if the application files have been removed, and prompt in terminal "This package has Registry entries, but its files are missing. Should the Registry entries be removed, should the package be reinstalled, or should this be skipped?"

from winget-cli.

denelon avatar denelon commented on June 5, 2024

@jan10000000001 could you get your device to the state where you believe the applications are removed and run winget list to see what WinGet still reports as installed? The application(s) may not have been completely removed.

from winget-cli.

jan10000000001 avatar jan10000000001 commented on June 5, 2024

@denelon winget list show nothing about firefox and irfanview
@stephengillie i uninstalled the software over control /programm and featueres

from winget-cli.

denelon avatar denelon commented on June 5, 2024

Can you share the WinGet logs for running WinGet list where the two applications are not present, and then logs showing a reproduction where the applications are getting "upgraded"?

from winget-cli.

microsoft-github-policy-service avatar microsoft-github-policy-service commented on June 5, 2024

Hello @jan10000000001,

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

Template: msftbot/noRecentActivity

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.