microsoft / microsoft/winget-pkgs
EPSON.EpsonScan2 reports installed version as "Unknown", causing endless update loop
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- PR merge metrics
- PR metrics pending
Description
### Please confirm these before moving forward
- [x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- [x] I have not been informed if the issue is resolved in a preview version of the winget client.
### Category of the issue
Installation issue.
### Brief description of your issue
The package EPSON.EpsonScan2 (Epson Scan 2) always appears in winget upgrade even when the latest version 6.7.81.0 is already installed.
Winget reports the installed version as "Unknown", which causes the package to be considered outdated every time.
This results in an endless update loop.
### Steps to reproduce
1. Install Epson Scan 2 version 6.7.81.0 (either manually or via winget).
2. Run
winget list EPSON.EpsonScan2
3. Winget shows:
Version: Unknown
Available: 6.7.81.0
4. Run:
winget upgrade
5. Winget offers the same update repeatedly.
### Actual behavior
* Installed version is detected as Unknown
* Winget always offers version 6.7.81.0, even when it is already installed
* Updating does not fix the issue
Cause (likely)
The Epson installer does not write DisplayVersion to the Registry.
The manifest in winget-pkgs also does not define DisplayVersion under AppsAndFeaturesEntries.
As a result, winget cannot determine the installed version.
### Expected behavior
Winget should detect the installed version correctly and only offer an upgrade when a newer version exists.
### Environment
```raw
### Environment
Windows Package Manager v1.29.140-preview
Windows: Windows.Desktop v10.0.26220.8340
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.29.140.0
```
### Screenshots and Logs
PS C:\Users\xxx> winget update --include-unknown
Nome ID Versão Disponível Origem
-------------------------------------------------------
Epson Scan 2 EPSON.EpsonScan2 Unknown 6.7.81.0 winget
1 atualizações disponíveis.
PS C:\Users\xxx> Winget show "EPSON.EpsonScan2"
Encontrado Epson Scan 2 [EPSON.EpsonScan2]
Versão: 6.7.81.0
Fornecedor: Seiko Epson Corporation
URL do Fornecedor: https://epson.com/
URL de Suporte do Fornecedor: https://epson.com/Support
Autor: Seiko Epson Corporation
Descrição: Epson Scan 2 is scanner control and image capture software for compatible Epson scanners, allowing users to adjust scan settings like resolution and file format.
Licença: Proprietary
Copyright: © Seiko Epson Corporation
Instaladora:
Tipo de instalador: exe (zip)
URL do instalador: https://ftp.epson.com/drivers/ESC220_EScan2_67810_NA.exe
Instalador SHA256: a910c5a0d598d2035447e0c8cdd695a42f18db1b09dee3645e26dd2682a0cd6c
Data do Lançamento: 2025-02-20
Distribuição Offline Com Suporte: true
Contributor guide
Research direction
Start with the EPSON.EpsonScan2 package manifest and inspect its AppsAndFeaturesEntries alongside the reported winget list and winget upgrade output. Verify the installed Epson Scan 2 version is detected as 6.7.81.0 rather than Unknown and that winget no longer offers the same version repeatedly.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100