Beyond Compare 2.4.3 INNO repack with license key

is-welcomeBeyond Compare® is the ideal tool for comparing files and folders on your Windows or Linux system. Visualize changes in your code and carefully reconcile them. Beyond Compare is available at Scooter Software. A license was purchased to support a large user community. I wanted a means to simplify the distribution of this application with the license file. I chose INNOSetup to compile the license and application into one single installer.

This is a repack of the Beyond Compare setup. It is cleaned it up a little with added support in using the [Setup] App* options, original unavailable in the official release.

Beyond Compare 2.4.3 INNO script

[Setup]
AppName=Beyond Compare
AppVerName=Beyond Compare Version 2.4.3
AppPublisher=Scooter Software
AppPublisherURL=http://www.scootersoftware.com
AppVersion=2.4.3.0
AppCopyright=Copyright © 1996-2006 Scooter Software
VersionInfoVersion=2.4.3.0
SetupIconFile=embedded\bc2.ico
DefaultDirName={pf}\Beyond Compare 2
OutputBaseFilename=bc24en
Compression=lzma/max
SolidCompression=yes
LicenseFile=embedded\License.rtf
InfoBeforeFile=embedded\InfoBefore.rtf
WizardImageFile=embedded\WizardImage.bmp
WizardSmallImageFile=embedded\WizardSmallImage.bmp
DefaultGroupName=Beyond Compare 2
AllowNoIcons=Yes

[Files]
Source: "{app}\BC2.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "{app}\BC2.chm"; DestDir: "{app}";
Source: "{app}\BC2.hlp"; DestDir: "{app}";
Source: "{app}\trial.key"; DestDir: "{app}";
Source: "{app}\Readme.txt"; DestDir: "{app}";
Source: "{app}\ChangeLog.txt"; DestDir: "{app}";
Source: "{app}\sfFTPLib.dll"; DestDir: "{app}";
Source: "{app}\BCQC.exe"; DestDir: "{app}";
Source: "{app}\BCQC_ReadMe.txt"; DestDir: "{app}";
Source: "{app}\BCShellEx.dll"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete
Source: "{app}\BCShellEx64.dll"; DestDir: "{app}"; Flags: restartreplace uninsrestartdelete
; Source: "{app}\,1"; DestDir: "{app}"; Flags: skipifsourcedoesntexist
; Source: "{app}\,2"; DestDir: "{app}"; Flags: skipifsourcedoesntexist

[Registry]
Root: HKCU; Subkey: "Software\Scooter Software"; Flags: uninsdeletekeyifempty dontcreatekey
Root: HKCU; Subkey: "Software\Scooter Software\Beyond Compare"; Flags: uninsdeletekeyifempty dontcreatekey
Root: HKCU; Subkey: "Software\Scooter Software\Beyond Compare\BCShellEx"; Tasks: "shellextension";
Root: HKCU; Subkey: "Software\Scooter Software\Beyond Compare\BCShellEx"; ValueName: "CmdLineOption"; ValueType: String; Tasks: "shellextension"; Flags: createvalueifdoesntexist
Root: HKCR; Subkey: ".bcss"; ValueType: String; ValueData: "BeyondCompare.Snapshot"; Flags: uninsdeletekey noerror
Root: HKCR; Subkey: "BeyondCompare.Snapshot"; ValueType: String; ValueData: "Beyond Compare Snapshot"; Flags: uninsdeletekey noerror
Root: HKCR; Subkey: "BeyondCompare.Snapshot\DefaultIcon"; ValueType: String; ValueData: "{app}\BC2.EXE,0"; Flags: noerror
Root: HKCR; Subkey: "BeyondCompare.Snapshot\shell\open\command"; ValueType: String; ValueData: """{app}\BC2.EXE"" ""%1"""; Flags: noerror

[Run]
Filename: "{app}\Readme.txt";
Filename: "rundll32"; Parameters: "BCShellEx,Install"; WorkingDir: "{app}"; StatusMsg: "Adding Shell Extension..."; Tasks: "shellextension";

[UninstallRun]
Filename: "rundll32"; Parameters: "BCShellEx,Uninstall"; WorkingDir: "{app}"; RunOnceId: "ShellExt"; StatusMsg: "Removing Shell Extension..."; Tasks: "shellextension";

[Icons]
Name: "{group}\Beyond Compare 2"; Filename: "{app}\BC2.exe";
Name: "{group}\Beyond Compare 2 Help"; Filename: "{app}\BC2.chm";
Name: "{group}\Uninstall Beyond Compare 2"; Filename: "{uninstallexe}";
Name: "{userdesktop}\Beyond Compare 2"; Filename: "{app}\BC2.exe"; Tasks: "desktopicon";
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Beyond Compare 2"; Filename: "{app}\BC2.exe"; Tasks: "quicklaunchicon";

[Tasks]
Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:";
Name: "quicklaunchicon"; Description: "Create a &Quick Launch icon"; GroupDescription: "Additional icons:";Flags: unchecked
Name: "shellextension"; Description: "Include in Explorer context menu"; GroupDescription: "Additional icons:";Flags: unchecked

[CustomMessages]
en.NameAndVersion=%1 version %2
en.AdditionalIcons=Additional icons:
en.CreateDesktopIcon=Create a &desktop icon
en.CreateQuickLaunchIcon=Create a &Quick Launch icon
en.ProgramOnTheWeb=%1 on the Web
en.UninstallProgram=Uninstall %1
en.LaunchProgram=Launch %1
en.AssocFileExtension=&Associate %1 with the %2 file extension
en.AssocingFileExtension=Associating %1 with the %2 file extension...

[Languages]
; These files are stubs
; To achieve better results after recompilation, use the real language files
Name: "en"; MessagesFile: "embedded\en.isl";