FMXInno Update - [2023-Sep-12]
Code:
* Added new functions.
* Disabled runtime integrity checks.
* Fixed DirBrowse Edit.
* Updated FCreate* functions.
* Updated 'MinimizeWindowCustomAnimated' for ImageForms.
* Updated 'XBass' (internal/external).
* Updated 'ISArcEx' (internal/external).
* Removed lzma2 algorithm and used the lowest compression level.
- FinalSize(old): 2.86 MB
- FinalSize(new): 3.41 MB
Code:
{ PowerPlan ID }
const
USER_PP_POWER_SAVER = $0002;
USER_PP_BALANCED = $0004;
USER_PP_HIGH_PERFORMANCE = $0006;
USER_PP_ULTIMATE_PERFORMANCE = $0008;
USER_PP_UNKNOWN = $0001;
function wPowerPlanGetActivePlan: Byte;
function wPowerPlanExist(const PowerPlanID: Byte): Boolean;
function wPowerPlanSetOrCreate(const PowerPlanID: Byte): Boolean;
var
CurActivePowerPlanID: Byte;
Code:
function InitializeSetup(): Boolean;
begin
CurActivePowerPlanID := wPowerPlanGetActivePlan;
if (CurActivePowerPlanID = USER_PP_POWER_SAVER) or // Power saver
(CurActivePowerPlanID = USER_PP_BALANCED) or // Balanced
(CurActivePowerPlanID = USER_PP_UNKNOWN) then // Unknown (optional)
begin
if (not wPowerPlanSetOrCreate(USER_PP_HIGH_PERFORMANCE)) then // High performance
MsgBox('High performance powerplan error.', mbError, MB_OK);
end;
FMXInnoInit;
Result := True;
end;
procedure DeinitializeSetup();
begin
wPowerPlanSetOrCreate(CurActivePowerPlanID);
FMXInnoShutDown;
end;
-----------------------------------------------------------------------------------------------------------------------
Quote:
Originally Posted by audiofeel
@blackfire69
MinimizeWindowCustomAnimated).
It was also noticed that if the type of form is selected (FCreateImageForm), then the form does not return to its normal state after folding, but turns into a small rectangle (I attach a screenshot). Maybe it's my jamb (look through my script and maybe you'll find an error).
|
'MinimizeWindowCustomAnimated' has been fixed for '
ImageForms'.
-----------------------------------------------------------------------------------------------------------------------
Quote:
Originally Posted by Fak Eid
|
fixed.
-----------------------------------------------------------------------------------------------------------------------
Quote:
Originally Posted by Fak Eid
2. Installation speed is still not smooth. When transitioning from, say suppose Data-01 to Data-02, it still drops after a certain point of time. For eg: At Data-01 if it was 64mb/s, when extracting Data-02 it refreshes (resets) and becomes 12mb/s after some time.
Not sure if it helps, but save the previous/average installation speed and when the disk transition happens, do (prev installation speed+ current callback speed)/2 (like take average)
|
1. 'ISArcEx' only calculates the
current extraction speed for the
current archive.
2. 'ISArcExReduceCalcAccuracy' has been updated.
-
procedure ISArcExReduceCalcAccuracy(
Factor: Byte);
-
Factor: 1-5 (default = 1).
.