Register a COM object using InstallShield

2019-02-12 23:11发布

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: enter image description here

3条回答
2楼-- · 2019-02-12 23:26

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.

查看更多
男人必须洒脱
3楼-- · 2019-02-12 23:32

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.
查看更多
不美不萌又怎样
4楼-- · 2019-02-12 23:37

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

查看更多
登录 后发表回答