I at times get this error during installation MSI error code 1904 and HRESULT 2147221164,failed to register dll.
I need to reproduce the problem but I do not get it always...Kindly let me know the possible ways as to why this could have happened.
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


ALmost always, these errors are due to either the account being used having insufficient permissions to write to the registry or, more likely, that the DLL is dependent on other files which are absent. Use Dependency Walker to identify all the files on which the DLL in question is dependent.

Less common are attempts to register files before they've been installed, probably by sequencing a Custom Action incorrectly. In that case, abandon using the CA (the lazy way to register DLLs) and use your auhtoring tool's utility to extract the COM information to a .REG file, import that and have the tool populate the advertising tables.
Answered 05/19/2008 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity