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

Re: Can't install TSVN for non-administrators

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-11-08 20:44:26 CET

Joachim Durchholz wrote:
> Hi all,
>
> I just wasted an entire day trying to install TortoiseSVN, with no
> tangible results.
>
> I'm running a Windows 2000 Advanced Server, with some pretty
> tightened-up security.
>
> History:
>
> 1) The machine had some earlier versions of TortoiseSVN installed,
> specifically 1.1.1-UNICODE, which was later installed with
> 1.1.2-UNICODE. (I don't know whether there was an intermediate uninstall
> - it's been about a year since I did this.)
>
> 2) As indicated in the docs, I simply installed the current version
> (1.2.6.4786) over the existing TSVN installation.
>
> Result: *Two* entries in the "change/remove software" list of Windows.
> This Shoudn't Have Happened I think...

Right. This shouldn't happen!

> No wonder that TSVN didn't do anything.

That's not the reason. Two entries there don't affect how a program
runs. But it indicates that something else went wrong with the installation.

> 3) Uninstalled both entries in the Software list.
>
> 4) Tried a reinstall. The installer now tells me that I should install
> with administrative privileges. Problem is: I'm already doing everything
> as Administrator (though the ultimate goal is to get TSVN running on a
> normal, unprivileged account).

You did uninstall TSVN twice then? Maybe (just to make sure) you should
download the MS tool to remove orphaned installations:
http://windowsxp.mvps.org/MSICLEAN.htm

> 5) Spent another two hours trying to get anything useful out of regmon
> and filemon. No success though.

Why regmon and filemon? What didn't work?
Have you tried the FAQ?
http://tortoisesvn.sourceforge.net/?q=node/104

> 6) Scanned the Windows registry for remnants. It took me several hours
> to hunt everything down. (Side note: it would be nice if the uninstaller
> really uninstalled. I can't do a clean install anymore, and may have to
> reinstall my entire Windows system just to get TSVN to run - not a very
> happy outlook for me...)

I guess due to the double entries in the "change/remove sw" applet the
reference count of the installer got crippled. So it wouldn't deinstall
anymore correctly because it believed that there are still references
around.
In that case, use our little tool which you can find in the FAQ page
mentioned above.

> 7) Reinstalled TSVN. Things now work. Seems like the previous uninstall
> didn't run cleanly, and the manual purge was effective to some degree.
> I'm now more aware that there should be a choice between "Install for
> all users" and "Install just for me". I can't remember having been
> presented that in the previous installs - and right, it doesn't show up
> now.

That option isn't there anymore. Because if you install with Admin
rights, it automatically installs for "all users", if you're not admin
then it automatically installs for "just for me".

If you want "just for me" even if you're an admin, then you can call
msiexec directly and pass ALLUSERS=1 on the command line.

> Good news: TSVN *works*.
> Bad news: It works only for Administrator. My normal account still
> doesn't have it. (Oh, it has the Start menu entries all right. Even
> calling that mock "TortoiseSVN" program in the Start menu will work,
> TortoiseMerge starts up all right, the help file and website come up
> without any problems. So everything except the shell extension works.)

As far as I understand the installer, you have to install TSVN for every
user who want to use it. The reference count then will make sure that
one user who uninstalls it again doesn't uninstall it for other users too.
But I may be wrong here...

> 8) Uninstalled.
>
> 9) Tried doing
> msiexec /package:TortoiseSVN...msi /jm ALLUSERS=1
> as suggested in the FAQ. It took me another two hours of googling to
> find out that the syntax in the FAQ is simply wrong: you do *either*
> /package *or* /jm. /jm doesn't do what I want anyway - it makes the
> package installable by anyone ("advertises" it in MS terminology), it
> doesn't actually install.
>
> 10) Installed using
> msiexec /package:T...msi ALLUSERS=1
> As before, got it to run nicely under Administrative privileges, but not
> as myself.
>
> 11) Tried installing in my normal account. Actually the installation
> went smoothly - I hadn't expected that installing a package as
> Administrator also advertises it, but anyway.
> Sad thing it didn't help - the installation doesn't report any errors,
> but the shell extension still isn't there.

The whole shell extensions or just the overlays? The context menu isn't
there either?

> General notes:
> a) I did reboot whenever the installation routine asked me to.
> b) My first idea was that the installation wouldn't work because I had
> set some obscure Policy setting to a stricter value. That hypothesis
> went out of the window when the installs started to work (sort of) after
> the manual purge.
> c) My current theory is that the manual purge overlooked something. I
> have no idea where to look though.
>
> *Any* comment appreciated. Even if it amounts to "sorry, we can't help".
> (I'd have to reinstall Windows then... I'm yet undecided whether having
> TSVN is worth *that* hassle, but there are other things that I could
> rectify at that time, so it's indeed a real option.)

Reinstalling windows would really be bad. I can't believe you would do
that and still use TSVN and not kill me first ;)

Please try our small tool to remove leftover registry entries from a
previous TSVN installation which you can find on the FAQ page mentioned
above.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
--
Received on Tue Nov 08 20:39:20 2005

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.