How to create a windows installer for multi language program with outside dependencies?

后端 未结 1 1393
南笙
南笙 2021-01-17 06:08

I have a software with back end in C/C++ and front end in Java. It has dependencies such as gdal.

I have to package this entire software as a windows msi installer t

相关标签:
1条回答
  • 2021-01-17 06:21

    This is a big topic. It is essentially everything about deployment, and is hence impossible to answer. However, a couple of pointers:

    • 1) Pick a deployment tool (terse).
      • Other options for info: More details. And older stuff, but detailed.
    • 2) Determine what runtime prerequisites you need for your application.
      • In your case that would be Java and whatever else you depend upon.
      • Commercial deployment tools will have ways to help you deploy such prerequisites, as will the open source ones but less "automatically".
    • 3) Add the files for your own solution and install to a folder specific to your company and product %ProgramFiles%\MyCompany\MyApp\MyVersion.
    • 4) Test on all applicable platforms making sure to involve as many testers as possible (who are told and shown what to test). Use virtuals for clean testing.

    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").

    0 讨论(0)
提交回复
热议问题