- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- self-registration error "did not self-register or unregister"
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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