install4j

customizing installation directory in install4j

微笑、不失礼 提交于 2019-12-13 15:03:34
问题 I am building a setup in install4j which will be run for each client of a marketing agency. There is one installer, but the user can run it more than once, specifying a different clientId value at the installation time. In the end, I would like to end up with a directory structure like this: on Mac: /Applications/MYPRODUCTNAME-clientID1/ /Applications/MYPRODUCTNAME-clientID2/ /Applications/MYPRODUCTNAME-clientID3/ on Windows: /Program Files/MYPRODUCTNAME-clientID1/ /Program Files

Steps to deploy web application on JBoss via install4j installer

余生长醉 提交于 2019-12-13 02:19:32
问题 I am not sure where should I start from as I have to deploy a web application on JBoss via install4j installer. I have created the Dynamic Web Apllication and I want to deploy this application on JBoss but deploy a war file and configure JBoss on client machine is not a good idea thus I want to create a installer file (.exe) file which will take care of following things: Installation of JBoss server on client machine Deploy my application on JBoss server so that I just have to give that

Bundle Jre with Install4J

跟風遠走 提交于 2019-12-12 20:18:57
问题 I have downloaded JRE (jre-x64-1.8.0_40.zip) using Maven Dependency. I want to Bundle this Jre to install4J. When I am trying to bundle this, during building it is showing error as FileNotFoundException and looking for File jre-x64-1.8.0_40.zip.tar.gz. How can I bundle jre zip? If not, does install4j provide feature to convert file type? 回答1: You can create install4j JRE bundles from installed JREs by invoking Project->Create a JRE Bundle from the main menu or by using the createbundle

Can I use an install4j launcher to restart a java application?

让人想犯罪 __ 提交于 2019-12-12 17:08:41
问题 I need to restart a java GUI application in response to a user action, in a similar way to eclipse restarting itself when you switch workspaces. We currently use an install4j launcher, so I'm wondering if the launcher can be configured to stay running and to restart the application if I exit the application with a particular return code or something like that? Cheers 回答1: This is not a feature in install4j. However, you can just start the launcher again by using java.lang.ProcessBuilder and

Write temp installation.log to .install4j directory

陌路散爱 提交于 2019-12-12 15:12:12
问题 During setup a temporary log file is written to directory %TEMP%. This file is moved as installation.log to ${installer:sys.installationDir}/.install4j after setup finished. Is there a way to let install4j write this temp. log file always directly to directory .install4j? Having it there it would be much easier to find it in case the setup crashes. We're still using install4j 5.0.11. Thanks in advance! Frank 回答1: The problem is that the installation may not exit at startup and the

How to change Required Disk space in install4j

落爺英雄遲暮 提交于 2019-12-12 14:51:28
问题 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 should terminate the installer. currently my installer is looking for JRE thanks in advance Sanjay 回答1: For the disk space check, add a "Run script" action to the "Startup" node of your installer and set its script to if (SystemInfo.getFreeDiskSpace

install4j - Updating Program Group Name

▼魔方 西西 提交于 2019-12-11 15:34:44
问题 I give the option of going back to the installation components screen, so that the user selects a different installation component if he wants to. But, how do I update the Program Group Name. I see a class CreateProgramGroupAction, and a method updateProgramGroupName(Context arg0) inside that. But how do i use it? I am not finding any relevant documentation on this. 回答1: Look at the "Properties" tab after selecting the "Create program group" action. There's a property "Program group name" and

Automate version in .install4j file based on POM version

喜夏-厌秋 提交于 2019-12-11 14:49:37
问题 I am using Maven to automate build process of Install4j. For every release product, POM version is updated. I want when pom version is updated Install4j version should be updated (under General Setting-> ApplicationInfo->Version). How can i automate version in install4j file. So that version should always remain latest for my product installer. 回答1: You can set the release parameter for the install4j compile target to set the version from the maven plugin. See http://sonatype.github.io

Install4j: how to specify a password value in Java Invocation of Launcher

…衆ロ難τιáo~ 提交于 2019-12-11 13:23:47
问题 In Install4j , I have a form to let the user configure a login/password (with the variable names: login and password ) Then I want to create a launcher using the login/password values in Java Invocation Launcher. See the screenshot below. How can I debug to see the value of these arguments after the installation ? The ${installer:password} is really the entered value by the user ? 回答1: You probably use a "Password field" form component. The bound variable for a password field component is not

Installer built with Install4j - Arrow keys cannot be used to navigate across buttons during install

谁说我不能喝 提交于 2019-12-11 11:25:31
问题 We have an enterprise product with installer built using install4j. The issue we have is that the Arrow keys cannot be used to move across buttons on the install screens ("Next", "Back", "Cancel" etc.) It is a general standard (I looked at few software installers - PostgreSQL, GIT Shell etc) and these do support moving across the buttons using arrow keys. The install4j version we are using is 5.1.11. Does it have such a support ? If yes, how, if No, is there a chance that we might have this