Generate MSI Code for Java

We have written a bunch of Java code and need to package this code in MSI so that we can deploy it on custom Windows machines. MSI must:

  • Install our class files in the appropriate place
  • He should also add the task to the Windows Task Scheduler.

I watched http://www.advancedinstaller.com/ . This is apparently the perfect tool for my case, except that it doesn't allow you to add scheduled tasks to MSI. I will have to buy their license in order to use this feature, which does not fit into our scheme of things.

http://nsis.sourceforge.net is free and looks good, but has a steep learning curve.

How do people usually achieve this? Obviously, not everyone will buy this tool. What are the other options? Are there any other open / open source tools ?.

+4
source share
2 answers

I believe that the Advanced Installer guys, as you know, offer discounts for such cases, try contacting them by email.

As for NSIS, it depends on how much effort you are willing to put into maintenance. There is also WiX from the same category. Also a steep learning curve.

Installer sets, as a rule, you edit once a month or every new version of your product. I find that between these periods I tend to forget things, so the intuitive and easy to use editor certainly helps, and the free tools are not really known.

+3
source

One of the advantages of NSIS is that it has a wiki that covers most of the basic and some additional topics that are required for the language. It's powerful enough, but EddieBytes is right about the learning curve.

I started using it for my package and installing the application some time ago. It took a bit to move, but as soon as I did, it became my preference.

Here is the nisis wiki

0
source

Source: https://habr.com/ru/post/1383634/


All Articles