Fix software update when old MSI installer is missing (MSI exit code 1603) #4809
Labels
Command-Install
Issue related to WinGet Install
Issue-Feature
This is a feature request for the Windows Package Manager client.
Brief description of your issue
Upgrading a software package should only require the installer of the new version but unfortunately, the old installer is also essential to be present. If it is not, automated installation fails. (In case of an interactive installation, a modal window pops up that allows you to point to it.)
As the process of upgrading breaks down unexpectedly, I classify this failure as a bug. Technically, though, fixing it will require some new code to be added rather than fixing some existing code, so you may also consider it a borderline feature request.
For further details, see UniGetUI issue 2742 whence I was redirected here. As that software simply calls
winget
, the issue described there can be simply understood in terms of this software. Also see the first comment and my answer to it there.Steps to reproduce
winget install <any software with an MSI installer mechanism such as LibreOffice 24.8.0>
.msi
installer file is not present at its old location. (In an actual system, cleanups will remove such files.)winget
, attempt upgrading to a newer version of LibreOffice, say 24.8.1.Expected behavior
winget
figures out that a deprecated version's.msi
installer file for the package is required but missing, and downloads it.Actual behavior
MSI Installer exit code 1603.
For further details, see UniGetUI issue 2742.
Environment
The text was updated successfully, but these errors were encountered: