This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- COM, DLL, GAC and TLB
Subscribe
- 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
‎Nov 26, 2012
04:52 AM
COM, DLL, GAC and TLB
I have a DLL with COM interfaces that isn't self registering. Its TLB file is used as a reference in Excel. At the moment in InstallShield I have one component to put the DLL in the working folder, one to put the DLL in the GAC and one to put the TLB file in the working folder with a COM Registration property set to its GUID. This all works fine for 32-bit installations but not x64.
In the help notes for COM Registration it says using the Typelib Table is deprecated, but I can't see any other way of doing it. Using the Component Wizard for the DLL doesn't create the correct registration for the Typelib and the Excel Reference seems to need the TLB file.
Any thoughts?
In the help notes for COM Registration it says using the Typelib Table is deprecated, but I can't see any other way of doing it. Using the Component Wizard for the DLL doesn't create the correct registration for the Typelib and the Excel Reference seems to need the TLB file.
Any thoughts?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 27, 2012
10:24 AM
You might want to try using InstallShield self-registration (ISSelfReg) to register your TLB file. To install 64-bit type library, select Yes for the 64-Bit Component setting of the component that is associated with the file.
For more information, see Self-Registration Methods and Targeting 64-Bit Operating Systems.
For more information, see Self-Registration Methods and Targeting 64-Bit Operating Systems.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 28, 2012
06:30 AM
The DLL is not self-registering. Somehow InstallShield registers it correctly for 32bit installation but not for a 64bit platform.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 30, 2012
03:46 AM
I've managed to get this working now. But every time the dll is revised I have to delete the component for the TLB file and recreate it.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)