msi: Remove a workaround for missing Windows Script interfaces.
This commit is contained in:
parent
0c1bd482b5
commit
52738e4f93
|
@ -88,10 +88,7 @@ DWORD call_script(MSIHANDLE hPackage, INT type, LPCWSTR script, LPCWSTR function
|
||||||
DISPID dispid;
|
DISPID dispid;
|
||||||
CLSID clsid;
|
CLSID clsid;
|
||||||
VARIANT var;
|
VARIANT var;
|
||||||
|
DWORD ret = ERROR_INSTALL_FAILURE;
|
||||||
/* Return success by default (if Windows Script not installed) - not native behavior. This
|
|
||||||
* should be here until we implement wine scripting. */
|
|
||||||
DWORD ret = ERROR_SUCCESS;
|
|
||||||
|
|
||||||
CoInitialize(NULL);
|
CoInitialize(NULL);
|
||||||
|
|
||||||
|
@ -126,9 +123,6 @@ DWORD call_script(MSIHANDLE hPackage, INT type, LPCWSTR script, LPCWSTR function
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If we got this far, Windows Script is installed, so don't return success by default anymore */
|
|
||||||
ret = ERROR_INSTALL_FAILURE;
|
|
||||||
|
|
||||||
/* Get the IActiveScriptParse engine interface */
|
/* Get the IActiveScriptParse engine interface */
|
||||||
hr = IActiveScript_QueryInterface(pActiveScript, &IID_IActiveScriptParse, (void **)&pActiveScriptParse);
|
hr = IActiveScript_QueryInterface(pActiveScript, &IID_IActiveScriptParse, (void **)&pActiveScriptParse);
|
||||||
if (FAILED(hr)) goto done;
|
if (FAILED(hr)) goto done;
|
||||||
|
|
Loading…
Reference in New Issue