Beyond Compare 2.5.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. Un-comment the following line in the script below and supply your own license key

;Root: HKCU; SubKey: Software\Scooter Software\Beyond Compare; ValueType: string; ValueName: CertKey; ValueData: YOUR LICENSE KEY GOES HERE

Beyond Compare 2.5.3 INNO script

[Setup]
AppName=Beyond Compare
AppVerName=Beyond Compare Version 2.5
AppPublisher=Scooter Software
AppPublisherURL=http://www.scootersoftware.com
AppVersion=2.5.3.253
AppCopyright=Copyright © 2008 Scooter Software, Inc.
VersionInfoVersion=2.5.3.253
;SetupIconFile=embedded\bc2.ico
DefaultDirName={pf}\Beyond Compare 2
OutputBaseFilename=bc25en
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}\BC2.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

[Messages]
BeveledLabel=www.scootersoftware.com
WelcomeLabel2=This will install [name/ver] on your computer.%n%nDescription%nBeyond Compare is a powerful time-saving utility for comparing files and folders on your Windows system.  Use it to manage source code, keep folders in sync, compare program output, and validate copies of your data.  Beyond Compare can create a snapshot of a live directory structure, and compare it against the live copy at a later date.  Beyond Compare helps you analyze differences in detail and carefully reconcile them.  It commands a wide range of file and text operations, as well as script commands for automating tasks.%n%nHomepage%nhttp://www.scootersoftware.com

[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
;Root: HKCU; SubKey: Software\Scooter Software\Beyond Compare; ValueType: string; ValueName: CertKey; ValueData: YOUR LICENSE KEY GOES HERE
Root: HKCU; SubKey: Software\Scooter Software\Beyond Compare; ValueType: string; ValueName: Version; ValueData: 2.5.0.250
Root: HKCU; SubKey: Software\Scooter Software\Beyond Compare; ValueType: dword; ValueName: LatestBuild; ValueData: $000000f3

[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