Hans Leidekker : msi: Set the System64Folder property on 64-bit.

Alexandre Julliard julliard at winehq.org
Thu Sep 2 12:01:26 CDT 2010


Module: wine
Branch: master
Commit: d2f107472537bad5a9f9fd45d53e396c49991d75
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d2f107472537bad5a9f9fd45d53e396c49991d75

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Thu Sep  2 13:21:12 2010 +0200

msi: Set the System64Folder property on 64-bit.

---

 dlls/msi/package.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/package.c b/dlls/msi/package.c
index bb04ab0..aa0d1b5 100644
--- a/dlls/msi/package.c
+++ b/dlls/msi/package.c
@@ -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. */




More information about the wine-cvs mailing list