Relative Content

Tag Archive for install4j

please how to add an Url link to a downloadable component in install4j?

I am trying to configure a downloadable component in Install4j by associating a specific URL to it. The goal is to allow the installer to fetch the required file dynamically from the internet during installation. However, I am encountering difficulties in locating the exact option or field in Install4j where I can define or assign a URL for a downloadable component.

Automatic download of JRE

I would like to use install4j to download the JRE when its required. This reduces the size of the setup file drastically. Unfortunately, i can not host any JRE myself, so i thought i can provide something like https://corretto.aws/downloads/latest/amazon-corretto-22-x64-windows-jdk.msi but seems like that does not work, as they have some wierd requirement in naming the jre (platform-arch-…tar.gz or so). IIRC this was once possible, so the installer first downloaded an official .exe or .msi, installed that and when that was done without an error, the installer continued. Is this feature gone?
I am right now evaluating install4j, but for me this is a killer feature. If thats not possible, anyone familiar of an alternative that can do that?

Install4j PKCS11 library for macOS

I have purchased an EV code signing certificate to sign the windows installer created with Install4j. The certificate is installed on a hardware module. Im running Install4j 10 on macOS Sonoma and need to specify the PKCS #11 Library.

Can I insert runtime custom code in the install4j launcher?

In the install4j Launcher, I’d like to run a small snippet of custom code (like the Run Script Action) in order to set a CLASSPATH directory conditionally on a number of things (OS, the user launching the application, whether the directory exists), and add that directory to the Class path in the Java invocation of the Launcher.