Register a COM object using InstallShield

*爱你&永不变心* 提交于 2019-12-19 00:57:51

问题


I am using InstallShield 2011. I have a COM object that needs registered during installation. I cant seem to find anywhere where it instructs you on how to do this. Does anyone have any ideas?

Thanks

EDIT:


回答1:


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.




回答2:


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




回答3:


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.


来源:https://stackoverflow.com/questions/5665068/register-a-com-object-using-installshield

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!