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

Re: Consistent Uninstall Registry Key

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 08 Jul 2010 21:24:19 +0200

On 08.07.2010 20:54, Chris Feldhacker wrote:
> 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?

No, sorry. That's not possible. The only guid that stays the same is the
UpgradeCode:
http://wix.sourceforge.net/manual-wix2/wix_xsd_product.htm

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2631120
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-07-08 21:24:47 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.