Quote:
Originally Posted by Fak Eid
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