ERROR FUNCTON NOT CALLED 1626 The function could not be executed
![qa-featured](https://www.techyv.com/sites/default/users/superadmin/qa-featured-300x270.png)
ERROR FUNCTON NOT CALLED 1626 The function could not be executed.
We have an InstallScript MSI project with a custom action that calls managed code from a selected dll. If calling the custom action using MsiDoAction within the OnResumeUIBefore event we get return code 1626 and I believe this is ERROR_FUNCTION_NOT_ CALLED: Function could not be executed.
This follows on an upgrade. Doing the same custom action still using MsiDoAction but during a new install and from OnFirstUIBefore event we get a successful return value ERROR_SUCCESS.
What is different between these two calls?
![](https://techyv.com/sites/default/2016/10/techpedia_logo.png)