install4j

install4j installer variable UndefinedVariableException

点点圈 提交于 2019-12-11 05:57:13
问题 There is an installer variable which is bound with value 1.1. When I am trying to use it with screen title/subtitle its working fine. When I am using it with info text it throws UndefinedVariableException . I imported variable in info text through code editor, so I dont have any doubt in syntax. Is it a normal behavior? even then it should not appear in code editor.Please suggest how a installer variable can be used in info text. Replicated scenario with install4j 6.1.1 and 6.1.2 回答1: This is

Is it possible to customize Install4j launcher to restart application process based on exit code

丶灬走出姿态 提交于 2019-12-11 05:28:59
问题 If process terminated due to any reason other than exit code 0, is it possible to restart automatically using install4j Multi-platform launcher? Basted on the launcher script com.install4j.runtime.launcher.Launcher is launching the process. Is there any way to customize the behavior of this class? 回答1: As of install4j 5.1.12, no restart functionality based on the exit code is available. Instead, you can add a custom installer application that shuts down the launcher with a "Shut down calling

How to (silently) uninstall MySQL on 32 and 64 bit Windows

北战南征 提交于 2019-12-11 04:59:31
问题 We are using Install4J for our current version of our software and install MySQL 5.1 silently during the installation. For the next version of our software, if it is an upgrade, I want to remove MySQL 5.1 and install 5.5. Ideally, the uninstall should go silently, but not a hard requirement. I managed to get it working on 32-bit Windows XP, but not on 64-bit Windows 7. This is what I have so far: String[] uninstallKeys = WinRegistry.getSubKeyNames(RegistryRoot.HKEY_LOCAL_MACHINE, "SOFTWARE\

install4j application name in Gnome 3

别说谁变了你拦得住时间么 提交于 2019-12-11 02:42:15
问题 When our application is installed by install4j on a Gnome 3 desktop in Linux, and the application runs: the Application menu, located beside the Activities button which shows the name of the active application is showing "com-install4j-runtime-launcher-UnixLauncher". Is there a setting in install4j so that our application name shows up properly instead? 回答1: As of install4j 7, there is only a hack to achieve this: Define the compiler variable sys.ext.windowClass.<nn>=MyAppName where <nn> is

Close Processes in “Check for running processes” does not work correctly on Windows

天涯浪子 提交于 2019-12-11 02:37:28
问题 there is a little problem with closing running processes (without an ui). We're writing an application which doesn't have an (main) ui except a tray icon for opening preferences. I added a "Check for running processes" with "Allow soft close and termination" option to the installation process. If I try to install a new version of my application I get the message, that there is a running process of my application, but if I click on "Close processes", nothing happens, only on "Terminate

Can install4j detect other install4j installations?

徘徊边缘 提交于 2019-12-11 01:34:44
问题 Backgound info... I maintain an install4j project for product "A". We are in the process of developing a new product, "B", and product management has mandated that it have its own install4j-based installer. It might be worth noting that there is no fileystem overlap or shared libraries between these two products. That is, they will be installed to unique directories on the same system (e.g. /opt/myCompany/prodA , /opt/myCompany/ProdB ). However, product "B" requires that product "A" be

Is install4j jdk 8 compatible?

旧巷老猫 提交于 2019-12-11 01:09:39
问题 I'd like to know if install4j is jdk 8 compatible or tested against or will be :) Just found 1.7 Version to be tested on there site. And if not what is the roadmap for next release supporting that? Thx Inge 回答1: Install4j installers work with Java 8. The install4j currently (as of 5.1.6) requires Java 6 or Java 7. 回答2: From their blog Migrating to install4j 6: The minimum Java version for the install4j IDE and the compiler is now Java 7. If your build machine only has Java 6 installed, you

How do I make Install4j sign everything?

拜拜、爱过 提交于 2019-12-11 01:03:15
问题 How do I change what files are signed by install4j's codesigning on Mac OS X? Specifically, none of my application's files (including its jar file) are signed. This defeats the purpose of code signing entirely. So, I would like to fix this. I would also like to do the same on Windows, but it's possible that this is already handled correctly (I have not yet checked). 回答1: The purpose of signing not that everything that can be signed in any way is actually signed. Windows reduces UAC dialogs

Is it possible to generate with Java 8 and Install4j 5.1.5 a warning free installation file

心不动则不痛 提交于 2019-12-10 23:56:47
问题 We are using Install4j 5.1.5, install4j-maven-plugin 1.0.5 and Java 8 EA Build 124. During installation file generation we got couple of warnings from install4j (more than 100 pages) [warning] major version should be between 45 and 51 for JDK <= 1.7 As a result we have a installation file, but is it possible to got a warning free installation file? Exist a hidden switch to disable JDK version check? Konfiguration: Application is part of a second maven module and compile with JDK 8. We are

install4j - file with update placed in my local directory

跟風遠走 提交于 2019-12-10 23:33:07
问题 Could you please help me with next problem. I have stanalone GUI application and in the local directory I have file with update. How I can configure my install4j updater, that it do not download update file via http, but only launch update file from my local directory? Thanks and please sorry if this question has been asked before. 回答1: It updater template executes the "Check for update" action. Its "Update descriptor URL" property defines where the updates.xml file is downloaded from. That