Change the color scheme of the Inno Setup installer

I played with Inno Setup 5.3.6; trying to adjust the colors of the installers. Mostly the banner that appears at the head of the installer. But for now, I’m not lucky to find a way to do this easily.

After reading the documentation, I found the BackColor, BackColor2, BackColorDirection, and BackSolid options. But giving them different meanings so far has not given me any visual changes.

A quick example of what I'm trying to do

[Setup]
AppName=My Program
AppVerName=My Program version 1.4
DefaultDirName={pf}\My Program
DefaultGroupName=My Program

BackColor=$E6B13A
BackColor2=$E5B13A
BackSolid=no
BackColorDirection=lefttoright

What interests me, does anyone know which colors BackColor and BackColor2 actually change? And if there is no easy way to change colors; is there a way to modify the gradient of the upper gradient programmatically using the [Code] segment?

+3
2

[] Inno Setup. , , , , . , ,

[Setup]
...
WindowVisible=yes

( no). , , IMO , , .

: . Spy ++ Wizard.dfm.txt Inno Setup, , TPanel (clWindow, Delphi GetSysColor() COLOR_WINDOW). , , []:

procedure InitializeWizard();
begin
  WizardForm.MainPanel.Color := clYellow;
end;

, Inno Setup , , TPaintBox, (. " " ).

+7

, - , . inno - ISSkin

+4

Source: https://habr.com/ru/post/1723855/


All Articles