
qktechltd1.5524912965308706E12 asked a question.
Error 1904, the dll failed to register
A dll program can be installed on a computer where it was compiled without any problem. If the setup.exe generated by InstallShield is copied and executed on another computer, the following error occurs during the installation: Error 1904. Module C:\Program Files\My Company Name\My Product Name\plugins\SampleIME.dll failed to register. HRESULT -2147220473
I need to test whether setup.exe can be installed by other users on their computers.
On both computers I have Windows 8.1 32bit with latest updates. The program was compiled in the Visual Studio Community 2013. I generated setup.exe with InstallShield Express and also with InstallShield Limited Edition. The registration type: self-registration. The program was installed as a administrator.
To recreate this issue you can use the sample code https://code.msdn.microsoft.com/windowsdesktop/Input-Method-Editor-IME-b1610980 which has also step by step instructions.
Thanks for any help.