在Wine中建立MSI [英] Build MSI in Wine

查看:253
本文介绍了在Wine中建立MSI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

希望这仍然是StackOverflow的话题.

Hoping this is still on-topic for StackOverflow.

我正在Linux机器上进行所有开发,但是代码将同时在Linux和Windows机器上运行.

I'm doing all my development on a Linux machine, but the code will be run by both Linux and Windows machines.

我想用Linux编译代码,为此我有mingw-32和mingw-w64.

I'd like to use Linux to compile the code, and I have mingw-32 and mingw-w64 for that.

但是我想将生成的可执行文件打包到一个不错的MSI安装文件中.是否可以使用Linux中的实用程序或在Wine上运行的工具来做到这一点?

But I'd like to package the resulting executables into a nice MSI installation file. Is it possible to do this using utilities in Linux or running under Wine?

谢谢!

推荐答案

您可以结合使用Wine,Mono和WiX在Linux上创建.msi软件包.

You can use a combination of Wine, Mono and WiX to create .msi packages on Linux.

对于openSUSE,我创建了一个名为wixwine的包装程序包,该程序包可从Windows Installer XML(WiX)工具集中为您提供"candle"和"light"命令,准备在Linux上使用.

For openSUSE, I have created a wrapper package called wixwine which gives you the 'candle' and 'light' commands from the Windows Installer XML (WiX) toolset ready to use on Linux.

您可以在此处找到我的wixwine软件包

You can find my wixwine package here

这篇关于在Wine中建立MSI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆