Questions tagged [install4j]

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

1458 questions
5
votes
3 answers

Download breaks OSX signature?

I've just started signing my OSX desktop app so it can be installed on OSX 10.8 easily. I'm getting a really weird issue whereby the signing works fine and I can in install if the dmg is transferred to the Mac by DropBox or FTP but if the dmg is…
Jonathan
  • 1,327
  • 3
  • 15
  • 24
4
votes
1 answer

how do i force install4j NOT to overwrite specific files when doing an update

I have created my Install4j project and I am happy with the installation, un-installation and update process so far. However, a new situation have presented itself where I need to stop install4j from overwriting a specific file in the user's…
Motokazi
  • 240
  • 3
  • 11
4
votes
1 answer

install4j 8 and notarization for mac

Although intall4j 8 now supports notarization, it can only create notarized applications when actually run on a Mac. Which does not help with cross-platform development. Is there somewhere a cookbook on how to take a dmg built with install4j 8 on…
Joel
  • 81
  • 1
4
votes
1 answer

How can I reduce the OpenJDK 11 bundled JRE in install4j for Linux packages?

I'm packaging a Java application for Linux using install4j 7.0.8 and I find that when I include in the package the Oracle OpenJDK 11.0.1 for Linux from here: https://jdk.java.net/11/ that the JRE that's created using the createbundle program is…
4
votes
1 answer

install4j java insufficient memory error not being reported to user

We had a situation where there really was insufficient memory for java, but no visible error was seen until the app was run with the -console option. Then we got an error on the console like: Error occurred during initialization of VM Could not…
Joel
  • 81
  • 1
4
votes
1 answer

Code signing for linux executable using install4j

I am using Install4j and .pfx file in order to provide digital signature for my installer (.exe) for windows, but I can't find any way to do it for my installer for linux (.sh). There are any way to do it using Install4j for linux executables?
4
votes
1 answer

Install4j exception during all installations

When trying to install any Install4j installer (tried with several different of our installers that are normally working correctly), I get the following Setup error on my Windows 10 laptop: The installation/removal of a previoius program was not…
StijnB
  • 43
  • 3
4
votes
2 answers

Obtain version information from prior installation

Running the "Update current installation" option, how do I obtain the version info from the prior installation? I've been through the API and the closest thing I've seen is the public static interface ApplicationRegistry.ApplicationInfo. Edit This…
user0000001
  • 2,092
  • 2
  • 20
  • 48
4
votes
1 answer

script/code to find a file in the entire file system + install4j

I have a requirement to find a file(file**.exe) in the entire file system and get the path of it. I searched in the available code gallery and did not find anything similar to the requirement. Can I add custom java method in the script section?May…
4
votes
1 answer

Install4j: how to get user home folder

In Install4j, how can I get the value of the user home directory (like C:\users\xxx) in Windows (the account which installs my application) ? I tried ${installer:sys.userHome}, but it return me: C:\Windows\System32\config\systemprofile in Windows…
Nhat Nam NGUYEN
  • 1,252
  • 11
  • 15
4
votes
1 answer

What does install4j use to validate an add-on installer can be run on a user's machine?

My add-on installers I've created have worked successfully; I create a new project, marked as an add-on installer, and set the "For application with ID" field with the application ID of the original app I'm "adding on" to. But I found one user who…
Matthew Steven Monkan
  • 8,170
  • 4
  • 53
  • 71
4
votes
2 answers

edit install4j runtime vmoptions to redirect stderr and stdout

We are switching from installanywhere to install4j. With the former we could just add a specific redirect option to the launcher's config file (lax file) when we needed to do additional debugging (app runs as a service on linux, so by default the…
4
votes
1 answer

NotSerializableException in Install4j installation as normal user

I am writing some Java code as part of an installer created with Install4j. Part of my script looks like this - String result = (String)context.runElevated(new RemoteCallable() { public Serializable execute() { try { …
user1414413
  • 403
  • 5
  • 14
4
votes
2 answers

Howto open firewall ports during installation?

How can I open Windows Firewall ports during installation with install4j? I found this solution for c#, but I'm unable to port it to install4j custom code: http://www.codeproject.com/Articles/14906/Open-Windows-Firewall-During-Installation Perhaps…
Schlocke
  • 61
  • 4
4
votes
1 answer

Auto-start in install4J

Is there an integrated feature that will enable me to auto-start the program after Install4J installer is finished? Ideally to add "Start after installation is finished" button. I see that there is field "Post-activation script" property on the…
deyo.vuk
  • 180
  • 1
  • 3
  • 11
1
2
3
97 98