From 7efbed599b9eaae06dd26328a9de8519bd65ee0f Mon Sep 17 00:00:00 2001 From: Misha Koshelev Date: Sat, 3 Mar 2007 16:43:08 -0600 Subject: msi: automation: Implement Session::SetInstallLevel. --- dlls/msi/automation.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/dlls/msi/automation.c b/dlls/msi/automation.c index 98ddfb7..c8b7a93 100644 --- a/dlls/msi/automation.c +++ b/dlls/msi/automation.c @@ -893,6 +893,16 @@ HRESULT WINAPI SessionImpl_Invoke( } break; + case DISPID_SESSION_SETINSTALLLEVEL: + hr = DispGetParam(pDispParams, 0, VT_I4, &varg0, puArgErr); + if (FAILED(hr)) return hr; + if ((ret = MsiSetInstallLevel(This->msiHandle, V_I4(&varg0))) != ERROR_SUCCESS) + { + ERR("MsiSetInstallLevel returned %d\n", ret); + return DISP_E_EXCEPTION; + } + break; + case DISPID_SESSION_FEATURECURRENTSTATE: if (wFlags & DISPATCH_PROPERTYGET) { hr = DispGetParam(pDispParams, 0, VT_BSTR, &varg0, puArgErr); -- 1.4.1