
13-02-2021, 04:39
|
|
Registered User
|
|
Join Date: Aug 2013
Location: Wahranne
Posts: 323
Thanks: 1,025
Thanked 86 Times in 68 Posts
|
|
Quote:
Originally Posted by Cesar82
Open the script and change the name as needed.
The parts of the code referring to the logo image file are below (Search the script).
Code:
#define Theme "ORANGE"
Code:
#if Theme != "NULL"
Source: "Resources\LightInstallerLogo{#Theme}.bmp"; DestName: "LightInstallerLogo.bmp"; DestDir: "{tmp}"; Flags: dontcopy
#endif
Code:
#if Theme != "NULL"
with TBitmapImage.Create(WizardForm) do
begin
Parent := WizardForm;
SetBounds(ScaleX(14), WizardForm.NextButton.Top + ScaleY(1), ScaleX(225), ScaleY(20));
Bitmap.AlphaFormat := afDefined;
Bitmap.LoadFromFile(ExpandConstant('{tmp}\LightInstallerLogo.bmp'));
#if VER >= 0x06000000
Anchors := [akLeft, akBottom];
#endif
if '{#AppURL}' <> '' then begin
OnClick := @LogoOnClick;
Cursor := crHand;
end;
end;
#endif
Code:
#if Theme != "NULL"
ExtractTemporaryFile('LightInstallerLogo.bmp');
#endif
P.S: If you just want to change the name of the image file that is in the resources folder, you only need to change it after the word resources in code 2. This way the image inside setup.exe will remain as LightInstaller.bmp, but your external file will have the name you put, but it must be a bitmap image (.bmp).
|
I changed everything
but the result
Last edited by Stor31; 13-02-2021 at 04:42.
|