cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ericksbr
Level 2

self-registration error "did not self-register or unregister"

Jump to solution

System:

  • Install Shield 2016
  • Windows 10
  • Installing as administrator.

I get the following error:

icImage "did not self-register or unregister"
self registration error
error code 0x0

icImage.dll is an internally developed dll. icImage is tagged as SelfRegFiles (in install shield). The application works and call the functions in the dll.

Need help in diagnosing the problem.

Labels (1)
0 Kudos
(1) Solution
ericksbr
Level 2

I ran the command: (as administrator)

regsvr32 /i icImage.dll

Got a error code 0x80070005, couldn't find DllRegisterServer.

I resolved the issue DllRegisterServer issue, the install ran just fine.

I'm not certain why DllRegisterServer was not exposed in the dll.

The def file has not changed since project was created (1999).

The problem seems to be solved.

Thanks for the help

View solution in original post

0 Kudos
(2) Replies
shunt
Revenera Moderator Revenera Moderator
Revenera Moderator

We can remove Installshield from this process to see if the issue is with the file or the installer itself.
On the machine you are testing the installation on, are you able to manually register the iclmage.dll via a command prompt using regsvr32?

File registrations can fail if there are missing file dependencies, so make sure that the .dll has access to any dependant files if there are any.

You mentioned that you are Installing as Administrator - try this approach by building a setup.exe installer, right clicking the setup.exe and selecting run as administrator.

Finally, rather than having the file register during the Installation process, the best practice is to extract the COM data during the build process so the registry data is already present in the MSI tables. This creates a more robust installation - take a look at the Installshield setting "COM Extract at Build" which is explained in more detail here:
https://docs.revenera.com/installshield27helplib/helplibrary/ExtractingCOMServer.htm

Hope this helps,
Stuart

0 Kudos
ericksbr
Level 2

I ran the command: (as administrator)

regsvr32 /i icImage.dll

Got a error code 0x80070005, couldn't find DllRegisterServer.

I resolved the issue DllRegisterServer issue, the install ran just fine.

I'm not certain why DllRegisterServer was not exposed in the dll.

The def file has not changed since project was created (1999).

The problem seems to be solved.

Thanks for the help

0 Kudos