View Single Post
  #1  
Old 05-06-2024, 04:09
Tihiy_Don Tihiy_Don is offline
Registered User
 
Join Date: Mar 2023
Location: Los Angeles Lakers
Posts: 43
Thanks: 91
Thanked 26 Times in 18 Posts
Tihiy_Don is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
Another issue: InstallFMXFont sometimes hangs the launch of Setup.exe during Runtime.
HI. Use new method:
Code:
function InitializeSetup: Boolean;
begin
  AddFontResource2(ExtractAndLoad('{#MyFont1}'));
  FMXInnoInit;
  Result:= True;
end;

procedure DeinitializeSetup();
begin
  RemoveFontResource2(ExpandConstant('{tmp}\{#MyFont1}'));
  ISArcExCleanUp;
  FMXInnoShutDown;
end;
Now you do not need to specify InstallFMXFont in the FMXDesigning procedure
Reply With Quote
The Following User Says Thank You to Tihiy_Don For This Useful Post:
BLACKFIRE69 (06-06-2024)
Sponsored Links