|
|
|
|
#1 | |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
If it is not affected, why do you bother looping with VerifyVersionInfo?
Anyway, I have seen RtlGetVersion on Vista SP2 return 5.1.2600 if you set compatibility to XP (don't remember if AcLayers was involved though). On Windows 8 RtlGetVersion returns the correct value but then a hook overwrites parts of the result: Quote:
![]() PHP Code:
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
|
#2 | |
|
Major Dude
Join Date: Sep 2005
Location: Somewhere over the Slaughterhouse
Posts: 797
|
Quote:
Windows 10 without compat mode: http://pastie.org/10838499 Windows 10 with Win9x compat mode: http://pastie.org/10838500 Windows 10 with WinXP compat mode: http://pastie.org/10838502 In the last case even RtlGetVersion() lies, but RtlVerifyVersionInfo can reveal the expected result. RealOSVersion.2016-05-15.zip My Plugins: StdUtils | NSISList | CPUFeatures | ExecTimeout | KillProc My source of inspiration: http://youtu.be/lCwY4_0W1YI |
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|