|
|
|
#1
|
|||
|
|||
|
I'm really looking forward to the functionality of playing videos in the background of the installer window. This means the installer window, similar to the background image of the form to make a background video of the form. So that the elements can be placed on top of the video background.
Last edited by Tihiy_Don; 31-07-2023 at 23:45. |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Hello, I am new to repackaging and inno setup, how should I use your plug-in? I downloaded it and tried to run the script, but the following error always popped up. It is an error in the [code] section of the FMXInnoHandle.iss script. Excuse me. How to solve it? In addition, I am using Windows7, does this have something to do with the system?
https://postimg.cc/5j6K7BSg Last edited by Ning; 08-08-2023 at 04:53. |
| The Following User Says Thank You to Ning For This Useful Post: | ||
Behnam2018 (09-08-2023) | ||
|
#3
|
||||
|
||||
|
Quote:
|
|
#4
|
||||
|
||||
|
FMXInno SlideShow Example using:
|
| The Following User Says Thank You to hitman797 For This Useful Post: | ||
audiofeel (18-08-2023) | ||
|
#5
|
||||
|
||||
|
Quote:
and Handle TabControl2 in FMXForm. and add objects to TabControl2. Last edited by hitman797; 19-08-2023 at 00:34. |
| The Following User Says Thank You to hitman797 For This Useful Post: | ||
audiofeel (19-08-2023) | ||
|
#6
|
||||
|
||||
|
FMXInno Viewport 3D Example using:
@BLACKFIRE69 HI, BLACKFIRE69 Thank you for the update. Can you add BringToFront to "FLayer3D". Last edited by hitman797; 19-08-2023 at 13:06. |
| The Following User Says Thank You to hitman797 For This Useful Post: | ||
audiofeel (19-08-2023) | ||
|
#7
|
||||
|
||||
|
3d delphi
Code:
Form1: TForm;
Viewport3D1: TViewport3D;
Layer3D1: TLayer3D;
FloatAnimation1: TFloatAnimation;
Layer3D2: TLayer3D;
FloatAnimation2: TFloatAnimation;
Code:
object FloatAnimation1: TFloatAnimation
Enabled = True
Duration = 1
Loop = True
PropertyName = 'RotationAngle.X'
StartValue = 0
StopValue = 180
OnProcess = FloatAnimation1Process
end
object FloatAnimation2: TFloatAnimation
Enabled = True
Duration = 1
Loop = True
PropertyName = 'RotationAngle.X'
StartValue = 180
StopValue = 360
OnProcess = FloatAnimation2Process
end
Code:
procedure TForm3.FloatAnimation1Process(Sender: TObject); begin Layer3D2.BringToFront; end; procedure TForm3.FloatAnimation2Process(Sender: TObject); begin Layer3D1.BringToFront; end; Last edited by hitman797; 21-08-2023 at 17:26. |
| The Following User Says Thank You to hitman797 For This Useful Post: | ||
audiofeel (20-08-2023) | ||
|
#8
|
||||
|
||||
|
Example-DiskList.iss
Code:
var
FMXLabel : FLabel;
procedure FMXInnoInit;
begin
FMXLabel := InitLabelHandle;
end;
procedure FMXDesigning;
begin
FMXLabel.FCreate(FMXForm.Handle, '');
if wGetDriveMediaType('D') = 1 then
begin
FMXLabel.Text('UNKNOWN');
end;
if wGetDriveMediaType('D') = 2 then
begin
FMXLabel.Text('HDD');
end;
if wGetDriveMediaType('D') = 3 then
begin
FMXLabel.Text('SSD');
end;
if wGetDriveMediaType('D') = 4 then
begin
FMXLabel.Text('SCM');
end;
FMXLabel.Left(50);
FMXLabel.Top(50);
FMXLabel.FontSetting('Segoe UI', 16, ALBlack);
end;
|
| The Following 2 Users Say Thank You to hitman797 For This Useful Post: | ||
audiofeel (24-08-2023), BLACKFIRE69 (26-08-2023) | ||
|
#9
|
||||
|
||||
|
You didn't look at the constants.
const HDD_MEDIA_TYPE_UNKNOWN = $0000; HDD_MEDIA_TYPE_HDD = $0003; HDD_MEDIA_TYPE_SSD = $0004; HDD_MEDIA_TYPE_SCM = $0005; [IMG] https://i.ibb.co/HC1cpzn/2023-08-24-202555.png [/IMG] |
| The Following 2 Users Say Thank You to crachlow For This Useful Post: | ||
audiofeel (24-08-2023), BLACKFIRE69 (26-08-2023) | ||
|
#10
|
||||
|
||||
|
Quote:
Code:
var
FMXLabel : FLabel;
procedure FMXInnoInit;
begin
FMXLabel := InitLabelHandle;
end;
procedure FMXDesigning;
begin
FMXLabel.FCreate(FMXForm.Handle, '');
if wGetDriveMediaType('D') = 0 then
begin
FMXLabel.Text('UNKNOWN');
end;
if wGetDriveMediaType('D') = 3 then
begin
FMXLabel.Text('HDD');
end;
if wGetDriveMediaType('D') = 4 then
begin
FMXLabel.Text('SSD');
end;
if wGetDriveMediaType('D') = 5 then
begin
FMXLabel.Text('SCM');
end;
FMXLabel.Left(50);
FMXLabel.Top(50);
FMXLabel.FontSetting('Segoe UI', 16, ALBlack);
end;
Code:
var
FMXLabel : FLabel;
procedure FMXInnoInit;
begin
FMXLabel := InitLabelHandle;
end;
procedure FMXDesigning;
begin
FMXLabel.FCreate(FMXForm.Handle, '');
case wGetDriveMediaType('D') of
0: FMXLabel.Text('UNKNOWN');
3: FMXLabel.Text('HDD');
4: FMXLabel.Text('SSD');
5: FMXLabel.Text('SCM');
end;
FMXLabel.Left(50);
FMXLabel.Top(50);
FMXLabel.FontSetting('Segoe UI', 16, ALBlack);
end;
|
| The Following User Says Thank You to hitman797 For This Useful Post: | ||
audiofeel (24-08-2023) | ||
|
#11
|
||||
|
||||
|
Quote:
|
|
#12
|
||||
|
||||
|
And in general, you are not going to manually register the disks that may be in the system?
|
|
#13
|
||||
|
||||
|
It's bad that usb does not recognize.
|
|
#14
|
||||
|
||||
|
Update available!
Quote:
the FluentApi v2.0 update was responsible for this problem, however, it has been successfully addressed and fixed. ![]() Quote:
this update brings more properties to classes, and that includes this one too. NOTE: This update involves modifications to certain functions/procedures, which might require adjustments to current scripts. ![]() ![]() Quote:
Ok, let's update the wGetDriveMediaType function. Code:
function wGetDriveMediaType(const DriveLetter: WideString): Integer; function wGetDriveMediaTypeEx(const DriveLetter: WideString; out HealthStatus, Usage: Integer): Integer; Code:
{ Drive Media Type }
const
HDD_MEDIA_TYPE_UNKNOWN = $0000;
HDD_MEDIA_TYPE_USB = $0001;
HDD_MEDIA_TYPE_SD = $0002;
HDD_MEDIA_TYPE_HDD = $0003;
HDD_MEDIA_TYPE_SSD = $0004;
HDD_MEDIA_TYPE_SCM = $0005;
HDD_MEDIA_TYPE_NVMe = $0006;
{ Drive Health }
const
HDD_HEALTH_STATUS_HEALTHY = $0000;
HDD_HEALTH_STATUS_WARNING = $0001;
HDD_HEALTH_STATUS_UNHEALTHY = $0002;
HDD_HEALTH_STATUS_UNKNOWN = $0005;
{ Drive Usage }
const
HDD_USAGE_UNKWOWN = $0000;
HDD_USAGE_AUTO_SELECT = $0001; // used for data storage.
HDD_USAGE_MANUAL_SELECT = $0002; // used if manually selected by an administrator at the time of virtual disk creation.
HDD_USAGE_RETIRED = $0004; // retired from use
HDD_USAGE_CACHE = $0005; // used as a cache for other devices.
the first post has been updated. . Last edited by BLACKFIRE69; 26-08-2023 at 14:29. |
|
#15
|
||||
|
||||
|
#Script1.iss
when i already installed the first game The next game will be on the same drive as the first game installed.
Last edited by macut18; 26-08-2023 at 18:12. |
![]() |
|
|
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 |