Register a COM object using InstallShield

浪子不回头ぞ 提交于 2019-11-30 19:31:14

Create a component and add your COM dll/ocx to it and right click it to mark it as key file if needed. Then right click the file and select "Extract COM". You should see a bunch of progress messages as it harvests the various registry entries. Build your installer and test it on a clean machine.

Please see Rod Maupin's blog《COM Extraction/Registration in an InstallShield Project》 http://www.installationdeveloper.com/3028/com-extractionregistration-in-an-installshield-project/

Indi

There is a manual method of registering COM described here. It also shows a method, which is not recommended, to register automatically during build.

(Google for "Configuring COM Registration Settings Manually" if the link stops working).

EDIT:

  • The link has indeed stopped working - it seems Installshield's knowledge base is now login only. What a shame.
  • Adding a link to Flexera's (Installshield owner) helpnet home page: http://helpnet.flexerasoftware.com/. Click on the "Help Libraries" links in the left column for online help (nice looking stuff that looks like it is made with RoboHelp).
  • Might as well add a direct link to a similar topic: Configuring COM Registration Settings Manually.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!