windows installer - MsiDatabaseOpenView returns 6 (ERROR_INVALID_HANDLE) -
i have basic msi project in installshield 2013. trying dynamically insert items in combobox using installscript custom action. stuck before inserting items.
when try open view error_invalid_handle. appreciate advice on missing.
function func(hmsi) hwnd hdatabase; hwnd hviewlist; begin hdatabase = msigetactivedatabase(hmsi); msidatabaseopenview(hdatabase, "select * `combobox` `property`='prop'", hviewlist); end;
msidatabaseopenview keeps returning 6 (error_invalid_handle) when use either hdatabase or hmsi first parameter.
Comments
Post a Comment