Quote:
Originally Posted by audiofeel

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'));