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

Re: Installing tortoise without your installer

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-02-21 18:34:53 CET

LIEU-SONG Benh wrote:

> I’m building an environment which is a collection of « free » tools such
> as Eclipse, CDT, Cygwin and subversion + Tortoise SVN + subclipse.
>
> I’m now trying to build an installer package which would install them
> all (I use NSIS).
>
> I’m trying to avoid calling the Tortoise SVN installer (I don’t know how
> to achieve this from NSIS anyways) so I have to copy the files and
> update the registry myself.
>
> I couldn’t figure out which parts of the registry to update. I’ve tried
> the following so far :
>
> 1. looking for all the entries which match « tortoise » and replicate them

Without understanding what each entry is for, that's a dangerous step
you take here.

> 2. exporting the Windows registry before installing TSVN, installing it,
> and doing the export again. I then diff the two ouputs and import it.
>
> None of these two solutions work. I don’t see the TSVN command on the
> « right click menu » in the explorer shell. Also, the TortoiseProc isn’t
> started at Windows launch.
>
> Is there a way to achieve this without using the installer you provide ?

There is, but I won't tell you how to do it. The reason is simple: if
you create an installer for TortoiseSVN, we don't have control over it.
If you do something wrong when installing, people will come *here* to
complain but we won't know that they're not using our approved installer.
As you already noticed, installing TSVN isn't an easy task and requires
several registry entries to be created. And since most of those entries
have to be made in HKLM, admin privileges are required. If you for
example don't check that in your installer, TSVN won't be installed
correctly. Another thing is installing the c-runtime libraries (and
MFC), which require heavy registering themselves, including messing
around with the side-by-side assembly cache.

The best solution for you would be to use the TSVN installer. You can do
that by calling msiexec.exe with the correct parameters.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Feb 21 18:35:10 2007

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.