Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip already installed packages #1061

Closed
Josh65-2201 opened this issue Jun 1, 2021 · 6 comments
Closed

Skip already installed packages #1061

Josh65-2201 opened this issue Jun 1, 2021 · 6 comments
Labels
Catalog-Health Some scenarios related to install/upgrade/import need improvements Issue-Feature This is a feature request for the Windows Package Manager client. Resolution-Duplicate Issue is a duplicate
Milestone

Comments

@Josh65-2201
Copy link

Description of the new feature/enhancement

It wastes a lot of time and most of the time reset settings when winget reinstall the same program

Proposed technical implementation details (optional)

It should look at the package name, author and version to determine if it the same and not install it. It could also say that the package is already installed

@Josh65-2201 Josh65-2201 added the Issue-Feature This is a feature request for the Windows Package Manager client. label Jun 1, 2021
@ghost ghost added the Needs-Triage Issue need to be triaged label Jun 1, 2021
@denelon denelon removed the Needs-Triage Issue need to be triaged label Jun 1, 2021
@denelon
Copy link
Contributor

denelon commented Jun 1, 2021

@josh-65 is your comment the result of trying to winget install a package already on your system, or was this related to another command like winget upgrade?

@denelon denelon added the Needs-Author-Feedback Issue needs attention from issue or PR author label Jun 1, 2021
@Josh65-2201
Copy link
Author

I'm using winget install

@ghost ghost added Needs-Attention Issue needs attention from Microsoft and removed Needs-Author-Feedback Issue needs attention from issue or PR author labels Jun 1, 2021
@iDolmatov
Copy link

I do not agree that the installation should be canceled (skipped).
If you run the classic installer (not MSI or appx) on the system, then you can install the program in the same folder. The behavior of an installer in terms of the presence of a program directly depends on the developer of this installer. This includes saving or overwriting settings.
Here developer can release display a question about again install if an installed program is found. In quiet mode (-q --quiet), suppress the prompt and force reinstallation of the program.

@iDolmatov
Copy link

See also issue #929 ("winget should not install an already installed package").

@denelon denelon removed the Needs-Attention Issue needs attention from Microsoft label Jun 2, 2021
@denelon denelon added the Catalog-Health Some scenarios related to install/upgrade/import need improvements label Jul 21, 2021
@denelon
Copy link
Contributor

denelon commented Jan 5, 2022

Duplicate of #929

@denelon denelon marked this as a duplicate of #929 Jan 5, 2022
@ghost
Copy link

ghost commented Jan 5, 2022

@josh-65 we've identified this Issue as a duplicate of another one that already exists. This specific instance is being closed in favor of tracking the concern over on the referenced Issue. Thanks for your report! Be sure to add your 👍 to the other issue to help raise the priority.

@ghost ghost closed this as completed Jan 5, 2022
@ghost ghost added the Resolution-Duplicate Issue is a duplicate label Jan 5, 2022
@denelon denelon added this to the v1.3-Client milestone Jun 21, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Catalog-Health Some scenarios related to install/upgrade/import need improvements Issue-Feature This is a feature request for the Windows Package Manager client. Resolution-Duplicate Issue is a duplicate
Projects
None yet
Development

No branches or pull requests

3 participants