Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Add registry key so Windows will display version number in programs list #777

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ThioJoe
Copy link

@ThioJoe ThioJoe commented Aug 22, 2021

I'm not very familiar with Nullsoft / NSIS so I'm not sure if there's a more elegant way to do this, or have it automatically pull the version number from somewhere more central. But this should make it create a "DisplayVersion" string in the registry alongside the others, so Windows will actually show the version number in the Add/Remove Programs list.

This makes the program compatible with package managers/updates like WinGet, the new official Windows Package Manager.

@zotabee
Copy link

zotabee commented Sep 3, 2021

+1

Thank you ThioJoe.

Hopefully it fixes the bug with WinGet trying to update NZBGet each time because it seems it's missing the version number in the registered information for every installed apps on Windows.

@zotabee
Copy link

zotabee commented May 25, 2022

As for users playing a lot with winget upgrade and/or winget import, each time it will propose to re-install nzbget. That can be annoying so here you are a temporary fix / workaround thanks to @ThioJoe

To add the DisplayVersion "21.1" key yourself (for Win11 x64 systems) :

  • Create a text file
  • Copy/paste this inside the text file and save it:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\NZBGet]
"DisplayVersion"="21.1"
  • Rename the extension to .reg
  • Run it by double clicking on the .reg, confirm, done.

Now there will be the version number shown in the control panel and winget won't detect NZBGet with "unknown version" anymore.

Hopefully it will be fixed one day with the next update of NZBGet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants