From 00808abb69cd9a62c5a44b0455e30b80875ddc75 Mon Sep 17 00:00:00 2001 From: Christian Blackburn Date: Wed, 17 Mar 2004 20:48:47 +0000 Subject: [PATCH] I updated \\ShellExtension\\Register.bat to also UnRegister with a /U (case-insensitive) parameter. I also added an UnRegister.bat which does nothing more than call Register.bat with the /u switch. -Seier Blackburn --- ShellExtension/Register.bat | 18 +++++++++++++++--- ShellExtension/UnRegister.bat | 1 + Src/readme.txt | 6 ++++++ 3 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 ShellExtension/UnRegister.bat diff --git a/ShellExtension/Register.bat b/ShellExtension/Register.bat index 28bf73e9c..53c83213d 100644 --- a/ShellExtension/Register.bat +++ b/ShellExtension/Register.bat @@ -8,7 +8,19 @@ : Windows before it works. : : ShellExtension.dll can be unregistered with command: -: regsvr32 -u ShellExtension.dll +: "Register.bat /U" -echo Registering ShellExtension.dll... -regsvr32 ShellExtension.dll \ No newline at end of file +IF "%1" == "/u" Goto Uninstall +IF "%1" == "/U" Goto Uninstall + +Echo Registering ShellExtension.dll... +RegSvr32 ShellExtension.dll + +Goto End + +:Uninstall +Echo UnRegistering ShellExtension.dll... +RegSvr32 /u ShellExtension.dll + +:End +CLS \ No newline at end of file diff --git a/ShellExtension/UnRegister.bat b/ShellExtension/UnRegister.bat new file mode 100644 index 000000000..7cd7ec2c1 --- /dev/null +++ b/ShellExtension/UnRegister.bat @@ -0,0 +1 @@ +Register.bat /u \ No newline at end of file diff --git a/Src/readme.txt b/Src/readme.txt index 786bbeab9..9f1daaeb1 100644 --- a/Src/readme.txt +++ b/Src/readme.txt @@ -1,3 +1,8 @@ +2004-03-17 Seier + Modified \ShellExtension\Register.bat to also UnRegister via a /U (case-insensitive) parameter. + I also added an UnRegister.bat which does nothing more than call Register.bat with the /u switch. + + 2004-03-17 Kimmo PATCH: [ 913743 ] Icons for menuitems (RFE 873697) More nice icons from Tim Gerundt (Edit/Goto, Edit/Replace, View/Language, View/Font, Window/Change Pane) @@ -34,6 +39,7 @@ -Whether or not TortoiseCVS is installed support for it is added to the registry. That way if a user ever installs it our application with start working with it automatically :) (don't worry this only causes two possibly unecessary registry values and one key to be created) -Since all three of the core WinMerge application files WinMerge*.exe, Merge7z*.dll, and ShellExtension.dll all use Ole Automation, I've included the necessary runtime: OleAut32.dll (VS6 Service Pack 5) + 2004-03-16 Kimmo RFE [ 917196 ] Directory Comparison Results baloon annoyance Don't show infotip for filename when whole filename is already shown -- 2.11.0