install4j

install4jc specifying floating server

心已入冬 提交于 2019-12-24 18:30:03
问题 I now that with install4jc i can spefic the floating server and version (windows or multiplatform) in the command line. Is is possble to specify these in any of the install4j configuration files installed on our build server so that folks do not have to remember to set them on each and every build plan? 回答1: You can modify the installation directory to set the floating license server for all users on a machine: Take the file %USERPROFILE%\.install4j5\config.xml or $HOME/.install4j5/config.xml

Drag and Drop disabled after using Install4J and starting the .exe file

依然范特西╮ 提交于 2019-12-24 10:08:41
问题 Everything works great when starting the JavaFX application from a .jar file . I am using Install4J with Open-Source licenses to make installers for Windows . The exact description of the problem is this : Inside the application drag and drop works . Also when i drag from inside the application to the Windows Explorer it also works . Just for some reason dragging from Windows desktop or explorer doesn't work ..... To be specific below i have photos which will help you understand exactly the

How do I check if the installed program is running at the beginning of the install4j uninstaller?

感情迁移 提交于 2019-12-24 07:45:37
问题 I have a Java program (Eclipse RCP in case that matters) that is installed and uninstalled with install4j. This works fine, except that the uninstaller will happily uninstall (most of) my program while it is running, leading to an incomplete uninstall and a program crash (with potential data loss). I would like the uninstaller to check whether the program is running before deleting any files, and prompt the user to exit the program if necessary. I could not find any options to supports this

Can I pass the filespec to an Error Message in the Delete files and directories action?

北慕城南 提交于 2019-12-24 07:15:49
问题 In the install4j Delete files and directories action, it's possible to define an Error Message that is displayed to the user, should the deletion of a file file. This is working fine for me, so long as the message does not have any parameters. What I would like to know is... If this particular action does fail (that is, the file could not be deleted for some unusual reason), is it possible to pass the filespec to the Error Message as a parameter? For example, my error message is a resource

Install4j : How to execute command line java -jar filename.jar at the end of installation

萝らか妹 提交于 2019-12-24 01:18:12
问题 In Intall4j, at the end of installation I just want to initialize something by executing a command line like: java -jar filename.jar How can I archive this task with install4j ? Thanks 回答1: Add a "Run executable or batch file" action to the "Installation screen" and set the following properties: "Executable" property: ${installer:sys.javaHome}/bin/java "Arguments" property: -jar; filename.jar (in the editor one argument per line) 来源: https://stackoverflow.com/questions/24634695/install4j-how

SocketTimeoutException during signing process

若如初见. 提交于 2019-12-24 00:42:32
问题 We have some trouble with our automated maven build process. From time to time the build is broken by the signing process of install4j. Sometimes it works very well sometimes we get the following exception: ... [15:51:29] : [myapp] [INFO] Compiling launcher 'Standalone updater': [15:51:29] : [myapp] [INFO] replaced variable 'launcher.name' with 'MyApp' in string '${compiler:launcher.name} Update' [15:51:29] : [myapp] [INFO] using icon file D:\BuildAgent7\work\1c0ed506bc73bcb4\target\install4j

The executable generated by install4j doesnt start

ⅰ亾dé卋堺 提交于 2019-12-23 10:59:36
问题 I'm evaluating install4j since I want to generate an executable for our Windows-users. Normally we run our app directly in Eclipse, or using bash scripts. We have one big jar with the whole framework as well as our applications, and some dependency jars. On deployment we set the class path with one shellscript and start the individual applications using other shellscripts. This procedure work on both Linux, Mac and Windows. Now I tried installing the demo version of install4j, and have been

Install4j 5.1 - Floating license setup on a headless ubuntu server

无人久伴 提交于 2019-12-14 02:39:59
问题 I want to build our app on an Ubuntu server. Our setup programs are created with Install4j 5.1 and integrated in our maven build through the maven-install4j-plugin. The problem I have is that I can't initialize the license information to point to our floating license server (localhost:11862). To initialize the license, I use the following command : install4jc --license=XXXXXXXXX The problem is that I don't know the exact syntax to setup the license to a floating server. I've tried --license

“Console” output on Installation screen?

筅森魡賤 提交于 2019-12-13 19:13:17
问题 at the moment we use the Installation screen to display the installation progress and the currently running action (e.g. "Installing step 4"). As an additional information we would like to present the user informations, what happend before, e.g.: Installed step 1 - ok Installed step 2 - ok Installed step 3 - ok To do this we would need some kind of console (e.g. a text field / area) on the Installation screen below the progress bar. Is there a chance to do this? Thanks! Frank 回答1: Currently

install4j not seeing .dll files

。_饼干妹妹 提交于 2019-12-13 19:00:41
问题 I am setting up an install4j script, one of the things I need it to do is to include several .dll files in the installation tree. The files are in a folder which is already copied, but although the other files in there are included, the .dlls are not. When looking at the folder containing the files via install4j, the .dlls are not showing up at all. I've searched for an answer but I'm stumped. Any ideas? 回答1: Do the DLL files show up in the tree under Files->View Results? If yes, switch on