|
#1
|
||||
|
||||
|
System Requirement Page
Anyone have a new version System Requirement Page (HWREQ_Page), because in the version that i have i cant make compare mayor, minor, and Service Pack windows version
|
| Sponsored Links |
|
#2
|
||||
|
||||
|
http://fileforums.com/showthread.php?t=95775
use this library |
|
#3
|
||||
|
||||
|
I have w7 service pack 1
and if i set #define WinVerMajor "8" #define WinVerMinor "3" #define WinVerService "0" WHY?? Alway CompareWindows "OK" *Hwerq Module.iss* function HWREQ_CompareWindows(): Boolean; var tmp: TWindowsVersion; begin Result:= False; if HWREQ.WinVer.NTPlatform then begin if (tmp.Major <= {#WinVerMajor}) then if (tmp.Minor <= {#WinVerMinor}) then if (tmp.ServicePackMajor <= {#WinVerService}) then Result:= True; end; end; |
|
#4
|
||||
|
||||
|
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 |
|
#5
|
||||
|
||||
|
Quote:
Last edited by gatosky1620; 03-10-2016 at 17:59. |
|
#6
|
||||
|
||||
|
function HWREQ_CompareWindows(): Boolean;
var S: String; begin RegQueryStringValue(HKLM,'SOFTWARE\Microsoft\Windo ws NT\CurrentVersion','CurrentBuildNumber',S); Result:= StrToInt(S) >= {#WinBuild}; end; |
| The Following User Says Thank You to Razor12911 For This Useful Post: | ||
gatosky1620 (07-10-2016) | ||
|
#7
|
||||
|
||||
|
razor bro thanks for you help, now i need your help again
how i do to add and compare the directx version in system page requeriments |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help on creation page of the system requirement | cartel | PC Games - CD/DVD Conversions | 0 | 17-08-2014 15:22 |
| Biathlon 2006 Problems... Please help! | RamGuy | General Gaming | 1 | 10-04-2006 03:23 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |
| Kernel/ Bios | suggy | XBox Games | 4 | 22-03-2003 12:23 |