I am developing an application that will be rolled out to Windows computers. Because my clients have very little computer knowledge the installation and update need to be as easy as possible. I want the installation to be the only manual step, updates should be done automatically.
Installation will be done via Installshield or more likely by one of its open source clones. The installer will install these components:
- a Java runtime (Oracle JRE) as a kind of portable app (that means by simply copying the contained files and not using the provided installer)
- Apache Commons Daemon to install my application as a Windows service
- the application itself in the shape of several JARs created with Spring Boot
When one of those components changes I want to update them automatically and as silently as possible. The application will be able to determine if updates are available on the web and download them.
What options do I have to achieve this ? Java Webstart is in my eyes not a good solution - for example it does not enable me to update the runtime. Providing an update installer will need user interaction and perhaps even administrative rights so it wil not run silently.
The proposed link below does not fit my problem because I use a daemon which needs to be updated during runtime and neither of the given solutions in the linked post supports that.