Type File Question with MSI Editor

I have captured an installation of an app that we use at work. When install the captured MSi i get a "could not register type library file..."
on a AF20.dll under common files\ESRI folder.

suggestions online say to change the file so it doesn't register. I am unable to find that option with MSI Editor.

Any suggestions?

3 Comments   [ + ] Show comments
  • Avoid morons that advise you to not register type libraries. Clearly, they know nothing.

    Create a Custom Action to execute RegTLib.EXE which you can download - I believe - as part of the Platform SDK (or whatever Microsoft is calling it this week). - anonymous_9363 9 years ago
  • Capture is not 100% reliable and as the type library has the DLL extension rather than the TLB extension, the registration method that windows installer uses is that provided by REGSVR32.exe, and usually via the selfreg table. Unfortunately, type libraries do not have a recognisable entry point for normal DLL registration to work, so having received this error message, you need to first turn off the self registration and then test whether the AF20.DLL file can be correctly registered using RegTLib.exe. Looking on my Win 7 machine, there is an instance of RegTLibV12.exe installed as part of the .NET4 framework. - EdT 9 years ago
  • Thanks for the suggestions guys. I will be trying them out this week. I will Keep you posted. - Dljschneider 8 years ago

Answers (2)

Posted by: EdT 9 years ago
Red Belt
Did you try the selfreg table?
Posted by: pace-support 8 years ago
10th Degree Black Belt
Thank you for your interest in PACE Suite and for your questions!

It is a well-known problem of Windows Installer. According to MSDN it is strongly advised against using the TypeLib table. Please, register type libraries using the Registry table.
Launch MSI Generator and go to Settings. Select your profile at MSI Creation Options and click Edit as shown on the screenshot:

Select Registry and uncheck the TypeLib checkbox:

Click the Save button and then re-build your package:

Inform us if it does not work for you.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ