launch4j

Difference between Inno Setup and Launch4j

こ雲淡風輕ζ 提交于 2020-01-02 10:00:27
问题 I want to create a package for my Java application. The application has a GUI. I am confused about the difference between the Inno Setup and the Launch4j. My main question is does Inno Setup also create an .exe file like the Launch4j? Or do I need to create the .exe file with Launch4j and package the application with the Inno Setup? 回答1: Inno setup output is an installer as it is an installer maker. In the other hand launch4j is a wrapper to convert a jar into a exe. So if you want to

Sign a launch4j executable in ant with sign4j and jsign

放肆的年华 提交于 2020-01-02 06:52:28
问题 I have an application in a Jar and I wrap it in a exe with launch4j so is easy for the user to launch it (in windows). I have a certificate, so I sign the jar (I don't know if this is really necessary because it will be wrapped inside the exe) and I want to sign the exe but it corrupt the executable. I use ant to make all the process and look like: <signjar jar="${jar.location}" alias="${key.alias}" storetype="pkcs12" keystore="${key.file}" storepass="${key.password}" tsaurl="https:/

Create exe with launch4j with maven

点点圈 提交于 2020-01-02 04:12:09
问题 I want to wrap my jar with launch4j to an exe file. Here is my pom.xml: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>de.thz.cameracontrol</groupId> <artifactId>Kamerasteuerung</artifactId> <version>0.0.3-SNAPSHOT</version> <packaging>jar</packaging> <name>name</name> <url>http://maven.apache

Package java files in exe for windows with maven

让人想犯罪 __ 提交于 2020-01-01 03:52:07
问题 The Launch4J port for Maven is terribly documented and I fail to use it in the way I want. Is there some good Maven plugin to gernerate an exe file with following criteria (at least some of them, if possible): No wrapping of jars Jars can be in different directories relative to the jar file The jars are exactly the dependancies, so adding new jars to a directory with a different name does not have any effect. Xmx and Xms can be configured through a file Process runs under the .exe name if

How to automatically update an application installed with Inno Setup

喜夏-厌秋 提交于 2019-12-29 07:57:08
问题 I have an executable application setup.exe for Windows that I realized with Launch4j/Inno Setup based on Java. I often frequently release new versions and bug fixes. I would like to know if there is a mechanism to install updates automatically? 回答1: Inno Setup does not have any built-in mechanism for implementing automatic updates. You need to implement that yourself: Make your application check for new versions (against your application webpage?). E.g. on startup (on a background thread?) If

How to automatically update an application installed with Inno Setup

不羁的心 提交于 2019-12-29 07:57:08
问题 I have an executable application setup.exe for Windows that I realized with Launch4j/Inno Setup based on Java. I often frequently release new versions and bug fixes. I would like to know if there is a mechanism to install updates automatically? 回答1: Inno Setup does not have any built-in mechanism for implementing automatic updates. You need to implement that yourself: Make your application check for new versions (against your application webpage?). E.g. on startup (on a background thread?) If

Trying to integrate Launch4j in a Maven project using Alakai plugin

允我心安 提交于 2019-12-28 05:46:15
问题 I am trying to integrate the generation of an installer as part of a maven compilation process. I have found Alakai's plugin for Launch4j. I have create a simple Hello World application using Maven. I have tried to use configuration examples provided by Alakai, but when I compile my project, I get: Failed to execute goal org.bluestemsoftware.open.maven.plugin:launch4j-plugin:1.5.0.0:launch4j (launch4j) on project Launch4j: Failed to build the executable; please verify your configuration.

Generate exe with launch4j with maven Project

橙三吉。 提交于 2019-12-24 07:58:00
问题 I have to try generating .exe file Using Maven Project. I get a correct jar with my dependencies but i dont get an exe file. Is there something else to do?. But it will always showing launch4j exception like, [INFO] Replacing D:\SpiralUpWorkspace\SpiralShareAutoTaskAllocation\target\SpiralShareAutoTaskAllocation-0.0.1-SNAPSHOT.jar with D:\SpiralUpWorkspace\SpiralShareAutoTaskAllocation\target\SpiralShareAutoTaskAllocation-0.0.1-SNAPSHOT-shaded.jar [INFO] [INFO] --- launch4j-maven-plugin:1.7

Exception in Launch4j

眉间皱痕 提交于 2019-12-21 03:42:33
问题 I have the following instructions in my build.xml, and I am getting the following exception. launch4j: net.sf.launch4j.ExecException: Exec failed (1): C:\Program Files\Launch4j\bin\windres.exe --preprocessor=type -J rc -O coff -F pe-i386 C:\Windows\TEMP\launch4j2603642297702639520rc C:\Windows\TEMP\launch4j1179691608441365102o This is my build script: <project basedir="." default="build" name="Bienvenue"> <!-- Crée le fichier d'installation BienvenueSetup.exe --> <target name="build"> <!--

Pinning a Java application using Launch4j to the Windows 7 taskbar

拈花ヽ惹草 提交于 2019-12-18 11:12:40
问题 I'm currently trying to pin a Java application to the Windows 7 taskbar. The application is launched with Launch4j. The program icon is displayed correctly but right-clicking the icon on the taskbar only shows a context-menu with the entry "Close window". No menu entry for pinning the application to the taskbar. Dragging the EXE file into the taskbar is also not working properly. When clicking this new launcher in the taskbar then a second icon spawns in the taskbar. I followed the