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)

hitman797 22-01-2023 16:22

1 Attachment(s)
SlideShow

Code:

    TabControl1: TTabControl;
    TabItem1: TTabItem;
    Rectangle1: TRectangle;
    ActionList1: TActionList;
    ChangeTabAction1: TChangeTabAction;
    NextTabAction1: TNextTabAction;
    PreviousTabAction1: TPreviousTabAction;
    Timer1: TTimer;

SlideShow

Behnam2018 27-01-2023 19:30

Error
 
1 Attachment(s)
cannot import dll utf8 kernel32.dll

Behnam2018 27-01-2023 21:44

thanks audiofeel

ADMIRAL 10-02-2023 10:55

Quote:

Originally Posted by audiofeel (Post 500142)
Q. Which script-project deserves to be revived on FMXInno ?

Hello dear friend
To answer your question, choose is Metro11
If you add the user loading page and goodbye page and also video on backgroud it will be the best installer ever made

ADMIRAL 11-02-2023 20:00

Quote:

Originally Posted by audiofeel (Post 500156)
[SPOILER]
Well, it's not serious. More like..."and I like green markers." The script "Metro11" already has a lot of pages, buttons and not quite necessary information. Most users won't even read it. There is an unspoken rule - "no more than five buttons" otherwise most users will simply close the installer (it is not for nothing that the Microsoft campaign advised all software manufacturers to abandon unnecessary pages such as a greeting or an initial invitation). And simple guys like scripts where - "I changed two pictures and a couple of names and the script for another game is ready." And in "Metro11" you will have to try to adapt this script to another game, find a bunch of icons, change the music, slide shows, videos, etc. and so on. Perhaps a video on the background is a good idea, but again - then what size will the installer file have?
[/SPOILER]

I only suggested what was in the corepack version, and if there is no need for more pages, then maybe the background video is not a problem for this script.

Behnam2018 11-02-2023 20:26

Again this script with FMXInno
 
2 Attachment(s)
Again this script Glass Black Box with FMXInno ;)

Behnam2018 19-02-2023 19:50

Help
 
2 Attachment(s)
Hello audiofeel

I used to use this script but it gives me an error
Runtime Error (at-1:0)
Cannot Import
dll:<utf8>C:/Users\Behnam\AppData\Local\Temp\is-EOHI8.tmp\ISArcEx.dll.

Razor12911 21-02-2023 07:28

I'm not sure I understand your question, but effectively both the normal function and the extended function are the same, the extended function just gives the option to only make a font available to the caller process or that the font should not be enumerated by any process, other than that. They are virtually the same, if you're referring to the functions seemingly not working on FMX platform then all you need to do is call the function before the application is created/initialized.

Razor12911 21-02-2023 14:05

1 Attachment(s)
Ah I remember now. I once had this problem in ASC (Advanced Setup Creator), this isn't a AddFontResource problem but rather a FMX problem on other platforms and the way I fixed it was temporarily placing the font in "C:\Windows\Fonts" you can use FileCopy after extracting temporary files, then adding the font name in Windows Registry in "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wi ndows NT\CurrentVersion\Fonts", with Font Name (TrueType) as value name and the font filename as value data. It's wise to check if the font exists in registry before doing this because you need to delete the registry and delete the file in deinitializesetup.

Razor12911 22-02-2023 11:17

3 Attachment(s)
It works fine on Windows 7 (although it was via VM), however there seems to be other problems. I'm not sure if those bezels (the edges left, right and bottom) are by design but they just seemed to be out of place and they are even more prominent if you disable the aero theme.

nordi 26-02-2023 22:22

Hi @audiofeel,

i have played a bit with your Installer (Atomic Hearts) and created my own style. All goes well when the Installer is directly on any harddrive...
When I create an ISO with the Installer, mount it and start the Setup.exe, then it only hanging in the background/taskbar and I only can kill it over taskmanager.
(> same with your provided original on my PC)

My Info:
- Win11-2022 using
- my Script has only other Images and more Redist Icons.
- ISO made with ImageBurn / Mounted with Win11 directly

Do you get the same behavier ?! perhaps already any solution ;-)


(Edit: Same for me with the provided CorePack)

BLACKFIRE69 04-03-2023 17:13

Quote:

Originally Posted by audiofeel (Post 500356)
Ok, hello everyone, who will help? how do I transfer the value from the "FTrackBar" to the "Volume" of the music?

that is, to put it simply, to make a volume control
I tried to do this
Code:

procedure TrackbarOnChange(Sender: TObject);
begin
  MusicObj.SetVolume(VolTrackbar.GetValue);
end;

Inno says... not right
thank you in advance.




Code:

procedure Trackbar1OnChange(Sender: TObject);
begin
  MusicObj.SetVolume(Round(Trackbar_Regular.GetValue));
end;



but why?

Code:

IXBass :
procedure SetVolume(Const Vol: Integer);


FTrackBar :
function GetValue: Single;


auaksa 04-03-2023 17:41

@BLACKFIRE69

thx for ur replay my msg :)

BLACKFIRE69 05-03-2023 06:02

Quote:

Originally Posted by audiofeel (Post 500362)
Everything is OK, it's working. I may have one more question? Not very smooth volume control, in fact, it disappears already on half of the trackbar.


yes, volume control is neither gradual nor smooth. i agree.
the volume range is (-10,000 to 0).

DSBVOLUME_MAX := 0;
DSBVOLUME_MIN := -10,000

For More Info

i don't know how to do smooth control tho.
what i'm doing is simply just set the value as below. :p

Code:

Vol := (InputVolPct - 100) * 100;
DirectSoundBuffer.SetVolume(Vol)


if anyone knows a better way let me know.

Cesar82 05-03-2023 07:17

1 Attachment(s)
Quote:

Originally Posted by BLACKFIRE69 (Post 500368)
yes, volume control is neither gradual nor smooth. i agree.
the volume range is (-10,000 to 0).

DSBVOLUME_MAX := 0;
DSBVOLUME_MIN := -10,000

For More Info

i don't know how to do smooth control tho.
what i'm doing is simply just set the value as below. :p

Code:

Vol := (InputVolPct - 100) * 100;
DirectSoundBuffer.SetVolume(Vol)


if anyone knows a better way let me know.

This makes changing the volume a little smoother.
I hope it helps you!


All times are GMT -7. The time now is 14:29.

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