How GraphicalInstallerUI works?

Graphical Installer uses modified version of Inno Setup Compiler and Preprocessor for compiling script files. Inter alia directive WizardSmallImageBackColor was modified.

Open example file script Example1.iss located in {Inno Setup 6}\Graphical Installer\Examples directory. You will see this file (truncated):



If you define symbol GRAPHICAL_INSTALLER_PROJECT, symbol GraphicalInstallerUI is defined inside of .graphics.iss as "GraphicalInstallerUI":

If you do not define GRAPHICAL_INSTALLER_PROJECT then GraphicalInstallerUI will be empty ("");

This GraphicalInstallerUI is used in directive WizardSmallImageBackColor and defines UI file for compiler.
UI file defines design of resulting installer: it contain dimensions of forms, labels, position of controls and many more properties.

Default Inno Setup UI file is called Setup.e32. Graphical Installer contains it's own UI file called GraphicalInstallerUI.e32. Both are located in {Inno Setup 6} directory

So directive WizardSmallImageBackColor tells the compiler how the final installer will look like. If this value is equal to "GraphicalInstallerUI" then GraphicalInstallerUI.e32 is used. For all other values (even by deleting whole directive) original Setup.e32 is used.

Tip:
During the compilation you may see this message:



Do not worry about this warning: It simply informs you about modification of this directive, because this directive became obsolete in Inno Setup version 5.0.4.
It has no effect in scripts that not use Graphical Installer.