View Single Post
  #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