1,524 questions
Best practices
0
votes
1
replies
15
views
Substitute variables in pre-install scripts in install4J
I'm looking for a possibility to substitute the installdir variable in a pre-install script in install4J (for deb packages). This is to remove old entries that are not cleaned up by uninstallation ...
1
vote
1
answer
48
views
Can install4j install native images as services including install4j update features
Does anyone know if install4j can install native images as a services without external service wrappers such as WinSW?
My current version 9.0.7. I cannot use the launcher with executable type service, ...
1
vote
1
answer
33
views
install4j - how check for minimum operating system version
I'm running install4J version 11. I have an application that requires macOS to have a mimic operating system version of 15.0 (Sequoia). Is there a way in the installation wizard to enforce a minimum ...
4
votes
3
answers
239
views
Install4J v8 PKCS#11 Code Signing with Google Cloud KMS (libkmsp11.so) - Certificate Not Found
As a long-time user of Install4J, I appreciate its robust, direct implementation of code signing since version 5.1, which leverages open standards and eliminates the need for external tools like ...
1
vote
1
answer
40
views
Install4J rpm -> adjust "release" field in spec file?
We currently try to move all distributions (rpm, deb, exe) to install4j.
When I query the detailed info on the package (using rpm -qip mypackage.rpm), I get this output:
Name: myapp
Version: 1.0.0
...
1
vote
1
answer
27
views
How to configure Install4j to log action names
Is there a way to configure Install4j to log out action names instead of just the action ID in its log file?
Currently the actions are logged out as:
[INFO] com.install4j.runtime.beans.actions.control....
2
votes
1
answer
51
views
Skip "Running Process Detected" check when executing previous uninstaller
I'm using Install4j to build an installer for a Java application.
There is currently logic in the uninstaller to properly close the application process. As part of the Installation actions the ...
0
votes
0
answers
81
views
Install4j - generated executable after installing my app fails because of missing class
I am trying to create an installer for my Java 17 / Spring Boot 2.7.17 / Maven application.
I have managed to make it work for some time, the installer worked as expected and my app was being launched ...
1
vote
1
answer
46
views
ERROR StatusLogger Message when building Install4j-Setup Version 11.0.3 in Maven Build
We are building the Install4j by using the following maven plugin
<groupId>com.install4j</groupId>
<artifactId>install4j-maven</artifactId>
<version>11.0.3</version>...
1
vote
1
answer
29
views
How can I avoid rate limits for downloading jdks when compiling install4j installers as part of a CI build?
The CI build is using a persistent kubernetes pod, which in turn is using a custom docker image.
Ideas I have:
trigger jdk download during docker image generation and then during CI build disable jdk ...
1
vote
1
answer
39
views
How do I execute an Install Action Script as System Account in windows?
I am trying to access microsoft's Key Storage Provider interface as the System Account during install, as this is what will be used at runtime.
Yet the installer doesn't appear to elevate to that ...
1
vote
1
answer
34
views
install4j: Custom Application to run a newer installer?
Looking for pointers on how to run an Install4J installer from my application to upgrade it. The existing upgrade.xml mechanism doesn't fit well with my application.
I think I need to create a custom ...
2
votes
1
answer
73
views
How to correctly specify --add-opens in install4j included VM-options files?
These options can be written with or without an equals-sign.
--add-opens module/package=target-module
--add-opens=module/package=target-module
Only the version with 2 equals-signs seems to work when ...
0
votes
0
answers
114
views
Install4j on Windows 10: Missing .install4j/files.log When Running Nested Installer in Silent Mode (Uninstall Issues)
I am using Install4j on Windows 10 to run another Install4j installer in silent mode using the RunExecutableAction. However, when I do not elevate privileges for the imbedded installer, the ...
2
votes
1
answer
38
views
Specify UpgradeCode(s) for an MSI created via Install4j
For our project we use Install4j for our installers. We used to use Wix to package an MSI too, but we recently migrated that to use the Install4j MSI wrapper to fix some issues with users ...