Commit 27a1a9a8 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Fix one more occurrence of overwriting verstr in set_installer_properties.

parent 930bf001
......@@ -869,8 +869,8 @@ static VOID set_installer_properties(MSIPACKAGE *package)
break;
case VER_PLATFORM_WIN32_NT:
msi_set_property( package->db, szVersionNT, verstr, len );
len = sprintfW( verstr, szFormat,OSVersion.wProductType );
msi_set_property( package->db, szMsiNTProductType, verstr, len );
len = sprintfW( bufstr, szFormat,OSVersion.wProductType );
msi_set_property( package->db, szMsiNTProductType, bufstr, len );
break;
}
len = sprintfW( bufstr, szFormat, OSVersion.dwBuildNumber );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment