From 58beaf8c0e7641355f89c41f0ee7c816a0c39f42 Mon Sep 17 00:00:00 2001
From: Roman Dadkov <romand@etersoft.ru>
Date: Mon, 5 Mar 2012 21:05:43 +0400
Subject: [PATCH] msi: installation of MS Office 2003 (eterbug #7644)

---
 dlls/msi/custom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c
index 45ad1f5..192fdeb 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -1237,7 +1237,7 @@ static UINT HANDLE_CustomType50(MSIPACKAGE *package, LPCWSTR source,
 
     TRACE("executing exe %s\n", debugstr_w(cmd));
 
-    if (!(exe = msi_dup_property( package->db, source ))) return ERROR_SUCCESS;
+    if (!(exe = msi_dup_property( package, source ))) return ERROR_SUCCESS;
 
     rc = deformat_string( package, target, &arg );
     TRACE("exe %s arg %s\n", debugstr_w(exe), debugstr_w(arg));
-- 
1.7.8.4
