使用 InstallShield 注册 COM 对象 [英] Register a COM object using InstallShield
问题描述
我正在使用 InstallShield 2011.我有一个需要在安装期间注册的 COM 对象.我似乎找不到任何地方可以指导您如何执行此操作.有人有什么想法吗?
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?
谢谢
推荐答案
创建一个组件并将您的 COM dll/ocx 添加到其中,并在需要时右键单击它以将其标记为密钥文件.然后右键单击该文件并选择Extract COM".当它收集各种注册表项时,您应该会看到一堆进度消息.构建您的安装程序并在干净的机器上对其进行测试.
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.
这篇关于使用 InstallShield 注册 COM 对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!