[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: Alec S. <googroups_at_hotmail.com>
Date: Mon, 17 Mar 2008 09:02:14 -0700 (PDT)

On Mar 17, 7:54 am, Stefan Küng <tortoise..._at_gmail.com> wrote:
> 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.

Actually I have; plenty.

> > 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).

That's good reading and there's some valid points, but then why is it
that most extensions do it that way? I haven't had any trouble with
any yet. The problem is that the "preferred way" forces the use of an
installer which is not desirable in some circumstances. Many apps come
with installers, but also in the form of simple ZIPs. That way newbies
can get the easy one-click install method, and advanced user get the
convenience of installing manually, using simple file copying to
install the files, self-registration to register extensions, the
service controller to create services, and the device manager API to
install devices.

> > 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.

Woah there Nelly, take it easy. Release? What are you talking about? I
just want to manually install certain apps. I want to control where
they go and what they put on my system. That way I can avoid having
them tied to a specific installation or system, sort of like U3.

I really don't see why TortoiseSVN is so uptight in its installation.
I have manually installed Apache, PHP, MySQL, numerous dev languages,
media players, shell extensions, monitoring apps, screensavers,
searchers, spellcheckers, and other servers. Surely TortoiseSVN is not
more complex than some of the servers. If they can be manually
installed (copy files, set registry settings, install services), then
why can't TSVN?

--
Alec S.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-03-17 17:02:56 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.