Inno Setup - How to add picture box to progress dialog?

111 Views Asked by At

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?

0

There are 0 best solutions below