builders/script_builder library
This file contains the ScriptBuilder class, which is responsible for generating the Inno Setup Script (ISS) file for creating the installer of an application.
The ScriptBuilder class takes a Config object and an appDir
directory as inputs
and generates the ISS script based on the provided configuration. This script defines
various sections like setup, files, icons, tasks, and languages, among others.
Key methods:
_setup
: Generates the[Setup]
section of the ISS script._installDelete
: Generates the[InstallDelete]
section._languages
: Generates the[Languages]
section._tasks
: Generates the[Tasks]
section._files
: Generates the[Files]
section._icons
: Generates the[Icons]
section._run
: Generates the[Run]
section.
The build
method is the main method of this class, which combines all the sections and writes
the complete ISS script to a file. It returns the generated script file.
Classes
- ScriptBuilder
- A class responsible for generating the Inno Setup Script (ISS) file for the installer.