Skip to content

How To Create Windows Installer

MarkL edited this page Feb 27, 2014 · 3 revisions

Prerequisites

Unicode NSIS | This is the software used to package the game into a neat installer executable. Note that you need the Unicode version, otherwise languages like Chinese won't work. Download

CorsixTH binaries | Compiled binaries (executables and dlls) for both Windows 32-bit and 64-bit.

Checkout of CorsixTH | E.g. trunk needs to be checked out since this is where the directory WindowsInstaller resides.

The Guide

  1. Put 64-bit binaries (executables and dlls) in {{{/WindowsInstaller/x64}}} and 32-bit binaries in {{{/WindowsInstaller/x86}}}.

  2. Make sure that the CorsixTH/README.txt and CorsixTH/changelog.txt files have been updated to reflect which release this is.

  3. Update the file WindowsInstaller/config-template.txt to make sure that it reflects what config_finder.lua would make.

  4. Change the top of the file WindowsInstaller/Win32Script.nsi so that the version number is correct.

  5. Run the script WindowsInstaller/Win32Script.nsi using NSIS.

  6. There should now be a file called WindowsInstaller.exe in that same directory.

Clone this wiki locally