チケット #43969

WinGet can't tell if upgrade needed

登録: 2022-02-22 04:02 最終更新: 2022-09-29 00:26

報告者:
担当者:
(未割り当て)
チケットの種類:
状況:
オープン
コンポーネント:
(未割り当て)
マイルストーン:
(未割り当て)
優先度:
3
重要度:
3
解決法:
なし
ファイル:
なし

詳細

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

C:\Windows\system32>winget upgrade
Name                Id                    Version Available Source
------------------------------------------------------------------
WinDirStat          WinDirStat.WinDirStat Unknown 1.1.2     winget
1 upgrades available.

チケットの履歴 (2 件中 2 件表示)

2022-02-22 04:02 更新者: thoreandan
  • 新しいチケット "WinGet can't tell if upgrade needed" が作成されました
2022-09-29 00:26 更新者: myticktack
コメント

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:

WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\WinDirStat" "DisplayVersion" "${dVersionMajor}.${dVersionMinor}.${dVersionRev}"

Workaround run the flowing command: reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\WinDirStat /v DisplayVersion /t REG_SZ /d 1.1.2

添付ファイルリスト

添付ファイルはありません

編集

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする