How to convert java application with process in background to installer?

34 Views Asked by At

I am working on a screen time monitoring app in java.

Here are my classes

  • 'MainStart' class is a background process that tracks usage time.
  • 'Stage1' class is a GUI app for reading data and showing it in charts.

I want to pack this project into installer and let users download it from website. The 'MainStart' class must be run together with computer and work in background constantly. For the 'Stage1' class I would like to create a desktop shortcut. How can I do that?

After the installation, I want the program to work exactly the same as it works when I run the 'MainStart' class and then 'Stage1' class to see data. (User uses only the 'Stage1' class. The rest is automatic).

I've tried playing with NSIS but I have no idea how to create the .nsi scripts. It seems to require a few weeks of learning. I just want to quickly deploy my app with no extra weeks spent on learning NSIS scripts. Is there any way to do that?

0

There are 0 best solutions below