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

Problem with registering COM components


6 replies to this topic

anthonyh

anthonyh
  • Full Members
  • 93 posts

Posted 29 January 2003 - 22:07

I've created a project that contains a couple com dll's and I've set them to extract the information at build time.  The problem I'm having is that not all of the information is being extracted.  I've run RegSpyUI.exe and it displays everything, but I can't find all of it in the project.  The one dll that I'm working with has three interfaces, only 2 are showing up in the msi.

  Has anyone else had this problem and know how to fix it?! I would rather not set the file to be self-registered.



Anthony
Product Availability Developer
Avantis
Invensys Process Systems

Using InstallShield Developer 7.04 - Basic Project

tsauerbeck

tsauerbeck
  • Members
  • 28 posts

Posted 30 January 2003 - 10:36

We are having similiar problems, but we haven't found a solution either. Interestingly, it only occurs in COM DLLs made with VC 6. OCX files and DLLs made with VB6 are allright.

anthonyh

anthonyh
  • Full Members
  • 93 posts

Posted 30 January 2003 - 14:40

Actually, my dll's have been created by VB6. Haven't used Windows Installer yet with our .ocx.  But I will keep an eye on it.



Anthony
Product Availability Developer
Avantis
Invensys Process Systems

Using InstallShield Developer 7.04 - Basic Project

tsauerbeck

tsauerbeck
  • Members
  • 28 posts

Posted 31 January 2003 - 08:43

We just found out why COM extraction failed:
The files were packed using "UPX". If you unpack them, COM extraction is working fine.

anthonyh

anthonyh
  • Full Members
  • 93 posts

Posted 31 January 2003 - 15:22

How did you go about unpacking them?



Anthony
Product Availability Developer
Avantis
Invensys Process Systems

Using InstallShield Developer 7.04 - Basic Project

tsauerbeck

tsauerbeck
  • Members
  • 28 posts

Posted 04 February 2003 - 10:33

I simply ran "upx -d some.dll" (note that this won't change the file date).

anthonyh

anthonyh
  • Full Members
  • 93 posts

Posted 04 February 2003 - 15:08

Unfortunately that wasn't it.  Upx won't unpack my dll.




Anthony
Product Availability Developer
Avantis
Invensys Process Systems

Using InstallShield Developer 7.04 - Basic Project