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

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -