Building WinMerge Installer

Needed programs:

There is download package called "QuickStart Pack" available in Inno Setup downloads. It contains all needed components in one installer.

Installer script:

Installer script is in Installer/InnoSetup folder: WinMerge.iss

Checklist:

Folder structure and files needed:

These files are produced by compiling WinMerge, documentation etc, but that's not subject of this document, refer to readme-developers.html.

Copy or move the files into the following layout:

NOTE
If you don't need or can't compile ShellExtensionX64.dll component, comment or remove line:

; 64-bit version of ShellExtension
Source: ..\..\Build\ShellExtensionX64\ShellExtensionX64.dll; [...]
from WinMerge.iss

Running Inno Setup to create installer

WinMerge.iss (in InnoSetup folder) is script used to create WinMerge installer.

Rest of this section assumes ISTool is used. If not, then refer to InnoSetup manual for creating installer from script.

  1. Start ISTool and load WinMerge.iss
  2. Select "Project->Verify Files..." from ISTool menu to verify all needed files are present and in correct directories. Copy missing files to correct directories before continuing.
  3. Select "Project->Compile Setup" from ISTool menu to create installer. This takes a while...

If compile succeeds you have WinMerge-[version]-Setup.exe in folder /Build. You probably want to remove unnecessary zeros from the filename before uploading: if filename is WinMerge-2.6.0.0-Setup.exe, you may want to rename it to WinMerge-2.6-Setup.exe. Not a rule, but a recommendation.

Test installer!