msi: Set the System64Folder property on 64-bit.

This commit is contained in:
Hans Leidekker 2010-09-02 13:21:12 +02:00 committed by Alexandre Julliard
parent 3730300a29
commit d2f1074725
1 changed files with 4 additions and 0 deletions

View File

@ -686,6 +686,7 @@ static VOID set_installer_properties(MSIPACKAGE *package)
static const WCHAR szIntel[] = { 'I','n','t','e','l',0 };
static const WCHAR szMsiAMD64[] = { 'M','s','i','A','M','D','6','4',0 };
static const WCHAR szMsix64[] = { 'M','s','i','x','6','4',0 };
static const WCHAR szSystem64Folder[] = { 'S','y','s','t','e','m','6','4','F','o','l','d','e','r',0 };
static const WCHAR szUserInfo[] = {
'S','O','F','T','W','A','R','E','\\',
'M','i','c','r','o','s','o','f','t','\\',
@ -852,6 +853,9 @@ static VOID set_installer_properties(MSIPACKAGE *package)
sprintfW( bufstr, szIntFormat, sys_info.wProcessorLevel );
msi_set_property( package->db, szMsiAMD64, bufstr );
msi_set_property( package->db, szMsix64, bufstr );
GetSystemDirectoryW( pth, MAX_PATH );
msi_set_property( package->db, szSystem64Folder, pth );
}
/* Screen properties. */