Replicating Visual Studio COM registration with a WiX Installer

后端 未结 4 695
被撕碎了的回忆
被撕碎了的回忆 2020-12-04 23:50

Once upon a time, a young, naive engineer thought it would be a good idea to separate out some of the functionality for his app into a COM component, written in C#. Visual

4条回答
  •  北海茫月
    2020-12-05 00:40

    You should use Heat (WIX 3.0) located in the bin directory of the version you are using. Have a look at this blog post, we use it here to register all our COM objects, by creating a wix fragment...

    something like

    heat file MyComExposedLibrary.dll -out MyComExposedLibrary.wxs
    

    After, reading your edit, I would create a basic msi with wix that installs the com object only, see if that works ... then you'll know which battlefield to attack ...

提交回复
热议问题