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

RE: Missing Icons - Resolution

From: Leon Zandman <lzandman_at_lode.nl>
Date: 2005-10-20 10:25:52 CEST

> Is it a bug that removing TortoiseSVN doesn't clean out all
> its entries in the registry? And if so, does the problem lie
> in Microsoft's uninstall software or is there something
> missing from the TortoiseSVN scripts?

Here's a copy of a response I just posted to the users list on someone
else's question. I think the cause is similar:

"I expect the real cause for your problem lies in a problematic
install/uninstall cycle. All the registry keys that are required for
integrating the TSVN shell extensions are created by the MSI installer.
These registry settings reside inside a so-called Windows Installer
component. The way this works is that only the first time a Windows
Installer component is installed it actually gets written to the system.
The second, third etc. time it is installed only a reference count is
incremented, nothing is actually written to the system. The same applies
to uninstall. When a component is uninstalled its reference count is
decremented until it reaches zero. Only then it is really removed from
the system.

Somewhere along the way the reference count for TSVN's shell extension
component was probably messed up, so Windows Installer thought the
registry settings where installed, whereas in reality they weren't. This
explains why multiple installs/uninstalls failed to solve the problem:
they only increased/decreased the reference count, but never actually
installed the registry keys."


Leon Zandman

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Oct 20 10:26:32 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.