View Single Post
  #213  
Old 13-01-2018, 15:43
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 1,975
Thanks: 512
Thanked 2,768 Times in 990 Posts
KaktoR is on a distinguished road
Got the same error today, already fixed it

Search for:
/////////////////////////////////////////// LicensePage

replace with this:

Code:
#ifdef License
    LicenseImage := TBitmapImage.Create(WizardForm);
    with LicenseImage do begin
      Name := 'LicenseImage';
      Parent := WizardForm.LicensePage;
      Left := ScaleX(0);
      Top := ScaleY(0);
      Width := ScaleX(32);
      Height := ScaleY(32);
      ExtractTemporaryFile('LicenseImage.bmp');
      Bitmap.LoadFromFile(ExpandConstant('{tmp}\LicenseImage.bmp'));
      ReplaceColor := $0000ff;
      ReplaceWithColor := WizardForm.LicensePage.Color;
    end;
  #endif
__________________
Haters gonna hate
RIP Voksi
Reply With Quote