FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   FMXInno - Windows Fluent Design Installer UI for Inno (https://fileforums.com/showthread.php?t=104852)

wangfeilong0317 28-03-2023 08:42

1 Attachment(s)
Very cool and concise installation program. The Win10 system can be installed normally. Is the garbled code on this page normal?

BLACKFIRE69 28-03-2023 09:04

Quote:

Originally Posted by audiofeel (Post 500615)
but in the latest dll with a new method of installing fonts, something incomprehensible happens

windows 11 can cause this. i really don't know. but can you try this anyway?

BLACKFIRE69 28-03-2023 09:57

Quote:

Originally Posted by audiofeel (Post 500619)
This has nothing to do with the last unpacking test. Absolutely the same for the module. check it out. But in one case it is a system font in the other it is not. You need to come up with some kind of "exist" and nail it in the dll.
-------------------------
test it . there are two scripts in the archive. one system font. the other one is not a system one.


there's something wrong with the FMX rendering engine. :o so i had to change things in the InvalidateFMXFont function. now it should work.


.

BLACKFIRE69 29-03-2023 11:41

FMXInno v1.0.0.2 - Updates
 
What's New:

Code:

* Added CheckBoxTree.
.

wangfeilong0317 29-03-2023 21:06

Setup cannot exit normally, program is not responding。Am I the only one who has this problem?

BLACKFIRE69 30-03-2023 11:23

FMXInno v1.0.0.2 - Updates
 
Final Release - March 2023

What's new:

Code:

* Now FMXInno supports ChatGPT.
  - Internet connection is required.
  - You must have an openAI API key.

* Added Google Translate.
  - Internet connection is required.
  - Ex:  S := GoogleTranslate(InputMemo.GetText, 'en', 'ru');

* Upgraded Skia.
  - v 4.1.1  to  v5.0.0
  - There is a compatibility break. so don't mess with old binaries.

* Includes all changes made so far.



The first post has been updated.


.

Masquerade 30-03-2023 13:24

Cool, now you can chat with an AI whilst the repack installs :p

KaktoR 30-03-2023 13:29

Compression done by AI, when? :D

BLACKFIRE69 30-03-2023 21:43

Quote:

Originally Posted by Masquerade (Post 500660)
Cool, now you can chat with an AI whilst the repack installs :p

as a step forward, a co-pilot can be introduced for the installer if needed in the future. (+ voice recognition). ;)

BLACKFIRE69 01-04-2023 11:31

FMXInno - Updates
 
What's New:

Code:

* Now you can feed media files (Audio/Video) to ChatGPT.
  - Supported formats: *.m4a, *.mp3, *.webm, *.mp4, *.mpga, *.wav, *.mpeg

* Added HTML Texts.

Code:

HTML Text Syntax:

Link        = <a:"https://google.com/">Click Here</a>
Spoiler        = <spoiler:UniqueName>Text</spoiler>  and 
          <sdetail:name>Expanded text when the spoiler link is clicked.</sdetail>

Bold        = <b>Hello World</b>       
Italic        = <i>Hello World</i>
Strike        = <s>Hello World</s>
Underline  = <u>Hello World</u>

FontName  = <fn:Segoe UI Bold>Hello World</fn>       
FontSize  = <fs:18>Hello World</fs>
FontColor  = <fc:claRed>Hello World</fc>
          = <fc:$FFFFFF>Hello World</fc>
                       
          > claRed = Red Color (FMX)

BackgroundColor = <bc:claBlack>Hello World</bc>
                = <bc:$FF4563>Hello World</bc>
                               
Line Break        = <br> , Ex:  Hello <br> World
Prevent line break after #13#10 sequence
                = <nbr> , Ex: <nbr>Hello World
                       
Line spacing    = <LS:Height>Text</LS> , Ex: <LS:14>Hello</LS>                       

Align Left        = <L>Text</L>       
Align Center    = <C>Text</C>
Align Right        = <R>Text</R>

Tab                        = <t:30>Text
Tab with aligned break        = <tf:30>Text

Unordered list        = <UL></UL>
Ordered list        = <OL></OL>
List item        = <LI></LI>


Float                = <float:X,Y,Width>Text</float>

Ex: <float:20,10,120>Hello World</float>


Code:

HTML Text Example:

S := 'The <fs:20><spoiler:bf-link-01>FireMonkey framework</spoiler></fs>' +
      '<sdetail:bf-link-01>  Developed by <b>Embarcadero Technologies</b></sdetail>' +

      ' is the <u>app development</u> and <u>runtime platform</u> behind' +
      '<br><br>' +

      '<fc:claPurple><b>RAD Studio</b></fc>, <fc:claPurple><b>Delphi</b></fc>, <fc:claRed><fs:14><s><b>.Net</fs></b></s></fc> and <fc:claPurple><b>C++Builder</b></fc>. ' +

      ' <b><i><bc:claYellow>FireMonkey</bc></i></b> is designed for teams building <br><i>multi-device</i>, <i>true native apps</i> for' +

      ' <fs:15><fc:claLightSeaGreen>Windows</fc></fs>, <fs:15><fc:claLightSeaGreen>OS X</fc></fs>, <fs:15><fc:claLightSeaGreen>Android</fc></fs> and <fs:15><fc:claLightSeaGreen>iOS</fc></fs>,' +
      '<br>' +

      'and getting them to app stores and enterprises fast.' +
      '<br><br><br>' +

      '<ul><fs:15><fc:claOrangered>' +
      '<li>Item 01</li>' +
      '<li>Item 02</li>' +
      '</fc>' +

      '<ol><fc:claSienna>' +
      '<li>Sub Item 2.1</li>' +
      '<li>Sub Item 2.2</li>' +
      '</fc></ol>' +

      '<fc:claOrangered>' +
      '<li>Item 03</li>' +
      '</fc>' +

      '</fs></ul>';


Code:

  HTMLText.FCreate(FMXForm.Handle, S);
  HTMLText.AutoWidth(True);
  HTMLText.AutoHeight(True);
  HTMLText.Left(30);
  HTMLText.Top(100);


BLACKFIRE69 02-04-2023 06:36

Quote:

Originally Posted by audiofeel (Post 500375)
Thanks. Everything is working fine, Animation broke, could you bring back the animation? I understand that you can live without animation, but still it was better with it.

i think i've fixed the animation issue for the latest version of RadStudio (11.3). ;)

BLACKFIRE69 03-04-2023 09:52

FMXInno - Updates
 
What's new:

Code:

* Introduced smooth scrolling option to ScrollBoxes.
* Minor improvements.
* Compiled in the latest version of RadStudio.

To quickly download the FMXInno latest version, simply visit the first post!

BLACKFIRE69 04-04-2023 10:32

Quote:

Originally Posted by BLACKFIRE69 (Post 500683)
What's new:

Code:

* Introduced smooth scrolling option to ScrollBoxes.


Added three additional options.

Code:

procedure SmoothHideScrollbars(FEnable: Boolean);
procedure SmoothRate(FRate: Double);
procedure SmoothInterval(FInterval: Word);

Code:

Example:

ScrollBox.SmoothScroll(True);
ScrollBox.SmoothHideScrollbars(True);
ScrollBox.SmoothRate(0.2);
ScrollBox.SmoothInterval(2);


BLACKFIRE69 04-04-2023 18:19

Quote:

Originally Posted by audiofeel (Post 500696)
BLACKFIRE69
FScrollBoxTree
Scrolling with the wheel behaves strangely, it does not work everywhere

could you please explain in detail?

regarding the response time of scrolling with the mouse wheel, there might be a delay and it may not be instantly responsive. however, the behavior comes from Delphi itself. so i've nothing to do with it. ;)

BLACKFIRE69 05-04-2023 04:18

Quote:

Originally Posted by audiofeel (Post 500700)
typo FCheckBoxTree
I have no thought of accusing you of anything
the response time is normal. but scrolling doesn't work on everything. if the item is expanded, then there is no problem, but if it is collapsed, then there is no roll-up

i'm sorry, i didn't quite catch what you were saying. on my end, it works ok.

would it be possible for you to provide an example for testing purposes?

.

BLACKFIRE69 05-04-2023 12:07

Quote:

Originally Posted by audiofeel (Post 500707)
So I messed up somewhere. view this example with a problem? when you're free



i can offer you two solutions, but it's important to keep in mind that due to the limitations in Delphi, they may not be 100% perfect.


Option 01:

Code:

Page4CheckboxTree.Selectable(True);
https://i.ibb.co/q0sS9pq/00.gif

> imperfection:

when you click on an item, it'll be selected/highlighted. ( you'll observe that the same occurrence takes place in Razor12911's wpi1801 installer )

https://i.ibb.co/1KzJCCT/R.png



Option 02:

this can be seen as a trick i used to find a solution. (checkout the iss file)

https://i.ibb.co/94TGsdV/11.gif


> imperfection:
on checkboxes and radiobuttons, scrolling may not function perfectly.



.

BLACKFIRE69 05-04-2023 12:52

Quote:

Originally Posted by BLACKFIRE69 (Post 500710)
Option 01:

Code:

Page4CheckboxTree.Selectable(True);
> imperfection:

when you click on an item, it'll be selected/highlighted. ( you'll observe that the same occurrence takes place in Razor12911's wpi1801 installer )



upon applying this fix, the highlighting will no longer be permanent.


.

BLACKFIRE69 06-04-2023 05:57

FMXInno - Updates
 
FMXInno + FMXInnoSkia - Final Release : 2023-Apr-06

Code:

The latest update can be found in the first post!

* New properties have been added to certain components.
* Implemented several improvements.


BLACKFIRE69 07-04-2023 04:09

Quote:

Originally Posted by audiofeel (Post 500723)
@blackfire69
Greetings. Let's say someone decided to use the standard Inno setup packaging tools. Without using Isarcextract. There are small problems (for you and for many, it may not be a problem) . How to pause unpacking when Isarcextract is not used?
Code:

procedure CloseBtnOnClick(Sender: TObject);
begin
  if WizardForm.CurPageID = wpInstalling then
  begin
    SuspendProc;
    ExitForm.Show;
  end else
    ExitForm.Show;
end;

How to achieve smoothness of the progress bar and its accuracy when Isarcextract is not used?
Code:

ProgressBar.SetValue(WizardForm.ProgressGauge.Position, 1000);
And how to roll back everything when canceling the installation when Isarcextract is not used??
I would like if you don't mind a working example



perhaps this will work for you..

.

crachlow 07-04-2023 09:03

Thanks Blackfire69. This solved some problems.

Tihiy_Don 14-04-2023 00:28

How can I draw and transfer the installation progress to the progressbar if the built-in compression Inno Setup is used?

BLACKFIRE69 17-04-2023 08:56

FMXInno - Updates
 
FMXInno - Cumulative Updates [2023-Apr-17]


Highlights:
Code:

* Several enhancements have been made.
* Voice recognition and speech capabilities have been added to FMXInno.
* Included additional Copy and Move functions for files.


The first post has been updated.


Code:

* The given example has the ability to understand certain commands.

Recognizable commands for the given example:

1. "go"
2. "comeback to".
3. "stop".
4. "browse".
5. "pause".
6. "resume".
7. "music".
8. "about".
9. "verify".

* and also recognize phrases such as
"I need you to come back to" as per the given Grammar.xml.


Tested VoiceEnglish (US).

Code:

Grammar XML:  Elements.

1. <O>AText</O>                = Optional phrase that may be recognized.
2. <L>...</L>                = List of phrases which can be recognized.
3. <P VAL="#">AText</P>        = Phrase that must be recognized for the containing rule to be recognized.
 
4. LANGID        : The language identifier of the grammar. || "409" - English-US,  "809" - English-GB
5. RULE                : Rule that contains phrases or text to be recognized.
6. PROPNAME        : The semantic property's string identifier.
7. RULEREF        : Import, or reference, another rules contents.
 
NOTE:
 1. It is *imperative* that the "_ref" phrase be added at the end of the
    "PROPNAME" of "RULEREF".

Code:

Grammar XML:  Example.

<GRAMMAR LANGID="409">

  <RULE NAME="R_My_Main" TOPLEVEL="ACTIVE">       
    <O>i need you to </O>                <!-- Optional Phrase -->
       
    <L PROPNAME="buttonPress" >
      <P VAL="1">go</P>                        <!-- Click Next Button -->
      <P VAL="2">comeback to</P>        <!-- Click Back Button -->
      <P VAL="3">stop</P>                <!-- Click Cancel Button -->
      <RULEREF NAME="R_My_Sub_A" PROPNAME="additionalButtonPress_ref"/> <!-- Reference 1 -->
      <RULEREF NAME="R_My_Sub_B" PROPNAME="moreButtonPress_ref"/>      <!-- Reference 2 -->
    </L>
  </RULE>

  <RULE NAME="R_My_Sub_A">
    <L PROPNAME="additionalButtonPress">
      <P VAL="4">browse</P>                <!-- Click Browse Button -->
      <P VAL="5">pause</P>                <!-- Click Pause Button -->
      <P VAL="6">resume</P>                <!-- Click Resume Button -->
    </L>
  </RULE>
 
  <RULE NAME="R_My_Sub_B">
    <L PROPNAME="moreButtonPress">
      <P VAL="7">music</P>                <!-- Click Music Button -->
      <P VAL="8">about</P>                <!-- Click About Button -->
      <P VAL="9">verify</P>                <!-- Click Verify Button -->
    </L>
  </RULE>
</GRAMMAR>


.

crachlow 18-04-2023 11:48

BLACKFIRE 69. There was a question about the expediency of calling copy/move operations from the library itself. No, perhaps in some cases this is enough, but to create, for example, a backup and then restore from it, during the uninstall you will have to copy FMXInno to the installation directory. I wouldn't want to do that. Maybe you should consider a system call option? But I would like to leave the Overwrite. Thank you in advance.

crachlow 18-04-2023 12:04

BLACKFIRE69, do not think that this is not a necessary function in the library itself, I just would like to have an addition for such operations as restoring from a backup without carrying the entire library with it.

BLACKFIRE69 19-04-2023 01:06

FMXInno - One more thing
 
One more thing

Code:

* Users now have the ability to choose their preferred form corner type, (Win11 +)

This feature is particularly beneficial for those who have a strong dislike for rounded corners. :D



.

BLACKFIRE69 19-04-2023 10:23

Quote:

Originally Posted by audiofeel (Post 500871)
You can do the same for all child forms
FCustomFluentWindow. and so on....
P.S. I'm not a fan of angles, but sometimes you need them to get into the style

Updated,


.

Cesar82 19-04-2023 18:23

@BLACKFIRE69, I don't follow your project very much, but I have a question.
Is it possible to define shadows in the labels and define a position for them with respect to the text like in CIU?
If you still don't have support for this, it would be interesting to have X and Y options to move the shadow with a default value of 1px position in relation to left and Top, or parameters for X and Y position for the shadow, with the default position being the shadow exactly in the position of the text.
Code:

procedure ShadowSetting(FColor: Integer; FOpacity, FSoftness: Single; FPosX, FPosY: Integer);

hitman797 19-04-2023 20:09

hi, blackfire69,
thank you for everything you give to this community.
In fact I learned a lot from you.
thank you.

BLACKFIRE69 22-04-2023 00:37

FMXInno - Optional Updates
 
FMXInno - Optional Updates

Code:

* Synthesizing user input is made easy with FMXInno's support for
  generating keystrokes, mouse motions, and button clicks.



Examples:

Code:

KeyboardPress Win + X

  { Method 1 }
  VirtualAction.PressedKey(vkLWin);  // Left Win
  VirtualAction.PressKey(vkX);      // X
  VirtualAction.ReleasePressedKey(vkLWin);
  VirtualAction.Flush;

  { Method 2 }
  VirtualAction.PressedShiftKey([F_ssWin]);  // Left\Right Win
  VirtualAction.PressKey(vkX);
  VirtualAction.ReleasePressedShiftKey([F_ssWin]);
  VirtualAction.Flush;

  { Method 3 }
  VirtualAction.CallShortcut([F_ssWin], vkX);
  VirtualAction.Flush;

Code:

MouseClick on Btn[3]

  // New MousePos: Btn[3] center.
  VirtualAction.FormMouseMove(Round(Btn[3].GetLeft + Btn[3].GetWidth / 2),
                              Round(Btn[3].GetTop + Btn[3].GetHeight / 2));
  VirtualAction.MouseClick(mbLeft);
  VirtualAction.Flush;


.

kozmik 22-04-2023 07:58

thanks for your work.I have a question, how can I use the Lizard installation with DiskSpan GUI?

BLACKFIRE69 24-04-2023 04:07

Quote:

Originally Posted by audiofeel (Post 500911)
A small model of the site Cyberpunk 2077
Rate?
---------------
English version
---------------
UP + FXPcker.exe


that's awesome, dude! ;)

crachlow 24-04-2023 04:56

Blackfire69. There was a question on Downloader_Example_SingleThread.iss. From version 6.0.5 to 6.2.2 it gives the same error. Could you see what's wrong?
https://i.ibb.co/Db3B6wH/error.png://

BLACKFIRE69 24-04-2023 06:07

Quote:

Originally Posted by crachlow (Post 500925)
Blackfire69. There was a question on Downloader_Example_SingleThread.iss. From version 6.0.5 to 6.2.2 it gives the same error. Could you see what's wrong?
https://i.ibb.co/Db3B6wH/error.png://


Updated ISS, tested with innosetup v6.2.2.

.

Behnam2018 24-04-2023 20:40

thank you
 
1 Attachment(s)
audiofeel

Hello, thank you so much for your hard work, how beautiful and beautiful

If you don't mind making this script, I will archive all your scripts because they are beautiful and beautiful. I have already posted the executable file.

crachlow 25-04-2023 08:29

Quote:

Originally Posted by TEAmo (Post 500937)
I didn't replace the original picture.

Thank you

TEAmo 25-04-2023 08:33

Quote:

Originally Posted by crachlow (Post 500939)
Before you write what an error is, you probably need to create a report where and when and what you did at the same time. What do you think?:confused:

This error message occurred before the first startup.

I tried to replace the normal PNG image, but the error still appears. Is it related to my operating system being in Chinese?

TEAmo 25-04-2023 08:53

Quote:

Originally Posted by audiofeel (Post 500944)
the png file is corrupted


Problem solved, thank you

Thanks

Behnam2018 25-04-2023 20:28

1 Attachment(s)
Hi, this script is muted by default. You can turn it on in this script

BLACKFIRE69 25-04-2023 21:10

Quote:

Originally Posted by audiofeel (Post 500947)
@BLACKFIRE69
There's a small problem with the FRadioButtons. They switch each other but belong to different components. And even being on different FCustomPage, they continue to influence each other. What should I do?
I attach a file for demonstration



Code:

Added new property.
 - FRadioButton.GroupName

.

BLACKFIRE69 26-04-2023 04:10

FMXInno - Updates
 


Quote:

* Please find attached two FMXInno examples that support DiskSpan GUI. I would appreciate it if you could conduct some test runs to confirm its functionality.

* Due to additional requirements, upgraded XHashNext to XHashEx.

* Component properties have been extended.

DSG functionality has been added by Cesar82.


All times are GMT -7. The time now is 21:30.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com