View Single Post
  #5  
Old 03-10-2016, 17:50
gatosky1620's Avatar
gatosky1620 gatosky1620 is offline
Registered User
 
Join Date: Oct 2011
Location: Perú
Posts: 287
Thanks: 13
Thanked 966 Times in 131 Posts
gatosky1620 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
You would rather get build number.

Build numbers simplify everything, Windows 7 build is 7600, SP1 version is 7601.

#define WinBuild "7600"

procedure GetSysInfo(var SysInfo: TSysInfo);
external 'GetSysInfo@files:Isab.dll stdcall delayload';

var SystemInfo: TSysInfo;

GetSysInfo(SystemInfo);

function CompreWindows:Boolean;
begin
Result:=SystemInfo.OSBuildNumbers>={#WinBuild};
end;

http://fileforums.com/showpost.php?p=430455&postcount=1
can you update The HWREQ_Module.iss with the peterf library, because i dont know muc
Attached Files
File Type: 7z HWREQ(SystemReqPage)_Update.7z (4.5 KB, 29 views)

Last edited by gatosky1620; 03-10-2016 at 17:59.
Reply With Quote