I have a sample code for welcome page in inno setup that will fill the background with a image. Here is the code I used :
[Files]
Source: C:\Program Files (x86)\Inno Setup 5\Examples\MyProg.exe; DestDir: {app}
Source: F:\image.bmp; DestDir: {tmp}; Flags: dontcopy
[Code]
procedure InitializeWizard;
var
ImageFile: String;
Image: TBitmapImage;
begin
ImageFile := ExpandConstant('{tmp}\image.bmp');
ExtractTemporaryFile('image.bmp');
Image := TBitmapImage.Create(WizardForm);
with Image do
begin
Bitmap.LoadFromFile(ImageFile);
Parent := WizardForm.WelcomePage;
Autosize := True
ReplaceColor := $00FF00FF; // Replace magenta...
ReplaceWithColor := WizardForm.WelcomePage.Color; // ...with the background color of the page
end;
end;
This code make the installer like the image below :
Now my question is is there any way to make that text transparent so user can see the full image. I hope you all understand what I am trying to say. Thanks.