HRESULT Values for Windows Installer Run-time Errors

InstallShield 2019

ISRegSrv.dll is the InstallShield DLL that is called from custom actions to register and unregister self-registering files on the target system. The DLL displays the Windows Installer run-time error 1904 or 1905 when it fails for particular reasons.

1904: Module [2] failed to register. HRESULT [3].
1905: Module [2] failed to unregister. HRESULT [3].

[3] could be one of InstallShield’s custom HRESULTs.

HRESULT Values for Windows Installer Run-time Errors

HRESULT

Description

-2147220475

Invalid file extension as a self-register file.

-2147220474

Executable file extension, but not actually an executable.

-2147220473

Generic registration failure.

-2147220472

Generic unregistration failure.

See Also