I would like to determine whether the current OS is Windows 8.1.
I know this could be solved analyzing the NT version number (6.3) of the current Windows version, but I don't know how to do it under Pascal script.
Pseudo-Code:
// Occurs when the installer initializes.
function InitializeSetup(): Boolean;
begin
if IsWindows81 then
begin
Result := IsKBInstalled('KB2919355');
if not Result then
MsgBox('Windows Update package "KB2919355" not found.', mbError, MB_OK);
end;
else
begin
Result := True
end;
end;