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)

ADMIRAL 15-11-2022 07:29

Quote:

Originally Posted by audiofeel (Post 499102)
in Windows 10, there are no fonts that are involved in the script (only Win 11). I was trying to do something... try it!

Boy, I'm so slow minded
I should have thought that it was from the font, if we were neighbors, I would have invited you for a drink. Thank you very much, dear friend:D:D:D

BLACKFIRE69 17-11-2022 11:40

FMXInno v1.0.0.2 - Updates
 
FMXInno v1.0.0.2 - Updates

Code:

* Added SplashScreen.  (Splash.png + Splash.wav)
 - FSplashScreen

* FMX Objects can directly access MouseDown events of main forms. (FMXForm and CustomFluentWindow)
 - FMXForm.AddMousedownControls(Text1.Handle);
  FMXForm.AddMousedownControls(Text2.Handle);
  ...

 - MsgForm.AddMousedownControls(MsgRect1.Handle);
  ...

* Added TPopupBox class.


BLACKFIRE69 18-11-2022 04:54

Quote:

Originally Posted by audiofeel (Post 499137)
:cool:
a good working check for the Windows version

whether the os is Win11 or not is only relevant if the transparent effect is used for the installer.
therefore, i think it's best to do it in the following way.

Code:

if IsOSMatched(B_WIN11_21H2) then  // Windows 11 21H2 or newer
  FMXForm.FCreateFluent(WizardForm.Handle, FDark, False, 0.56, 0)
else
  FMXForm.FCreateBlankForm(WizardForm.Handle, ALCrimson, ExtractAndLoad('Installer.png'));


BLACKFIRE69 21-11-2022 20:22

Quote:

Originally Posted by audiofeel (Post 499193)
A small bug when using "FMXForm.FCreateNormal" and an overlay of "FImage" on it. When minimizing the window.

sorry, i forgot to mention that MinimizeWindowCustomAnimated function doesn't work for FCreateNormal.

BLACKFIRE69 27-11-2022 04:41

FMXInno + FMXInnoSk - Updates
 
Quote:

Originally Posted by audiofeel (Post 499224)
AddMousedownControls = a small bug. when using "lockscreen" (if you click on "lockscreen"), the window is unexpectedly moved to a random location

Code:

* Fixed AddMousedownControls for lockscreen.
latest version added to the first post.
__________________________________________________ ________

Code:

What's new

* Added Windows Notifications.
* Updated Skia (sk4d  v4.0.1  -->  v4.0.2)
* Some improvements.


amin fear 03-12-2022 01:42

Error
 
1 Attachment(s)
I am getting this error when compiling with Inno v6 , what is the solution ?:confused:



Is there any tutorial for this nice script ?

ADMIRAL 03-12-2022 02:51

Quote:

Originally Posted by amin fear (Post 499282)
I am getting this error when compiling with Inno v6 , what is the solution ?:confused:



Is there any tutorial for this nice script ?

use inno setup 5.5.1 ee2 to compile

BLACKFIRE69 03-12-2022 05:36

Quote:

Originally Posted by amin fear (Post 499282)
I am getting this error when compiling with Inno v6 , what is the solution ?:confused:

Is there any tutorial for this nice script ?

can you tell me the file path of Script1.iss?

(example: C:\Downloads\FMXInno\Script.iss)

MojoW 03-12-2022 12:05

Quote:

Originally Posted by BLACKFIRE69 (Post 499288)
can you tell me the file path of Script1.iss?

(example: C:\Downloads\FMXInno\Script.iss)

I wanted to try the examples aswell and had the same error.
Happened on IS 6.0.5 and 6.2.1.
The folders i tried the script in were:
D:\Repack Tools\FMXInno1.0.0.2+FMXInnoSkia1.0.0.0\Script1.is s
C:\Users\MojoW\Downloads\Compressed\FMXInno v1.0.0.2 + FMXInnoSkia v1.0.0.0 - Final Release [2022-Nov-27]\Script1.iss

MojoW 03-12-2022 14:46

1 Attachment(s)
Quote:

Originally Posted by audiofeel (Post 499296)
This error occurs if there is no file "MFT.EXE ". Check if the "Plugin\MFT" folder is located next to the script and there should be a file in this folder "MFT.exe ". Perhaps your antivirus tried (deleted it, etc.)
I just repeated this error myself by deleting this file

Double checked if that plugin was there and it was.
So it wasn't deleted.

BLACKFIRE69 03-12-2022 19:40

Quote:

Originally Posted by MojoW (Post 499297)
Double checked if that plugin was there and it was.
So it wasn't deleted.

try this and run the Example-Calc.bat as well.

MojoW 03-12-2022 20:15

1 Attachment(s)
Quote:

Originally Posted by BLACKFIRE69 (Post 499301)
try this and run the Example-Calc.bat as well.

Still didn't work and did the example.

amin fear 03-12-2022 22:39

Quote:

Originally Posted by BLACKFIRE69 (Post 499288)
can you tell me the file path of Script1.iss?

(example: C:\Downloads\FMXInno\Script.iss)

I have tried using the "short" path & the problem solved !

Code:

C:\FMXInno v1.0.0.2\Script1.iss
This error is related to "LONG" path names.:)

MojoW 04-12-2022 03:07

Quote:

Originally Posted by amin fear (Post 499304)
I have tried using the "short" path & the problem solved !

Code:

C:\FMXInno v1.0.0.2\Script1.iss
This error is related to "LONG" path names.:)

I tried but still have the same error.

C:\Users\MojoW\Desktop\FMXInno

D:\RepackTools\FMXInno

Edit:
So when i comment out the ExtraDiskSpaceRequired i can get all the examples to run except script1.
Script1 then errors out on this line
Code:

DoTmpExtract([{#DoFilesListingEx('.\..\..\Files', '*.png|*.jpg|*.cur|*.txt|*.mp3', StringChange(ExcludeFileList, ",", "|"))}]);
I'm just looking to learn from your examples and scripts (And all others on the forum offcourse) but i'm still curious as to why this is happening.

BLACKFIRE69 05-12-2022 03:55

FMXInno + FMXInnoSk - Updates
 
What's new:

Code:

* Updated MFT.exe and Added some features.
  (Thanks Cesar82 for the ideas, suggestions and test runs)

* Integrated BlendOnMoving function into library.

* Updated XHashNext. (internal)

* Added DirectX version.
  - function GetDirectXVersion(const SupportedByOS: Boolean): WideString;

* Added delayload flag.

* Bug fixing and Improvements.


checkout the first post.

BLACKFIRE69 09-12-2022 14:34

FMXInno + FMXInnoSk - Examples
 
11 Attachment(s)
Code:

[*] Lizzard Installer  -  Another example from FMXInno.
,

BLACKFIRE69 14-12-2022 08:19

FMXInno - Updates
 
FMXInno (Alpha) - Updates

Code:

* A style file was injected into the DLL.
  - Now it'll be the default skin for FMXInno until you load another style file.

* Stripped unused resources. ( 2.53 MB  -->  2.21 MB )

* Added Trackbar. (Regular and Botva-like)



__________________________________________________ ___________

Quote:

Extra:

* More styles will be added to FMXinno if someone can change the colors of the attached PNGs to the colors provided.

(i can't do it nice and smoothly, not good at stuff like editing :rolleyes:)

* PNGs and colors are attached below.

ffmla 14-12-2022 09:02

Quote:

Originally Posted by BLACKFIRE69 (Post 499416)
FMXInno (Alpha) - Updates

Code:

* A style file was injected into the DLL.
  - Now it'll be the default skin for FMXInno until you load another style file.

* Stripped unused resources. ( 2.53 MB  -->  2.21 MB )

* Added Trackbar. (Regular and Botva-like)



__________________________________________________ ___________

I am testing this in win 10(I only have this).
In the example script ie. Example_DefaultSkin.iss, while compiling(Inno EE 5.5.1) it throws the following exception msg.

Code:

[22:29:28.728]  InitializeWizard raised an exception (fatal).
[22:29:28.730]  Exception message:
[22:29:28.732]  Message box (OK):
        Runtime Error (at 301:2942):
       
        Exception "EFOpenError" at address 00497587.


BLACKFIRE69 14-12-2022 14:15

Quote:

Originally Posted by ffmla (Post 499417)
I am testing this in win 10(I only have this).
In the example script ie. Example_DefaultSkin.iss, while compiling(Inno EE 5.5.1) it throws the following exception msg.
Code:


Code:

[22:29:28.728]  InitializeWizard raised an exception (fatal).
[22:29:28.730]  Exception message:
[22:29:28.732]  Message box (OK):
        Runtime Error (at 301:2942):
       
        Exception "EFOpenError" at address 00497587.


found out what the problem was...

Code:

Error:

Memo1.LoadFromfile('C:\Program Files (x86)\Inno Setup 5\license.txt');

Code:

Fix:

[Files]
...

Source: ".\license.txt"; DestDir: "{tmp}"; Flags: dontcopy;


{Code]
...

Memo1.LoadFromfile(ExtractAndLoad('license.txt'));

Code:

Hint:

* Use BlankForm instead of FluentForm for Windows 10.


Example:

#define Windows10

....

#ifdef Windows10
  FMXForm.FCreateBlankForm(WizardForm.Handle, ALCoral, '');
#else
  FMXForm.FCreateFluent(WizardForm.Handle, True, False, 0.56, 0);
#endif

...


,

BLACKFIRE69 15-12-2022 03:58

FMXInno + FMXInnoSk - Updates
 
FMXInno + FMXInnoSkia - Updates


The FMXInno v1.0.0.2 (SRC Version: 14.0 - 14.9) is almost done.


Quote:

This was the to-do list in version 1.0.0.2.

* Ability to directly access MouseDown events of main forms.
* Auto DarkMode.
* Auto-scroll form background image.
* Blend on Moving.
* Botva2-like buttons, checkboxes, Trackbars and progress bars.
* Button Sounds.
* Color conversion between FMX and VCL or HTML.
* Customizable lock screen.
* Custom Fluent Window.
* Custom Opacity and brightness for Fluent forms.
* Default Skin.
* Dynamic Tiles.
* File Patching.
* Fluent Design DirBrowse Window.
* Fluent Design StartMenuBrowse Window.
* Form image SlideShow.
* FXPcker / FXStream.
* HTTP Client Api.
* Integration with Skia.
* Image SlideShow.
* NewScaler v2.0.
* SplashScreen.
* Translucent Objects.
* Transparent GIFs.
* Toggle CheckBox v2.0.
* Windows Notifications.


Before moving to the next version, if you need to add anything or any modification in the current version leave it below.

The next version (v1.0.0.3) will be released once it's done, but i can tell it won't be anytime soon. :confused:


Latest version added to first post.

hitman797 15-12-2022 11:44

1 Attachment(s)
What color do you want to change in the png?
blue or black.

BLACKFIRE69 15-12-2022 15:35

Quote:

Originally Posted by hitman797 (Post 499428)
What color do you want to change in the png?
blue or black.

both colors should be changed. the main color to change is blue (cyan). but two sets are needed. dark style with black and white for light style.

hitman797 15-12-2022 19:31

5 Attachment(s)
Test this if it works.

hitman797 15-12-2022 20:31

2 Attachment(s)
Gradients Blue

Behnam2018 15-12-2022 21:31

nothing happens when I run this script
 
4 Attachment(s)
Hi audiofeel , nothing happens when I run this script

My operating system is Windows 7 64-bit

Behnam2018 15-12-2022 22:27

1 Attachment(s)
thank you audiofeel

BLACKFIRE69 16-12-2022 04:58

Quote:

Originally Posted by Behnam2018 (Post 499436)
thank you audiofeel

this might work.

in the latest release (22-Dec-15), i removed resources for Windows 7 and Windows 8. :D

Quote:

Originally Posted by BLACKFIRE69 (Post 499416)
FMXInno (Alpha) - Updates

Code:

* Stripped unused resources. ( 2.53 MB  -->  2.21 MB )

,

BLACKFIRE69 16-12-2022 09:11

FMXInno - Updates
 
FMXInno - Updates

Code:

* FMXInno is now fully compatible with Windows 10 (except transparency).
* DrawFrame is available for every form.

 (Tested on Windows 10 22H2 x64)

,

Masquerade 17-12-2022 14:34

@BLACKFIRE69

There's a slight issue with the function VerifyHashesFromFile.

In my repacks, I read hash files from a _Verify folder, so each line of the file path begins with ..\ to indicate that the files are one directory up from the folder containing the checksum.

However, when reading the checksum file and pointing it to {app} or {app}\Verify, the FMXPlugin is trying to read ..\ as the directory name and is leading to all files returning as incorrect.

Example:

https://i.ibb.co/gMXjhWV/Screenshot-1.png

Please may you fix this?

Thanks,
Masquerade

BLACKFIRE69 17-12-2022 21:45

Quote:

Originally Posted by Masquerade (Post 499447)
@BLACKFIRE69

There's a slight issue with the function VerifyHashesFromFile.

In my repacks, I read hash files from a _Verify folder, so each line of the file path begins with ..\ to indicate that the files are one directory up from the folder containing the checksum.

However, when reading the checksum file and pointing it to {app} or {app}\Verify, the FMXPlugin is trying to read ..\ as the directory name and is leading to all files returning as incorrect.

Example:

https://i.ibb.co/gMXjhWV/Screenshot-1.png

Please may you fix this?

Thanks,
Masquerade



try this out.

Code:

Improvement

BasePath: 
  C:\Testing1\Testing2\_Verify    =    ( {app}\_Verify )

HashFile.md5:
  ...
  07c7314cfefa2fc0292a4780da6c6ede *..\chunk.pb0

  OR

  07c7314cfefa2fc0292a4780da6c6ede ..\chunk.pb0
  ...

XHash (Internal) Reading:
  >>  C:\Testing1\Testing2\chunk.pb0    =    ( {app}\chunk.pb0 )


Masquerade 18-12-2022 01:35

^^
This is correct, however the hashes are always returning bad. I think FMXInno is thinking the hashes are MD5 whereas they are blake3.

Is Blake3 implemented?

Thanks,
Masquerade

BLACKFIRE69 18-12-2022 02:26

Quote:

Originally Posted by Masquerade (Post 499450)
^^
This is correct, however the hashes are always returning bad. I think FMXInno is thinking the hashes are MD5 whereas they are blake3.

Is Blake3 implemented?

it's there.

Quote:

function VerifyHashesFromFile(ChecksumFile, BasePath: WideString; HashAlgo: Integer; LogFile: Boolean; Callback: TMultiHashCallback): Integer;

Blake3_256 ==>
HashAlgo := 11 OR
HashAlgo := H_BLAKE3_256

BLACKFIRE69 20-12-2022 11:05

Quote:

Originally Posted by audiofeel (Post 499466)
Hi everybody. Happy New Year to everyone! and Merry Christmas... the creator of this topic, the creators of this forum and just users. A small pre-holiday script.
https://i.ibb.co/QCJRT9t/1.gif
https://i.ibb.co/Zf7c4Jy/2.gif




Windows 10 users won't be happy if you don't include the following alternatives. :p


Quote:

// For Windows 10 (if not IsOSMatched(B_WIN11_21H2) then // OS < Windows 11)



1. MsgForm.FCreateBlankForm(FMXForm.HandleHWND, VCLColorToFMXColor($002900), '');

2. DirBrowseDlg.FCreateBlankForm(VCLColorToFMXColor($002900), 'Select Install Directory', WizardForm.DirEdit.Text, '');

3. StartBrowseDlg.FCreateBlankForm(VCLColorToFMXColor($002900), 'Browse for Folders', WizardForm.GroupEdit.Text, '');

4. ExitForm.FCreateBlankForm(FMXForm.HandleHWND, VCLColorToFMXColor($002900), '');


Code:

FMXInno Lib:

- Fixed Custom form HandleHWND.  (for lockscreen:  AutoActivate)


BLACKFIRE69 21-12-2022 09:01

Quote:

Originally Posted by audiofeel (Post 499496)
If third-party fonts are used in the installer, then after exiting they remain in the "Temp" folder. Manually deleting them is difficult since they are open in "System". All this happens in Windows 10. There may be something wrong with my system... check who has the desire and opportunity


Make sure the FMXInnoShutDown is executed after the RemoveFontResource2. must work.

,

BLACKFIRE69 22-12-2022 09:01

FMXInno + FMXInnoSk - Updates
 
Code:

What's New:

 - Applied the changes made so far.
 - Updated examples for both Windows 10 and Windows 11.
 - Updated CmdOut (internal). (Thanks Ele)


Latest version added to first post.

BLACKFIRE69 23-12-2022 09:26

FMXInno - Updates
 
FMXInno - Alpha

Code:

* Added Video Player.
  -- Video format: [.avi, .wmv]


Behnam2018 24-12-2022 19:14

Help
 
5 Attachment(s)
APEX Installer

Can it be made by script FMXInno?

BLACKFIRE69 24-12-2022 23:22

Quote:

Originally Posted by Behnam2018 (Post 499542)
APEX Installer

Can it be made by script FMXInno?

yes, it can be done with FMXInno.

BLACKFIRE69 26-12-2022 08:44

2 Attachment(s)
Quote:

Originally Posted by audiofeel (Post 499555)
No pain No gain :o

ok ladies, let me touch on some key points for Apex Installer.

(i'm little bit busy so i don't have enough time to make a complete script.)


.

hitman797 30-12-2022 11:01

2 Attachment(s)
Quote:

Originally Posted by audiofeel (Post 499609)
under OLD Installer

FLAT by Razor12911
CPI by Razor12911


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

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