|
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;
|