I managed to get everything sorted, this is how it's looking currently:
I'd like to add an image at the top, so I added this code (taken from the About section of the newest release):
Do you know how I could add an image to the top section? I tried using code snippets from the 7.1.7H release about section:
This went in after the //Begin Creation// notation:
Code:
ExtractTemporaryFile('image.bmp');
LogoImage := TBitmapImage.Create(WizardForm);
with LogoImage do begin
Name := 'LogoImage';
Parent := WizardForm;
Left := ScaleX(5);
Top := ScaleY(5);
Width := ScaleX(373);
Height := ScaleY(149);
//Bitmap.AlphaFormat := afDefined;
Bitmap.LoadFromFile(ExpandConstant('{tmp}\image.bmp'));
ReplaceColor := $0000ff
ReplaceWithColor := WizardForm.Color
end;
I also added this to the procedure InitialiseWizard section:
Code:
LogoImage: TBitmapImage;
However I cannot get the image to appear. I tried adding:
Code:
WizardForm.LogoImage.Show;
And:
Code:
WizardForm.LogoImage.Hide;
To dictate whether the image should be there or not in wpWelcome and wpInstalling etc...
However that returns the issue Missing Identifier LOGOIMAGE.
I wonder if you know about adding more images? I don't have any in the about section, I replaced that area of code with text from 7.1.4b.