问题
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