Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

self registration error


2 replies to this topic

kavitha

kavitha
  • Members
  • 7 posts

Posted 22 January 2002 - 08:08

If I copy a Dll  from support directory during installation
through xcopyfile function with selfregister option,IS is not registering it and gives self registration error.
Any solutions or suggestions?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 January 2002 - 15:05

Probably some dependency is missing.

clvrmnky

clvrmnky
  • Members
  • 27 posts

Posted 31 January 2002 - 04:44

Get some kind of dependency checker or DLL tool that allows you to look at the symbols in the DLL.  If you do not see "DllRegisterServer", it likely cannot be self-registered.

Note that the IS docs also say:

"Always use SELFREGISTER together with the SHAREDFILE option, combining them with the bitwise OR operator ( | )."

My advice is to try the XCopyFile() without the  SELFREGISTER bitflag (just SHAREDFILE).  You shouldn't need dependent DLLs around to just register a DLL.

Generally, if you can't get the DLL to register with regsvr32.exe, it isn't self-registering.