Questions tagged [install4j]

install4j is a multi-platform installer builder for Java-based applications. It is developed by ej-technologies GmbH.

1458 questions
3
votes
1 answer

install4j - How to set Compiler Variables programmatically?

I know Installer Variables can be set programmatically. But, I see no setCompilerVariables() method .... I want to change which component to install based on user selection.
Aragorn
  • 353
  • 1
  • 4
  • 15
3
votes
1 answer

How to use registry actions

Does anybody know how to use the read from or write to Windows Registry actions? All I get are failures when trying. An example would be trying to read from HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit the CurrentVersion key, which I…
user1058410
  • 135
  • 1
  • 9
3
votes
1 answer

How to change Required Disk space in install4j

I would appreciate if anyone can help me with this I am using install4j to create executable file, I need 2Gb of minimum space required , you can put this check ?. I also want to check that machine should have 1.6X version of JDK installed, else I…
Sanjay
  • 31
  • 1
3
votes
2 answers

How to read properties file in Install4j - example appreciated

I have a properties file that basically looks like this: version.major=2 version.minor=1 version.revision=3 And am trying to read in all 3 pieces of information using the "Read a properties file" action. The information area says the following of…
user2947084
  • 97
  • 1
  • 6
3
votes
1 answer

Exception in Install4j when creating an 32 bit Installer with bundled JRE

Using Apache ANT I create a JRE bundle of a 32 bit JRE 1.8.202 using createbundle.exe:
s.priess
  • 41
  • 3
3
votes
1 answer

How to detect windows proxy settings after install4j v9.0

In our install4j installed application we use HttpClient (Apache) with "useSystemProperties" to perform http requests. Up until v9.0 of install4j that meant windows proxy settings were automatically applied. However, since 9.0.4 this no longer works…
fassen
  • 237
  • 2
  • 10
3
votes
1 answer

Point application to non-embedded JRE after installation

Is there a way to point the application to a different JRE after installation? The application installed and created a i4j_jres folder for its embedded java. does this program allow for it to have a different java location without needing to specify…
3
votes
1 answer

What are possible ways to modify or customize an installer after it was built and signed?

We would like to brand a piece of software based on which customer's website it is downloaded from. E.g. by showing the customer's logo etc. All we need is an ID, the software can handle the rest of the customization at runtime based on that. The…
Reto Höhener
  • 5,419
  • 4
  • 39
  • 79
3
votes
1 answer

does install4j updater support multi delivery channels (stable / beta / nightly)?

I am using install4j to package my java application. I distribute installers for all platforms along portable archives. So far, I have been using a self-developed update mechanism which has some limitations mostly related to permission rights. I am…
akasolace
  • 572
  • 1
  • 5
  • 17
3
votes
1 answer

Install4J variable not expanded in the vmoptions file

I'm using Install4J 5.0.8 Under 'Launcher' --> '5. VM options file' --> 'Generate with the following contents' Some of the variables are expanded after install (such as my 'Compiler variables'), but the ${installer:sys.contentDir} remains…
Paul Allen
  • 33
  • 3
3
votes
2 answers

How to bundle javafx with the JRE 14 in install4J?

This question was answered here but at a time when JavaFx was integrated with the JRE. Things are different for the JRE14.
seinecle
  • 10,118
  • 14
  • 61
  • 120
3
votes
0 answers

Install4j cannot find Java runtime environment after un-bundling JRE

Lately, we changed our Install4j installation mechanize in that we won't bundle an inner JRE anymore, but the customer has to supply a link to it. When he do so, we take the supplied path and define a new custom environment variable to it. Actions…
Nimrod
  • 1,100
  • 1
  • 11
  • 27
3
votes
0 answers

Non-modular java with javafx 13: install4j VM arguments

Install4J VM parameters for JAVAFX seem to not pass to the JVM With a non-modularized application which depends on JAVAFX the suggested approach is adding "--module-path ${PATH_TO_FX} --add-modules ALL-MODULE-PATH" or specific modules to the java…
BRM
  • 76
  • 1
  • 2
3
votes
0 answers

Install4j: can I run linux service with different user?

I have an Install4j installer that installs a service on linux. I used a Launcher and "install as service" action. I found that it needs to be run as root. Is there anyway I can run it under different user? I saw there are options in the "install as…
wildleaf
  • 51
  • 1
  • 6
3
votes
1 answer

Using Data Files in Install4j

I'm having trouble getting the downloadable data files to work in Install4j. Here's what I'm doing. I expected to see the "phony_license_web.txt" in the AppData\Programs\myprogram folder. Create a file "phony_license_web.txt" in Define…
Wall0p
  • 248
  • 1
  • 7
1 2
3
97 98