Quote:
Originally Posted by Stor31
how to modify LightInstallerLogoOrange.bmp (Light Installer) to another name ???
thx
|
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).