View Single Post
  #214  
Old 13-01-2018, 18:47
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
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
yep fixed perfectly, thanks
Reply With Quote