Displays an image in the top pane of the Inno Setup Wizard instead of the page title and description.

I want to put the image in the space at the top of the wizard, as shown in the image. And hide the title and description of the page.

enter image description here

-one
inno-setup
Jul 31 '16 at 12:38
source share
1 answer

Cover the MainPanel image and hide all the other components ( WizardSmallBitmapImage , PageDescriptionLabel and PageNameLabel ):

 [Files] Source: "rainbow.bmp"; Flags: dontcopy [Code] procedure InitializeWizard(); var BitmapImage: TBitmapImage; begin ExtractTemporaryFile('rainbow.bmp'); BitmapImage := TBitmapImage.Create(WizardForm); BitmapImage.Parent := WizardForm.MainPanel; BitmapImage.Width := WizardForm.MainPanel.Width; BitmapImage.Height := WizardForm.MainPanel.Height; BitmapImage.Stretch := True; BitmapImage.AutoSize := False; BitmapImage.Bitmap.LoadFromFile(ExpandConstant('{tmp}\rainbow.bmp')); WizardForm.WizardSmallBitmapImage.Visible := False; WizardForm.PageDescriptionLabel.Visible := False; WizardForm.PageNameLabel.Visible := False; end; 



Rainbow master




See also. How to hide the main panel and show the image on the whole page?
and Inno Setup - text transparency in names and descriptions of names .

+1
Jul 31 '16 at 17:15
source share



All Articles