From b6228b299ca2639d98f6d0a0664e8a9f71b801ee Mon Sep 17 00:00:00 2001 From: winesync Date: Sun, 13 Mar 2022 21:40:10 +0100 Subject: [PATCH] [WINESYNC] msi/tests: Test the "VersionNT" property. Signed-off-by: Zebediah Figura Signed-off-by: Hans Leidekker Signed-off-by: Alexandre Julliard wine commit id 990fc66274d68b915df62005ab93792129612fc1 by Zebediah Figura --- modules/rostests/winetests/msi/package.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/rostests/winetests/msi/package.c b/modules/rostests/winetests/msi/package.c index f8bf431883b..3b98d9ef111 100644 --- a/modules/rostests/winetests/msi/package.c +++ b/modules/rostests/winetests/msi/package.c @@ -5735,6 +5735,9 @@ static void test_installprops(void) GetNativeSystemInfo(&si); + sprintf(buf, "%d", LOBYTE(LOWORD(GetVersion())) * 100 + HIBYTE(LOWORD(GetVersion()))); + check_prop(hpkg, "VersionNT", buf, 1); + if (S(U(si)).wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64) { sprintf(buf, "%d", si.wProcessorLevel);