'Inno Setup - How to add picture box to progress dialog? [duplicate]

This code adds a picture to the licnese agreement wizard page,

  picLicense := TBitmapImage.Create(WizardForm.LicensePage);
  with picLicense do
  begin
    Parent := WizardForm.LicensePage;
    Left := ScaleX(0);
    Top := ScaleY(0);
    Width := ScaleX(100);
    Height := ScaleY(100);

    Stretch := True;
    Bitmap.LoadFromFile(ExpandConstant('{tmp}\image.bmp'));
  end;

But how to add the image or any other custom control to progress dialog wizard page?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source