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

Re: ? How is the ShellExt Registered (Manual Installation)

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 17 Mar 2008 12:54:28 +0100

Alec S. wrote:

> How is the TortoiseSVN shell extension registered? Every shell
> extension that I've seen has been installed by registering its DLL,
> for example: > regsvr32.exe [/i] SomeSHExt.dll, where the registration
> code is contained with the extension code in the DLL.

You obviously haven't seen many extensions or other COM objects yet.

> How does TortoiseSVN do it? From what I can tell, the installer
> manually adds the registry entries. Is this correct?

yes. And there's a reason for that.

Using self registration is 'strongly discouraged' by Microsoft and
should be avoided at all costs.
http://msdn2.microsoft.com/en-us/library/aa371608.aspx
(if that isn't enough for you, you can easily find thousands of pages
complaining about failing COM-Installations simply because the
installer/uninstaller messed up by using self-registration).

> What I am trying to do is to avoid using the installer, and manually
> install the required files and registry entries. I have done it this

Good luck. Do me one favour: *never*, *ever* (!) release your custom
stuff. If you do, I'll redirect every user complaining about a failed or
messed up TSVN installation to you personally.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-03-17 12:54:46 CET

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.