Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25-09-2016, 17:59
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
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
Reply With Quote
Sponsored Links
  #2  
Old 29-09-2016, 16:58
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,210 Times in 2,309 Posts
Razor12911 is on a distinguished road
http://fileforums.com/showthread.php?t=95775
use this library
Reply With Quote
  #3  
Old 03-10-2016, 17:34
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
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;
Reply With Quote
  #4  
Old 03-10-2016, 17:40
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,210 Times in 2,309 Posts
Razor12911 is on a distinguished road
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
Reply With Quote
  #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
  #6  
Old 04-10-2016, 20:58
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,210 Times in 2,309 Posts
Razor12911 is on a distinguished road
function HWREQ_CompareWindows(): Boolean;
var
S: String;
begin
RegQueryStringValue(HKLM,'SOFTWARE\Microsoft\Windo ws NT\CurrentVersion','CurrentBuildNumber',S);
Result:= StrToInt(S) >= {#WinBuild};
end;
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
gatosky1620 (07-10-2016)
  #7  
Old 07-10-2016, 11:41
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
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT -7. The time now is 14:34.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com