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

RE: Re: Installing tortoise without your installer

From: LIEU-SONG Benh <blieu-song_at_generali.fr>
Date: 2007-02-22 08:42:58 CET

Hi,

Thank you for the answer.

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

I understand that point of view. The installer I'm setting up will be used in internal over here (the company I work for), so I'm quite confident that the few people who will use it won't complain to the tortoise SVN mailing list but to me first.

And if you're afraid other people see the solution you provide, you can send it to me only (?)

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

Actually I've thought about that, but I wanted something more "clean" (if we can say so) than calling an external program from NSIS and which doesn't require installing Windows Installer 3.1, which I found was not that easy to do (because of an issue I forgot about but which has been addressed by Microsoft). That will be my last resort.

Benh

-----Message d'origine-----
De : Stefan Küng [mailto:tortoisesvn@gmail.com]
Envoyé : mercredi 21 février 2007 18:35
Ŕ : users@tortoisesvn.tigris.org
Objet : Re: Installing tortoise without your installer

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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Feb 22 08:43:13 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.