msi: Add the Session object as a global member to custom action scripts.

This commit is contained in:
Hans Leidekker 2012-05-01 12:38:52 +02:00 committed by Alexandre Julliard
parent 52738e4f93
commit c3e3c81bfb
1 changed files with 1 additions and 1 deletions

View File

@ -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 */