WinGet can't tell if upgrade needed
to fix this there need to be a additional registry entry in the uninstall part (REG_SZ, Name: DisplayVersion, Value: (VersionNr like 1.1.2) Missing in the file setup/WDS.nsi Function CreateUninstallEntry This might be the additional line needed:
Workaround run the flowing command: reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\WinDirStat /v DisplayVersion /t REG_SZ /d 1.1.2
Reported to WinGet as WinGet issue #1943 :
WinDirStat 1.1.2 doesn't have its installed version number visible to the API used by WinGet.
WinDirStat 1.1.2 installed. winget upgrade lists it as upgradable.
Steps to reproduce