+2006-09-20 Gal
+ PATCH: [ 1552248 ] Install as a ClearCase diff tool
+ InnoSetup: WinMerge.iss
+ InnoSetup/Languages: *.isl
+
2006-09-20 Kimmo
PATCH: [ 1560904 ] Install 64-bit ShellExtension
InnoSetup: WinMerge.iss
InnoSetup: WinMerge.iss
2005-10-20 Kimmo
- Previous change history is in file readme.txt
\ No newline at end of file
+ Previous change history is in file readme.txt
ExplorerContextMenu=&Enable Explorer context menu integration
IntegrateTortoiseCVS=Integrate with &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Borland® Delphi &4 Binary File Support
UpdatingCommonControls=Updating the System's Common Controls
ExplorerContextMenu=&Enable Explorer context menu integration
IntegrateTortoiseCVS=Integrate with &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Borland® Delphi &4 Binary File Support
UpdatingCommonControls=Updating the System's Common Controls
ExplorerContextMenu=&Habilita la integració del menú de contexte a l'Explorador
IntegrateTortoiseCVS=Integra amb el &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Suport per a fitxers binaris del Borland® Delphi &4
UpdatingCommonControls=Actualitzant els Controls Comuns del Sistema
ExplorerContextMenu=&Enable Explorer context menu integration
IntegrateTortoiseCVS=Integrate with &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Borland Delphi &4 Binary File Support
UpdatingCommonControls=Updating the System's Common Controls
ExplorerContextMenu=&Enable Explorer context menu integration
IntegrateTortoiseCVS=Integrate with &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Borland Delphi &4 Binary File Support
UpdatingCommonControls=Updating the System's Common Controls
ExplorerContextMenu=&Enable Explorer context menu integration
IntegrateTortoiseCVS=Integrate with &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Borland® Delphi &4 Binary File Support
UpdatingCommonControls=Updating the System's Common Controls
ExplorerContextMenu=&Enable Explorer context menu integration
IntegrateTortoiseCVS=Integrate with &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Borland® Delphi &4 Binary File Support
UpdatingCommonControls=Updating the System's Common Controls
ExplorerContextMenu=&Enable Explorer context menu integration
IntegrateTortoiseCVS=Integrate with &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Borland® Delphi &4 Binary File Support
UpdatingCommonControls=Updating the System's Common Controls
ExplorerContextMenu=&Enable Explorer context menu integration
IntegrateTortoiseCVS=Integrate with &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Borland® Delphi &4 Binary File Support
UpdatingCommonControls=Updating the System's Common Controls
ExplorerContextMenu=&Enable Explorer context menu integration
IntegrateTortoiseCVS=Integrate with &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Borland® Delphi &4 Binary File Support
UpdatingCommonControls=Updating the System's Common Controls
ExplorerContextMenu=&Explorer Kontextmenü-Integration aktivieren
IntegrateTortoiseCVS=Integrieren in &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Borland® Delphi &4 Binärdatei-Unterstützung
UpdatingCommonControls=Aktualisieren der System-Komponenten
;Tasks
ExplorerContextMenu=Integrálás az Intézõ &context-menüjéhez
IntegrateTortoiseCVS=Integrálás a &TortoiseCVS programmal
-IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateTortoiseSVN=Integrálás a T&ortoiseSVN programmal
+IntegrateClearCase=Integrálás a Rational &ClearCase programmal
IntegrateDelphi4=Borland® Delphi &4 bináris fájl támogatás
UpdatingCommonControls=Updating the System's Common Controls
;Tasks
ExplorerContextMenu=&Attiva l'integrazione con il menu contestuale di Explorer
IntegrateTortoiseCVS=Integrazione con &TortoiseCVS
-IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateTortoiseSVN=Integrazione con T&ortoiseSVN
+IntegrateClearCase=Integrazione con Rational &ClearCase
IntegrateDelphi4=Supporto per i file binari di Borland® Delphi &4
UpdatingCommonControls=Aggiornamento dei controlli comuni del sistema in corso...
ExplorerContextMenu=\83G\83N\83X\83v\83\8d\81[\83\89\82Ì\83R\83\93\83e\83L\83X\83g\83\81\83j\83\85\81[\82É\92Ç\89Á(&E)
IntegrateTortoiseCVS=TortoiseCVS\82Æ\82Ì\98A\8cg(&T)
IntegrateTortoiseSVN=TortoiseSVN\82Æ\82Ì\98A\8cg(&O)
+IntegrateClearCase=Rational ClearCase\82Æ\82Ì\98A\8cg(&C)
IntegrateDelphi4=Borland Delphi 4 \83o\83C\83i\83\8a\83t\83@\83C\83\8b\83T\83|\81[\83g(&4)
UpdatingCommonControls=\83V\83X\83e\83\80\82Ì\83R\83\82\83\93\83R\83\93\83g\83\8d\81[\83\8b\82ð\83A\83b\83v\83f\81[\83g\82µ\82Ü\82·
ExplorerContextMenu=&Enable Explorer context menu integration
IntegrateTortoiseCVS=Integrate with &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Borland Delphi &4 Binary File Support
UpdatingCommonControls=Updating the System's Common Controls
;Tasks
ExplorerContextMenu=&Aktiver integrasjon i Windows utforsker sin kontekstmeny
IntegrateTortoiseCVS=Integrer med &TortoiseCVS
-IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateTortoiseSVN=Integrer med T&ortoiseSVN
+IntegrateClearCase=Integrer med Rational &ClearCase
IntegrateDelphi4=Støtte for Borland® Delphi &4 binære file
UpdatingCommonControls=Oppdater systemets felles kontrollelement
;Tasks
ExplorerContextMenu=&Wlacz integracje z menu Eksploratora
IntegrateTortoiseCVS=Integracja z &TortoiseCVS
-IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateTortoiseSVN=Integracja z T&ortoiseSVN
+IntegrateClearCase=Integracja z Rational &ClearCase
IntegrateDelphi4=Obsluga plików binarnych Borland® Delphi &4
UpdatingCommonControls=Aktualizacja wspólnych kontrolek systemowych SCC
ExplorerContextMenu=&Enable Explorer context menu integration
IntegrateTortoiseCVS=Integrate with &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Borland® Delphi &4 Binary File Support
UpdatingCommonControls=Updating the System's Common Controls
ExplorerContextMenu=&Enable Explorer context menu integration
IntegrateTortoiseCVS=Integrate with &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Borland® Delphi &4 Binary File Support
UpdatingCommonControls=Updating the System's Common Controls
ExplorerContextMenu=&Enable Explorer context menu integration
IntegrateTortoiseCVS=Integrate with &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Borland® Delphi &4 Binary File Support
UpdatingCommonControls=Updating the System's Common Controls
ExplorerContextMenu=&Möjliggör integration med Explorers menyer
IntegrateTortoiseCVS=Integrera med &TortoiseCVS
IntegrateTortoiseSVN=Integrera med T&ortoiseSVN
+IntegrateClearCase=Integrera med Rational &ClearCase
IntegrateDelphi4=Stöd Borland® Delphi4 Binära filer
UpdatingCommonControls=Uppdatera Systemets Vanliga Kontroller
ExplorerContextMenu=&Enable Explorer context menu integration
IntegrateTortoiseCVS=Integrate with &TortoiseCVS
IntegrateTortoiseSVN=Integrate with T&ortoiseSVN
+IntegrateClearCase=Integrate with Rational &ClearCase
IntegrateDelphi4=Borland® Delphi &4 Binary File Support
UpdatingCommonControls=Updating the System's Common Controls
Name: ShellExtension; Description: {cm:ExplorerContextMenu}; GroupDescription: {cm:OptionalFeatures}
Name: TortoiseCVS; Description: {cm:IntegrateTortoiseCVS}; GroupDescription: {cm:OptionalFeatures}; Check: TortoiseCVSInstalled
Name: TortoiseSVN; Description: {cm:IntegrateTortoiseSVN}; GroupDescription: {cm:OptionalFeatures}; Check: TortoiseSVNInstalled; MinVersion: 0,5.0.2195sp3
+Name: ClearCase; Description: {cm:IntegrateClearCase}; GroupDescription: {cm:OptionalFeatures}; Check: ClearCaseInstalled
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}
Else
result := False;
End;
+
+{Returns ClearCase external tools configuration file name}
+Function ClearCaseMapFile(): string;
+Begin
+ if not RegQueryStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Rational Software\', 'RSINSTALLDIR', Result) then
+ begin
+ Result := 'C:\Program Files\Rational\';
+ end;
+ Result := Result + 'ClearCase\lib\mgrs\map';
+End;
+
+{Determines whether or not Rational ClearCase is installed}
+Function ClearCaseInstalled(): boolean;
+Begin
+ Result := FileExists(ClearCaseMapFile());
+End;
+
+{Intergrate WinMerge as ClearCase external diff tool}
+Procedure IntegrateClearCase();
+Var
+ MapFile: TStringList;
+ Unused: String;
+ I: Integer;
+
+Begin
+ MapFile := TStringList.Create();
+ {Read the entire map file to a string list}
+ MapFile.LoadFromFile(ClearCaseMapFile());
+ if MapFile.Count > 0 then
+ begin
+ for I := 0 to MapFile.Count do
+ begin
+ {Search for the 'text_file_delta xcompare ...' line}
+ if (MapFile.Strings[I][1] <> ';') and (Pos('text_file_delta', MapFile.Strings[I]) > 0) and (Pos('xcompare', MapFile.Strings[I]) > 0) then
+ begin
+ {Comment-out the current line}
+ MapFile.Strings[I] := ';' + MapFile.Strings[I];
+ {Insert a line below with WinMerge as the diff tool}
+ MapFile.Insert(I + 1, 'text_file_delta xcompare '+ ExpandConstant('{app}\') + ExeName(Unused));
+ break;
+ end;
+ end;
+ { Save the modified file. }
+ MapFile.SaveToFile('C:\Program Files\Rational\ClearCase\lib\mgrs\map');
+ end;
+End;
+
+procedure CurStepChanged(CurStep: TSetupStep);
+Begin
+ if CurStep = ssPostInstall then
+ begin
+ if IsTaskSelected('ClearCase') then
+ begin
+ IntegrateClearCase();
+ end;
+ end;
+End;
+