How to create the installs

In the development package you have a folder called Installs (Source\Installs). This folder contains four folders:

Common

This folder contains LS One specific support scripts and assets shared by all installers.

  • constants.iss - contains common settings for all installers ( like LS One version release number, publisher name, source directory, output directory, supported languages)
  • utils.iss - contains generic Inno functions and procedures used in more than one installer
  • /images - folder containing graphical assets (like icons) for the installers

Installer Scripts

This folder contains some support scripts and files needed to generate the installers. You should not change the contents of this folder.

POS

This folder contains the install script for LS One POS (Pos.iss). This script will automatically compile all .dll, .exe and .config files from the POS\Build folder. If you want to include files outside that folder you will need to add them into the Pos.iss file.

SiteManager

This folder contains the install script for the Site Manager (SiteManager.iss). This script is different from the Pos.iss script since it does not automatically compile all .dll and .exe files. Instead you will always need to add your own customizations to this script if they are to be included in the installer.

SiteService

This folder contains the install script for the Site Service(SiteService.iss)

SQLServer

If you want to include the Microsoft SQL Server Express installers with your custom installers you only need to put the installer executable into this folder and both Pos.iss and SiteManager.iss scripts will embed that installer into the custom installers.

Site Manager

Run the SiteManager.iss script from the Source\Installs\SM folder. This will create a new folder called Setup. This folder will contain the custom install.

LS One POS

Run the Pos.iss script from the Source\Installs\POS folder. This will create a new folder called Setup. This folder will contain the custom install.

Site Service

Run the SiteService.iss script from the Source\Installs\SiteService folder. This will create a new folder called Setup. This folder will contain the custom install.

Creating and running the installer

To create the installer open the desired script file then press the compile button . If there are no compilation errors the setup will be created. After it is created, you can run it be pressing the run button , or by opening the setup file created.