Skip to content
Snippets Groups Projects
Commit c3e3c81b authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard
Browse files

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

parent 52738e4f
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment