microsoft / microsoft/winget-cli
Better handling for MSI Error 1638
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue
MSI Error 1638 occurs when I attempt to install over a newer version.
Steps to reproduce
Try to install an MSI based package when a newer version is already installed.
Expected behavior
I should be informed the package I am attempting to install is an older version.
Actual behavior
The package is downloaded and executed, and I get an error 1638
Environment
PS C:\Users\denelon> winget --info
Windows Package Manager (Preview) v1.3.431-preview
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22557.1
Package: Microsoft.DesktopAppInstaller v1.18.431.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named in the issue. Start by reproducing installation of an older MSI package over a newer installed version, then trace the install and upgrade handling for MSI Error 1638. Done means the CLI identifies the older package before execution and reports that a newer version is already installed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100