[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Consistent Uninstall Registry Key

From: Chris Feldhacker <feldhacker.chris_at_principal.com>
Date: Thu, 8 Jul 2010 11:54:52 -0700 (PDT)

Like most products, TortoiseSVN creates an uninstall key in the registry under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

However, the exact key name changes with every release:
{5DC6B387-DCD5-4B66-B866-434020FF2ECC}, then {0C6F7EA4-D42E-4281-90E1-369D44FC761A}, then {4B6A3B5E-D26E-4690-A061-F3E2FB10F0E5}, etc.

Working in an enterprise setting supporting users were the version of TortoiseSVN installed can vary, writing automation scripts that perform tasks such as uninstalling TortoiseSVN is difficult when it is unknown (or at least difficult to determine) what exact command should be executed to perform the uninstall.

Looking through the Uninstall section of the registry, it seems half the entries contain UUID keys while the other half contain keys with a "common name", such as:
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CollabNet Subversion Client"
-- and the Uninstall key doesn't change regardless of the exact version installed.

Would it be possible to enhance TortoiseSVN to also utilize a consistent "common name" as the Uninstall key rather than an ever-changing UUID key?

Thanks!

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2631063

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-07-08 21:00:57 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.