2008/10/1 Douglas Philips <[EMAIL PROTECTED]>
> TK!
>
> Thank you for the tag refresh change. I was unable to test it in
> source, but will test the 0.5 version at work tomorrow.
>
> > 1. You must uninstall the previous version of TortoiseHg before
> > upgrading to 0.5, so that the registry are properly managed.
>
> I'm afraid to ask... what happens if you forget to uninstall 0.4 or
> 0.4.1 first? Will the installer notice or will generally bad things
> happen?
>
I tried to install 0.5 on top of 0.4.1 on my Windows XP and it made some of
the overlay icons disappear, but Explorer continued to work.
I haven't looked at the installer code recently, but half a year ago it
simply did an overwrite of the existing installation. This worked, because
there was no registry deletions required as part of an upgrade.
I think that the present version changes some registry keys, thus the old
settings will remain in registry but will no longer work. These are
primarily links to the Windows Explorer overlay icons.
If you do get into trouble, a simple fix should be to uninstall 0.5,
re-install the version before 0.5 (that would be 0.4.1), uninstall it, and
finally install 0.5 -- yes, that implies 4 times boot
Instead, you could also try to delete the following registry keys and
restart explorer (but I'm not sure if there are other things that needs
fixing as well)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Added
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Changed
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers\Unchanged
A side note: I think the installer needs to be changed so it uninstalls the
old version. This trick is used by TortoiseCVS and nicely avoids the manual
steps outlined above.
Regards,
Peer
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop