|
|
|
#1
|
||||
|
||||
|
Quote:
1. the following functions have been updated: Code:
1. DeleteFMXFont. 2. FMXInnoShutDown. 3. ensure the following order in your script file: Code:
procedure DeinitializeSetup();
begin
{ Font }
DeleteFMXFont(ExpandConstant('{tmp}\Your_Font_File_Here.ttf'));
{ ISArcEx }
ISArcExCleanUp;
{ FMXInno }
FMXInnoShutDown;
end;
. Last edited by BLACKFIRE69; 22-01-2024 at 21:51. |
| The Following 4 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
| Sponsored Links |
|
#2
|
|||
|
|||
|
An error started to occur deleting the font after I replaced the library with a new one. Do the others have this problem or am I the only one?
Quote:
Quote:
Last edited by Tihiy_Don; 07-01-2024 at 01:40. |
|
#3
|
|||
|
|||
|
Quote:
Quote:
|
|
#4
|
||||
|
||||
|
Quote:
well, * first of all, this isn't an error message; it's a warning message indicating that the font cannot be removed completely but only partially. * as @audiofeel mentioned, the font (segmdl2.ttf) you're using is a system font that is already installed in the system, hence this warning will be displayed. to avoid this issue: 1. 'InstallFMXFont' is intended for custom fonts, not system fonts. in a future update, i'll modify the DLL to prevent the installation of system fonts accidentally. 2. For the current situation, what you need to do is install your font file as a copy of the current system file. this simply means renaming your font file (segmdl2.ttf) to something else, such as 'segmdl2_New.ttf' or 'segmdl2_Copy.ttf', or any other name you prefer. this'll prevent the warning message from appearing. Code:
Rename: segmdl2.ttf >>> segmdl2_BF69.ttf
[Files]
...
Source: ".\Files\segmdl2_BF69.ttf"; DestDir: "{tmp}"; Flags: dontcopy;
{Code]
function InitializeSetup(): Boolean;
begin
InstallFMXFont(ExtractAndLoad('segmdl2_BF69.ttf'));
FMXInnoInit;
...
end;
procedure DeinitializeSetup();
begin
DeleteFMXFont(ExpandConstant('{tmp}\segmdl2_BF69.ttf'));
ISArcExCleanUp;
FMXInnoShutDown;
end;
* ISArcExCleanUp: regarding 'ISArcExCleanUp,' when you call the function 'ISArcExCleanUp,' it performs internal memory clean-up for the current process. this may include cleaning up the font memory cache, which could be why the warning message isn't displayed. however, it isn't recommended to call 'ISArcExCleanUp' before 'DeleteFMXFont'. |
| The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
|
#5
|
|||
|
|||
|
For now, I want to deal with this problem at the file level in the folder that is being created in the temporary folder. I checked, the file "segmdl2.ttf" is there. I don't quite understand yet, and there should be a Windows font directory here.
|
|
#6
|
|||
|
|||
|
https://www.mediafire.com/file/58adn...dicam.rar/file
Hello friends, does anyone know a solution to this problem? There is a problem with the colors of this installation More than 20 colors have this problem The symbols and texts of this installation are not readable The creator of this script says go learn design Do you all know how to design on this forum? The designer of this script does not accept that there is a problem with the installation and says go learn design. I have uploaded the list of problematic colors. Please help to permanently solve this problem so that the colors of this script are correct. And read the texts of this installation in different colors Thanks to those who help |
|
#7
|
||||
|
||||
|
Quote:
oh boy, are you serious? sorry to say this but you need to have common sense. yes, indeed, texts with a font color close to white is difficult to see on a white background or vice versa. so what's the magic here?
Last edited by BLACKFIRE69; 07-01-2024 at 07:46. |
| The Following User Says Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (07-01-2024) | ||
|
#8
|
||||
|
||||
|
@BLACKFIRE69, can you add these two events to the form object.
FForm: Code:
procedure OnActivate(Event: TNotifyEvent);
procedure OnDeactivate(Event: TNotifyEvent);
|
| The Following User Says Thank You to hitman797 For This Useful Post: | ||
audiofeel (26-01-2024) | ||
|
#9
|
||||
|
||||
|
Quote:
these two events don't get triggered for 'FForm', so nothing will change with these two events, and they'll never get triggered. |
|
#10
|
||||
|
||||
|
Modern FitGirl Installer for Windows 11+ Quote:
Quote:
Quote:
Quote:
. |
| The Following 14 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
ADMIRAL (28-01-2024), audiofeel (26-01-2024), Behnam2018 (27-01-2024), Cesar82 (27-01-2024), CipaRus (11-08-2024), Ele (28-01-2024), ffmla (30-01-2024), Harsh ojha (04-02-2024), hitman797 (28-01-2024), ItsAtomic (27-01-2024), Jahan1373 (28-01-2024), Lord.Freddy (27-01-2024), ScOOt3r (07-02-2024), Wanterlude (08-02-2024) | ||
|
#11
|
||||
|
||||
|
FMXInno Final Release: [2024-Jan-31]
New update uploaded to first post, check it out. Code:
What's new: 1. Added FMXInno WebView2 custom class. 2. Updated HTML text (updated _HTML-Syntax.txt). 3. Updated ISArcExCleanUp. 4. Added a simple tool (Installer Template Generator). 5. Addressed known issues. 6. Quality fixes and improvements. 1. FMXInno WebView2: Code:
1. Support for the latest Windows 10 and Windows 11 only. -- This requires the WebView2 Runtime package. -- Alternatively, download it manually: Microsoft Edge WebView2 2. Support for HTML 5. 3. FWebview is always on top of all other controls, just like the FVideoPlayer. Therefore, it's better to create this on an FCustomFluentWindow in real use. ![]() ![]() 2. Installer Template Generator: Code:
1. A simple tool to generate installer templates. - The script will include all the fundamental functions that the installer requires. . Last edited by BLACKFIRE69; 14-07-2024 at 02:17. |
| The Following 8 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (01-02-2024), Behnam2018 (01-02-2024), Ele (05-02-2024), hitman797 (04-02-2024), Lord.Freddy (01-02-2024), nordi (24-02-2024), Tihiy_Don (01-02-2024), Wanterlude (08-02-2024) | ||
|
#12
|
|||
|
|||
|
Looks very cool, is there a script with working functionality?
|
|
#13
|
|||
|
|||
|
Maybe it will be useful to someone.
Automatically set the unpacking parameters depending on the amount of RAM: Quote:
|
| The Following 4 Users Say Thank You to Tihiy_Don For This Useful Post: | ||
|
#14
|
||||
|
||||
|
Quote:
how about this way? i think it's more convenient. Code:
procedure _GetMeRAMInGB;
var
MyRamInGB: Integer;
begin
// Note: ARamUsage.TotalRam --> Total RAM in MB.
MyRamInGB := Round(ARamUsage.TotalRam / 1024); // 0, 1, 2, 3, ....
case MyRamInGB of
0..2:
begin
MsgBox('RAM: 0..2 GB', mbInformation, MB_OK);
end;
3..4:
begin
MsgBox('RAM: 3..4 GB', mbInformation, MB_OK);
end;
// ....
else
begin
MsgBox('Are you sure you really have RAM installed? ;)', mbError, MB_OK);
end;
end;
end;
|
|
#15
|
|||
|
|||
|
Quote:
I was not afraid to make it on FMX and release it, I even worked on supporting 32-bit machines. Last edited by Tihiy_Don; 08-02-2024 at 02:05. |
| The Following 2 Users Say Thank You to Tihiy_Don For This Useful Post: | ||
ADMIRAL (10-02-2024), BLACKFIRE69 (08-02-2024) | ||
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Fluent Effects Standalone API - InnoSetup / VCL / FXM | BLACKFIRE69 | Conversion Tutorials | 0 | 15-11-2023 17:35 |
| Windows Phone Installer similar to razor12911's original design? | Kitsune1982 | Conversion Tutorials | 0 | 02-07-2020 13:04 |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |