Please update registry on software update

Answered

When installing the TeamCity server or the build agent, some info is added to the registry (e.g. install.log of the build agent):

WriteRegStr: "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\JetBrains TeamCity Agent" "DisplayName"="JetBrains TeamCity Build Agent 2019.2"
WriteRegStr: "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\JetBrains TeamCity Agent" "UninstallString"=""c:\BuildAgent\Uninstall.exe""
WriteRegStr: "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\JetBrains TeamCity Agent" "DisplayIcon"=""c:\BuildAgent\Uninstall.exe""
WriteRegStr: "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\JetBrains TeamCity Agent" "Publisher"="JetBrains s.r.o."
WriteRegStr: "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\JetBrains TeamCity Agent" "DisplayVersion"="2019.2 (build 71499)"
WriteRegStr: "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\JetBrains TeamCity Agent" "URLInfoAbout"="http://www.jetbrains.com/teamcity"

After a software update, the version info in the registry keeps unchanged. When you open Control Panel -> Programs and Features, the displayed version of TeamCity server or build agent is wrong and does not correspond to the installed version.

1 comment
Comment actions Permalink

Hi,

Thanks for reaching out to us!

It's a known limitation of the auto-upgrade. The auto-update procedure downloads a .tar.gz with a new version and replaces the binaries in the existing installation with the ones from the archive. It doesn't require more permissions than the user that runs the server already has. Updating the registry may require elevated permissions, which the user may be missing.

There is an existing feature request about that: TW-67253. Feel free to vote for it and leave comments.

If updating the TeamCity version number in the list of installed applications is vital to you, you can manually update your TeamCity server using a Windows installer. The installer should update the existing entries in the registry. 

Any other questions, just let me know.

0

Please sign in to leave a comment.