From 246d9fc362a984b45599da323c54087828983971 Mon Sep 17 00:00:00 2001 From: Stefan Kolb Date: Tue, 1 Aug 2017 09:29:25 +0200 Subject: [PATCH] Closes #3027 and updates install4j to v7 --- jabref.install4j | 832 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 765 insertions(+), 67 deletions(-) diff --git a/jabref.install4j b/jabref.install4j index 8fa85b13b85..73ba46a1bc8 100644 --- a/jabref.install4j +++ b/jabref.install4j @@ -1,5 +1,5 @@ - + @@ -58,20 +58,21 @@ - + - + - + + @@ -100,34 +101,33 @@ - + true - - false - + - + + - + @@ -140,18 +140,19 @@ - + + - + @@ -167,7 +168,7 @@ context.getBooleanVariable("sys.confirmedUpdateInstallation") - + @@ -193,24 +194,82 @@ return true; - + + + + + + + ${form:welcomeMessage} + + + + + + !context.isConsole() + + + + + + + + + + String message = context.getMessage("ConsoleWelcomeLabel", context.getApplicationName()); +return console.askOkCancel(message, true); + + + + + + + + + + + + + + + + + + + + + updateCheck + + + + + + + + ${i18n:ClickNext} + + + + + + + + + - + - - - false - - + + !context.getBooleanVariable("sys.confirmedUpdateInstallation") - + @@ -227,9 +286,53 @@ return true; context.getVariable("sys.responseFile") == null - + + + + + + + ${i18n:SelectDirLabel(${compiler:sys.fullName})} + + + + + + + + + + + + + + true + + + false + + + + + + + + suggestAppDir + validateApplicationId + existingDirWarning + checkWritable + manualEntryAllowed + checkFreeSpace + showRequiredDiskSpace + showFreeDiskSpace + allowSpacesOnUnix + validationScript + standardValidation + + + - + @@ -239,6 +342,7 @@ return true; + !context.getBooleanVariable("sys.confirmedUpdateInstallation") @@ -246,19 +350,34 @@ return true; - + + - + + + + + + ${form:confirmationMessage} + + + + + + !context.isConsole() + + + @@ -276,8 +395,9 @@ return true; + - + @@ -295,21 +415,23 @@ return true; Util.isMacOS() + - + + - + @@ -317,7 +439,7 @@ return true; - + @@ -325,10 +447,13 @@ return true; - + + + true + ${i18n:UninstallerMenuEntry(${compiler:sys.fullName})} @@ -337,7 +462,7 @@ return true; !context.getBooleanVariable("sys.programGroupDisabled") - + @@ -349,7 +474,7 @@ return true; - + @@ -366,7 +491,7 @@ return true; context.getBooleanVariable("createDesktopLinkAction") - + @@ -387,7 +512,7 @@ return true; - + @@ -411,7 +536,7 @@ return true; Util.hasFullAdminRights() || Util.isAdminGroup() - + @@ -438,24 +563,36 @@ return true; - + + + + + + + ${i18n:WizardPreparing} + + + + + + + + + - + - - - true - - + + - + @@ -493,20 +630,52 @@ return true; - + + + + + + + ${i18n:SelectAssociationsLabel} + + + + + + + + + + + + + + true + + + + + + + + showSelectionButtons + + + - + + - + @@ -520,7 +689,21 @@ return true; - + + + + + + ${form:finishedMessage} + + + + + + + + + @@ -538,12 +721,13 @@ return true; + - + @@ -553,27 +737,26 @@ return true; true - - false - + - + + - + @@ -581,7 +764,7 @@ return true; - + @@ -594,31 +777,68 @@ return true; - + + - + + + + + + + ${form:welcomeMessage} + + + + + + !context.isConsole() + + + + + + + + + + String message = context.getMessage("ConfirmUninstall", context.getApplicationName()); +return console.askYesNo(message, true); + + + + + + + + + + + + - + + - + @@ -633,7 +853,7 @@ return true; - + @@ -654,7 +874,7 @@ return true; Util.hasFullAdminRights() || Util.isAdminGroup() - + @@ -678,14 +898,30 @@ return true; - + + + + + + + ${i18n:UninstallerPreparing} + + + + + + + + + - + + @@ -693,25 +929,487 @@ return true; - + + - + + + + + + + ${form:successMessage} + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -724,7 +1422,7 @@ return true; - + @@ -737,7 +1435,7 @@ return true; - +