如何为具有外部依赖项的多语言程序创建 Windows 安装程序? [英] How to create a windows installer for multi language program with outside dependencies?
问题描述
我有一个软件,后端是 C/C++,前端是 Java.它有 gdal 等依赖项.
I have a software with back end in C/C++ and front end in Java. It has dependencies such as gdal.
我必须将整个软件打包为 windows msi 安装程序才能分发给用户.
I have to package this entire software as a windows msi installer to distribute it to users.
流程是什么?
推荐答案
这是一个很大的话题.它基本上是关于部署的一切,因此无法回答.但是,有几个指针:
This is a big topic. It is essentially everything about deployment, and is hence impossible to answer. However, a couple of pointers:
1)
选择部署工具(简洁).- 其他信息选项:更多详情.还有旧的东西,但很详细一>.
- 在您的情况下,这将是 Java 以及您依赖的其他任何东西.
- 商业部署工具可以帮助您部署此类先决条件,开源工具也可以,但不太自动".
您可能需要一个安装程序来安装您的后端组件,而另一个安装程序用于客户端安装.
You will probably need one installer for your back-end components and another setup for the client installation.
我不知道还能说什么.部署还有很多内容许多人期待什么.它很快就会变得非常复杂(部署的复杂性").
I don't know what else to say. There is a lot to deployment beyond what many expect. It can get very complicated quickly (section "The Complexity of Deployment").
这篇关于如何为具有外部依赖项的多语言程序创建 Windows 安装程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!