简体   繁体   English

在MAC OS上安装WIX工具集并创建MSI

[英]Install WIX Toolset On MAC OS And Create MSI

I have a WIX project and I can create an MSI for the project on windows system. 我有一个WIX项目,我可以在Windows系统上为该项目创建一个MSI。

But, is there a way to create the MSI using WIX on MAC [Install WIX on MAC]. 但是,有没有办法在MAC上使用WIX创建MSI [在MAC上安装WIX]。 I know MSI's work on windows. 我知道MSI在windows上的工作。 I just need my MAC to create an MSI So, I can later use it on windows. 我只需要我的MAC来创建一个MSI所以,我以后可以在Windows上使用它。

When I tried to do "dotnet msbuild" on my MAC, I get "SampleApp.wixproj: error: Wix toolset build tools need's to be installed". 当我尝试在我的MAC上执行“dotnet msbuild”时,我得到"SampleApp.wixproj: error: Wix toolset build tools need's to be installed".

I have tried working with docker to create the MSI with WIX, but I get few unknown symbol reference errors. 我尝试使用docker来创建带有WIX的MSI,但是我得到了一些unknown symbol引用错误。

No, WiX doesn't work on a Mac. 不,WiX无法在Mac上运行。

While the components based on .NET could also work using mono (and therefore, mono's msbuild), important build steps rely on native windows windows functionality used via .NETs native interop - this involves libraries such as msi.dll , cabinet.dll etc. 虽然基于.NET的组件也可以使用单工作(因此,单声道的MSBuild的),重要的构建步骤依靠通过.NETs本地互操作使用本机Windows窗口的功能-这涉及到库,如msi.dllcabinet.dll等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM