Pb. with GetMsVersionInfo in Windows 10
Verfasst: 06 Nov 2015, 14:56
Hi,
I am making my first test with "w10-x64" netboot product : no problem with the OS installation, but some localboot product aren't installed with a bad interpretation of "GetMsVersionInfo".
In the setup.ins :
And in the log file :
For me "10.0" is greater than "5.1" so why the result is false ?
Regards.
I am making my first test with "w10-x64" netboot product : no problem with the OS installation, but some localboot product aren't installed with a bad interpretation of "GetMsVersionInfo".
In the setup.ins :
Code: Alles auswählen
Set $NTVersioninfo$ = GetMsVersionInfo
if not ( $NTVersioninfo$ >= "5.1" )
LogError "La version de Windows est trop ancienne."
isFatalError
endif
Code: Alles auswählen
(1800) [5] [Nov 06 13:24:14:384] [7zip] Set $NTVersioninfo$ = GetMsVersionInfo
(1801) [6] [Nov 06 13:24:14:384] [7zip] The value of the variable "$NTVersioninfo$" is now: "10.0"
(1802) [6] [Nov 06 13:24:14:384] [7zip] If
(1803) [5] [Nov 06 13:24:14:384] [7zip] $NTVersioninfo$ >= "5.1" <<< result false
(1804) [5] [Nov 06 13:24:14:384] [7zip] not ( $NTVersioninfo$ >= "5.1" ) <<< result true
(1805) [6] [Nov 06 13:24:14:384] [7zip] Then
(1806) [3] [Nov 06 13:24:14:384] [7zip] Error: La version de Windows est trop ancienne.
(1807) [5] [Nov 06 13:24:14:384] [7zip] Error level set to fatal
(1808) [5] [Nov 06 13:24:14:384] [7zip] Process aborted
Regards.