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)

BLACKFIRE69 27-12-2021 11:51

FMXInno - Windows Fluent Design Installer UI for Inno
 
16 Attachment(s)
🎉 Introducing FMXInno

I’m excited to introduce FMXInno, a project I've been passionately developing over the past few days. FMXInno is built upon the foundation laid by Jivanewstone's ISFMXFW project, which you can explore here.

FMXInno is a versatile and powerful plugin that brings the elegance of Windows Fluent Design, custom image-based forms, and standard FMX forms to Inno Setup. But it doesn’t stop there—FMXInno offers a comprehensive toolset designed to enhance your Inno Setup projects with modern UI elements, rich customization options, and a streamlined workflow.


🔑 Key Features:
  • 🛠 All-in-One Solution: FMXInno provides everything you need to create sophisticated and visually appealing installers.
  • 🎒 Comprehensive Toolset: A robust collection of tools and objects to design and customize your setup projects.
  • 🧑 Ease of Use: Designed to be user-friendly, FMXInno allows you to effortlessly create modern UIs, even with minimal coding experience.
  • 🎨 Rich Customization: Tailor every aspect of your installer with a wide range of FMX objects and customization options.
  • Modern UI Design: Bring your setups into the modern age with sleek, professional interfaces.
  • Fast and Flexible: Quickly adapt your designs with real-time updates and dynamic interactions.
  • Efficient Workflow: Streamline your development process with intuitive tools that save you time and effort.
  • 🚀 Rapid Development: Accelerate your project timelines with FMXInno's responsive and efficient features.
  • 🔗 Seamless Integration: FMXInno integrates smoothly with your existing Inno Setup projects, enhancing them without complexity.
  • 💎 Modern Aesthetics: Give your installers a polished and contemporary look that stands out.


🌐 Open Source and Future Plans

I’m committed to keeping FMXInno open-source, with plans to release the full source code as soon as possible. This project will continue to evolve, and I’m excited to see how the community will contribute to its growth.

💡 Examples and Capabilities

To give you a better understanding of what FMXInno.dll can do, I’ve included a few examples that showcase its capabilities. These examples will provide a clear idea of how FMXInno can transform your installation experience.

Q&A:
Quote:

Q: Can I apply certain FMXInno features to an existing Inno script without creating a new one?
A: Absolutely! I've attached an example that demonstrates this. You can achieve this by using a standard FMX form, making it easy to integrate FMXInno into your current projects.


.

ScOOt3r 27-12-2021 11:54

Thank you BLACKFIRE69, i will test this out..

ScOOt3r

lolaya 29-12-2021 08:12

Greet work!

JustFun 30-12-2021 07:23

Nice one mate!
Looks cool and clean.

ScOOt3r 30-12-2021 08:18

https://ibb.co/PM3QKVW just doing a sample install.. installed only 2 data file and when it installs

https://ibb.co/PM3QKVW
this is what it shows.. data1 data1 and uninstall
not sure if its an error in the scrip or something i was doing wrong

BLACKFIRE69 30-12-2021 08:56

Quote:

Originally Posted by ScOOt3r (Post 495303)
https://ibb.co/PM3QKVW just doing a sample install.. installed only 2 data file and when it installs

https://ibb.co/PM3QKVW
this is what it shows.. data1 data1 and uninstall
not sure if its an error in the scrip or something i was doing wrong

it just works fine?
.

DicDalll 05-01-2022 00:02

hello, I'm new to this stuff, I like your design very much, but which line of code should I add to install my own .iso file with the setup? I tried researching but it was too complicated :s

lolaya 07-01-2022 05:46

in 4k screen ,, scale problems

xNoah 10-01-2022 08:26

Windows 10 Test
 
Did a small test on Windows 10, lets just say it didnt turn out good.
https://gyazo.com/c174acae55c914a0343e510993e7b5fc

Upon trying to move the application I have no control over it and it just keeps moving on its own

BLACKFIRE69 12-01-2022 12:34

Quote:

Originally Posted by lolaya (Post 495351)
in 4k screen ,, scale problems

ok lolaya, i'll try to do something about this.

BLACKFIRE69 12-01-2022 12:52

Quote:

Originally Posted by xNoah (Post 495409)
Did a small test on Windows 10, lets just say it didnt turn out good.
https://gyazo.com/c174acae55c914a0343e510993e7b5fc

Upon trying to move the application I have no control over it and it just keeps moving on its own


this doesn't seems to work properly on Windows 10, but i can give you a quick fix. ;)

the quick fix requires at least Windows 10, version 1809 (build 17763) .
Code:

Tested on:
  1. Windows 10, version 20H2.
  2. Windows 10, version 21H1.

1. open the script, scroll down until FMXDesigning procedure and set NoBorder to True for both FCreateFluent & FCreateFluentColor.

https://i.ibb.co/3p76h0t/Annotation1.png


2. replace the current FMXInno.dll file.

3. in addition, change your power-plan to High/Ultimate performance mode.

https://i.ibb.co/4WnVDGV/Annotation2.png




.

Advanced Repack 15-01-2022 03:29

Good luck...
I like programing

xNoah 18-01-2022 11:03

Quote:

Originally Posted by BLACKFIRE69 (Post 495415)
this doesn't seems to work properly on Windows 10, but i can give you a quick fix. ;)

the quick fix requires at least Windows 10, version 1809 (build 17763) .
Code:

Tested on:
  1. Windows 10, version 20H2.
  2. Windows 10, version 21H1.

1. open the script, scroll down until FMXDesigning procedure and set NoBorder to True for both FCreateFluent & FCreateFluentColor.

https://i.ibb.co/3p76h0t/Annotation1.png


2. replace the current FMXInno.dll file.

3. in addition, change your power-plan to High/Ultimate performance mode.

https://i.ibb.co/4WnVDGV/Annotation2.png




.


Hello upon testing this, it doesn't seem to work. I am still have the same issue.

BLACKFIRE69 20-01-2022 06:11

2 Attachment(s)
Quote:

Originally Posted by xNoah (Post 495481)
Hello upon testing this, it doesn't seem to work. I am still have the same issue.


noticed. can you run this test first?
.

xNoah 28-01-2022 09:49

Quote:

Originally Posted by BLACKFIRE69 (Post 495490)
noticed. can you run this test first?
.

Sorry for the late response but I get the same results as you

BLACKFIRE69 15-02-2022 02:45

FMXInno Update
 
Update available!


what's new
Quote:

-- Feature Added: Form Image SlideShow ( Windows 11 / 10 )

ScreenShot:


Behnam2018 27-04-2022 19:17

Please Script
 
2 Attachment(s)
Nice Installer

Thanks

Please Script
:o

Behnam2018 29-04-2022 18:42

Thanks

houcine80 02-05-2022 09:55

Greet work and nice look

Behnam2018 02-05-2022 19:44

Please disable the message
 
2 Attachment(s)
Please disable the message Please disable the message in Windows 7

BLACKFIRE69 03-05-2022 10:56

Quote:

Originally Posted by Behnam2018 (Post 496666)
Please disable the message Please disable the message in Windows 7

sorry, FMXInno.dll plugin doesnt work on older versions of windows.

BLACKFIRE69 26-05-2022 00:24

Quote:

Originally Posted by audiofeel (Post 496987)
could you provide an example of how you calculate the free space needed for installation. if any additional checkboxes are marked. you have an example, but it is not completed
https://i.ibb.co/nBHLydj/Screenshot-...-26-032746.png

is this not enough?

Code:

function InitDiskUsage: FDiskUsage;

// DISK
 FDiskUsage = interface(IUnknown)
  '{08403E71-113A-4F88-960F-36296CB8AAA1}'
    procedure SetDir(Const ADir: String);
    function DiskLoad: Cardinal;
    function TotalSpace: Double;
    function FreeSpace: Double;
    function UsedSpace: Double;
 end;


BLACKFIRE69 10-06-2022 12:18

FMXInno v1.0.0.1 - update
 
Update!

Code:

- Added a blank form.
- Added new effects.
- Added translucent objects.
- Integrated a HTTP Client API.
- Updated classes.
- Updated image slideshow.


BLACKFIRE69 11-06-2022 00:41

Quote:

Originally Posted by audiofeel (Post 497184)
I could not apply the font through "function AddFontResource" if it is not difficult I would like to see how you do it.

here is an example.

BLACKFIRE69 11-06-2022 04:11

Quote:

Originally Posted by audiofeel (Post 497184)
please make examples of "SysFunc.iss". especially interested in "function BrowseDirModern".

SysFuncDLL Fix + BrowseDirModern Example

Quote:

Originally Posted by audiofeel (Post 497184)
why does the "FDirBrowse" already have a path "C:\Program Files (x86)" and can't apply {code:nosd} ?

oops. check this out. ;)

FMXInnoDLL v1.0.0.1 + Fix (Lib Only)

Code:

[Setup]
...
DefaultDirName ={code:DefMyPath}\Inno Example with FMXInno Library
...

{Code]
...
function DefMyPath(Param: String): String;
begin
  Result:= ExpandConstant('{win}');
end;
...

procedure FMXDesigning;
begin
...
{ Dir Browse Dlg }                               
  DirBrowseDlg.FCreate(0, 'Select Install Directory', WizardForm.DirEdit.Text);
...
end;


BLACKFIRE69 19-06-2022 16:48

FMXInno v1.0.0.2 - Update
 
Update!

Code:

* Added color conversion between FMX and VCL (Testing).
* Added image slideshow api.
  -- Supports multi-transitions.
* Added some other functions.
  -- GetDesktopImgColorVCL
  -- GetDesktopImgColorFMX
* Added HTTP Client Api to work with single-thread.
* Fixed minor issues known so far.
* Updated Classes.

.

fabrieunko 19-06-2022 21:47

hello, I have a question, is your setup usable with dsg?

BLACKFIRE69 20-06-2022 05:50

Quote:

Originally Posted by fabrieunko (Post 497303)
hello, I have a question, is your setup usable with dsg?

yes, after a few modifications, it can be done. but by default it doesn't work with dsg.

BLACKFIRE69 20-06-2022 05:53

Quote:

Originally Posted by audiofeel (Post 497305)
Greetings. If a theme with multiple images (slide show) is selected in the system, an error occurs. I attach a screenshot. possible only on the Win 11 Dev 25410 build
https://ibb.co/sKr140s

fixed!

.

BLACKFIRE69 20-06-2022 10:27

FMXInno v1.0.0.2 - Fix 02
 
FMXInno v1.0.0.2 - Fix 02

Code:

following functions have been fixed.

1. GetDesktopImgColorVCL
2. GetDesktopImgColorFMX

3. FMXColorToVCL
4. VCLColorToFMX

5. SetVCLColorLighter
6. SetVCLColorDarker

7. GetImgColorVCL
8. GetImgColorFMX

.

BLACKFIRE69 22-06-2022 12:26

FMXInno Updates
 
FMXInno Updates

Code:

* Customizable lock screen.
  -- AutoMode
  -- Animations
  -- Blur Effect
  -- Custom Font Settings
  -- Custom positions
  -- Lockscreen Image
  -- Lockscreen Text

.

BLACKFIRE69 23-06-2022 13:20

FMXInno Updates
 
FMXInno Updates

Code:

Just added Button sounds and LockScreen lock/unlock sounds. ;)

* Button Sounds:
  1. Clear Buttons.
  2. ClearGradient Buttons.
  3. Color Buttons.
  4. ColorGradient Buttons.
  5. Picture Buttons.
  6. WinRound Buttons.
  7. FMX Default Buttons.

* Custom Dlgs:       
  1. Exit Page Buttons.
  2. DirBrowse Dlg Buttons.
  3. StartMenu Dlg Buttons.
       
* LockScreen Sounds:
  1. Lock.
  2. Unlock.

Code:

Examples:

{ Dir Browse Btn }
  BrowseBtn.FCreate(FMXForm.Handle, Ns(WizardForm.InnerNotebook.Left + WizardForm.DirBrowseButton.Left),
    Ns(WizardForm.InnerNotebook.Top + WizardForm.DirBrowseButton.Top), '&Browse...');
  BrowseBtn.BackColor($FF3DFA85, $FF0885EB);
  BrowseBtn.GradientPosition(False);
  BrowseBtn.OnClick(@BrowseBtnOnClick);
#ifdef ButtonSounds
  BrowseBtn.ButtonSounds(ExtractAndLoad('Enter.wav'), '', ExtractAndLoad('Click.wav'));
#endif


{ Dir Browse Dlg }
  DirBrowseDlg.FCreate(0, 'Select Install Directory', WizardForm.DirEdit.Text);
  DirBrowseDlg.ChangeBckgndClr($00AAFA05);
  DirBrowseDlg.Transparency(26);
#ifdef ButtonSounds
  DirBrowseDlg.ButtonSounds(ExtractAndLoad('Enter.wav'), '', ExtractAndLoad('Click.wav'));
#endif


{ Exit Page }
  ExitMsg.FCreate(FMXForm.Handle, NS(170), ALCrimson, CustomMessage('YesBtn'),
        CustomMessage('NoBtn'), CustomMessage('ExitMsg1'), CustomMessage('ExitMsg2'), False, False, False);
  ExitMsg.Opacity(0.9);
  ExitMsg.YesBtnClick(@ExitYesBtnOnClick);
  ExitMsg.NoBtnClick(@ExitNoBtnOnClick);
#ifdef ButtonSounds
  ExitMsg.ButtonSounds(ExtractAndLoad('Enter.wav'), '', ExtractAndLoad('Click.wav'));
#endif


{ Lock Screen }
  LockScreen.FCreate(FMXForm.Handle, txCenter, True);
  LockScreen.AutoActivate(FMXForm.HandleHWND, WizardForm.Handle);
#ifdef LockScreenSounds
  LockScreen.LockSounds(ExtractAndLoad('Lock.wav'), ExtractAndLoad('UnLock.wav'));
#endif


BLACKFIRE69 26-06-2022 07:13

FMXInno v1.0.0.2 - Final Release
 
Quote:

Originally Posted by BLACKFIRE69 (Post 497310)
FMXInno v1.0.0.2 - Fix 02
Code:

following functions have been fixed.

1. GetDesktopImgColorVCL
2. GetDesktopImgColorFMX

3. FMXColorToVCL
4. VCLColorToFMX

5. SetVCLColorLighter
6. SetVCLColorDarker

7. GetImgColorVCL
8. GetImgColorFMX



two additional functions were added if needed.

Quote:

function GetImgPartColorFMX(AImage: WideString; PixelX, PixelY, PixelH, PixelW: Integer): Integer;
function GetImgPartColorVCL(AImage: WideString; PixelX, PixelY, PixelH, PixelW: Integer): Integer;


Example:

{ TranslucentRect }
TranslucentRect.FCreate(BackgroundImage.Handle);
TranslucentRect.SetBounds(NS(76), NS(32), NS(485), NS(128));
TranslucentRect.BlurColor(GetImgPartColorFMX(ExtractAndLoad('wallpaper_color.jpg'), 290, 700, 43, 148));
TranslucentRect.OnMouseDown(@FormMouseDown);

{ TranslucentCircle }
TranslucentCircle.FCreate(BackgroundImage.Handle);
TranslucentCircle.SetBounds(NS(32), NS(192), NS(200), NS(200));
TranslucentCircle.BlurColor(GetImgPartColorFMX(ExtractAndLoad('wallpaper_color.jpg'), 773, 277, 26, 57));
TranslucentCircle.OnMouseDown(@FormMouseDown);

{ TranslucentCallout }
TranslucentCallout.FCreate(BackgroundImage.Handle) ;
TranslucentCallout.SetBounds(NS(408), NS(192), NS(200), NS(200));
TranslucentCallout.BlurColor(GetImgPartColorFMX(ExtractAndLoad('wallpaper_color.jpg'), 681, 658, 34, 91));
TranslucentCallout.OnMouseDown(@FormMouseDown);

https://i.ibb.co/8j2Y875/FMXInno-img04-1.png

FMXInno v1.0.0.2 - Final Release [06/26/22] has been uploaded to the first post. you can download it now.

Code:

FMXInno External Plugins:

  - CLILib v1.0.0.0
  - CmdOut v1.0.0.2
  - FDownloader_multi v1.0.0.0
  - ImgSlideShow v1.0.0.0
  - ISArcEx v0.4.0.0
  - MFT v1.1.0.0
  - Sysfunc v1.0.0.0
  - SplitterLib v1.0.0.0
  - XBass_f v4.0.0.0
  - ZipperLib v1.0.0.0


BLACKFIRE69 30-06-2022 11:52

FMXInno Tests
 
( just an attempt to test the FMXInno library. this concept was taken from the @hitman797's OLD Installer post.
i won't recreate it with the FMXInno. just to give you an idea of the capabilities of FMXInno. )

.

ScOOt3r 30-06-2022 17:02

Blackfire is there any way to add more Compos at least 8, i tried and couldnt get it to work

thanks
ScOOt3r

BLACKFIRE69 01-07-2022 06:42

Quote:

Originally Posted by ScOOt3r (Post 497389)
Blackfire is there any way to add more Compos at least 8, i tried and couldnt get it to work

thanks
ScOOt3r

i increased it to 12 compos.
press "Ctrl + F", then search for the word "NewCompos". you'll find the implementation. ;)

.

ScOOt3r 01-07-2022 07:22

Thanks so much BlackFire. this works perfect now..

cheers

ScOOt3r

ScOOt3r 05-07-2022 17:30

is there a way to change the time from 14:50 to like 2:50 if so how..

thanks
ScOOt3r

BLACKFIRE69 05-07-2022 20:38

Quote:

Originally Posted by ScOOt3r (Post 497461)
is there a way to change the time from 14:50 to like 2:50 if so how..

thanks
ScOOt3r

there's no way so far. but wait for the next update. ;)

.

BLACKFIRE69 06-07-2022 07:14

FMXInno Updates
 
FMXInno v1.0.0.2 Final Release [06-07-22]

Code:

-- Added Custom Fluent Window.
-- Added Fluent Design DirBrowse Window.
-- Added Fluent Design StartMenuBrowse Window.
-- Added Fluent Uninstall Progress Form.
-- Added Enable/Disable for Fluent effects.
-- Added Some New Functions.

-- Fixed Translucent Objects Blur issue.
-- Fixed Animate function of each object.
-- Fixed Memory(RAM) Usage(Percentage) issue.
-- Fixed Minor Bugs.

-- Included Old Installer Demo.iss.

-- Updated NewScaler v2.0.
        1. NSX, NSSX, ANSX, ANSSX, NSX2, NSSX2, ANSX2, ANSSX2 - For X values.
        2. NSY, NSSY, ANSY, ANSSY, NSY2, NSSY2, ANSY2, ANSSY2 - For Y values.
        3. NS, NSS, ANS, ANSS, NS2, NSS2, ANS2, ANSS2              - For Both values.
-- Updated Examples.

Check the first post.

.


All times are GMT -7. The time now is 10:47.

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