Hans Leidekker : msi: Add the Session object as a global member to custom action scripts.
Alexandre Julliard
julliard at winehq.org
Tue May 1 13:12:13 CDT 2012
Module: wine
Branch: master
Commit: c3e3c81bfb661e02f497667d91bfa9867683e491
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c3e3c81bfb661e02f497667d91bfa9867683e491
Author: Hans Leidekker <hans at codeweavers.com>
Date: Tue May 1 12:38:52 2012 +0200
msi: Add the Session object as a global member to custom action scripts.
---
dlls/msi/script.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/script.c b/dlls/msi/script.c
index e157c6d..236b60b 100644
--- a/dlls/msi/script.c
+++ b/dlls/msi/script.c
@@ -136,7 +136,7 @@ DWORD call_script(MSIHANDLE hPackage, INT type, LPCWSTR script, LPCWSTR function
if (FAILED(hr)) goto done;
/* Add the session object */
- hr = IActiveScript_AddNamedItem(pActiveScript, szSession, SCRIPTITEM_ISVISIBLE);
+ hr = IActiveScript_AddNamedItem(pActiveScript, szSession, SCRIPTITEM_GLOBALMEMBERS);
if (FAILED(hr)) goto done;
/* Pass the script to the engine */
More information about the wine-cvs
mailing list