Use wix to perform function of REGSVR32

好久不见. 提交于 2019-12-24 14:50:29

问题


I'm new to wix and trying make an installer for a few dlls. One of the tasks that has been done manually in the past is to use REGSVR32 to register the com objects.

I assume that RegisterClassInfo in wix will perform this function, but I've been uanable to find example code that shows the correct syntax. I'd appreciate it if someone would point me to a good example or post it here as an answer.


回答1:


I assume you are using wix v3.5 from the question's tag.

Basically, use the harvest tool (heat.exe).

The online documentation for it is here: http://wix.sourceforge.net/manual-wix3/heat.htm

The wix download also includes offline documentation in WiX.chm.

A tutorial for it is here: http://wix.tramontana.co.hu/tutorial/com-expression-syntax-miscellanea/components-of-a-different-color



来源:https://stackoverflow.com/questions/8526954/use-wix-to-perform-function-of-regsvr32

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