1 <?xml version="1.0" encoding="UTF-8"?>
2 <install4j version="10.0.5" transformSequenceNumber="10">
3 <directoryPresets config="bin/Jalview" />
4 <application name="${compiler:JALVIEW_APPLICATION_NAME}" applicationId="${compiler:WINDOWS_APPLICATION_ID}" mediaDir="${compiler:BUILD_DIR}" lzmaCompression="true" shortName="${compiler:INTERNAL_ID}" publisher="University of Dundee" publisherWeb="https://www.jalview.org/" version="${compiler:JALVIEW_VERSION}" allPathsRelative="true" macVolumeId="5aac4968c304f65" javaMinVersion="${compiler:JAVA_MIN_VERSION}" javaMaxVersion="${compiler:JAVA_MAX_VERSION}" allowBetaVM="true" jdkMode="jdk" jdkName="JDK 11.0">
6 <directory location="${compiler:JRE_DIR}" />
8 <envVar name="JAVA_HOME" />
11 <variable name="JALVIEW_NAME" value="Jalview" />
12 <variable name="JALVIEW_APPLICATION_NAME" value="Jalview" />
13 <variable name="JALVIEW_DIR" value="../.." />
14 <variable name="BUILD_DIR" value="${compiler:JALVIEW_DIR}/build/install4j" />
15 <variable name="OSX_KEYSTORE" />
16 <variable name="OSX_APPLEID" />
17 <variable name="JSIGN_SH" value="echo" />
18 <variable name="JRE_DIR" value="jre" description="The folder under the app folder that the JRE will be either copied or unpacked into" />
19 <variable name="INSTALLER_TEMPLATE_VERSION" value="DEVELOPMENT_default" />
20 <variable name="JALVIEW_VERSION" value="DEVELOPMENT" />
21 <variable name="JAVA_MIN_VERSION" value="11" />
22 <variable name="JAVA_MAX_VERSION" value="11" />
23 <variable name="JAVA_VERSION" value="11" />
24 <variable name="JAVA_INTEGER_VERSION" value="11" />
25 <variable name="VERSION" value="DEVELOPMENT" />
26 <variable name="MACOS_X64_JAVA_VM_DIR" value="${compiler:env.HOME}/buildtools/jre/jre-${compiler:JAVA_INTEGER_VERSION}-mac-x64/jre" />
27 <variable name="MACOS_AARCH64_JAVA_VM_DIR" value="${compiler:env.HOME}/buildtools/jre/jre-${compiler:JAVA_INTEGER_VERSION}-mac-aarch64/jre" />
28 <variable name="WINDOWS_X64_JAVA_VM_DIR" value="${compiler:env.HOME}/buildtools/jre/jre-${compiler:JAVA_INTEGER_VERSION}-windows-x64/jre" />
29 <variable name="LINUX_X64_JAVA_VM_DIR" value="${compiler:env.HOME}/buildtools/jre/jre-${compiler:JAVA_INTEGER_VERSION}-linux-x64/jre" />
30 <variable name="LINUX_AARCH64_JAVA_VM_DIR" value="${compiler:env.HOME}/buildtools/jre/jre-${compiler:JAVA_INTEGER_VERSION}-linux-aarch64/jre" />
31 <variable name="MACOS_X64_JAVA_VM_TGZ" value="${compiler:env.HOME}/buildtools/jre/tgz/jre_${compiler:JAVA_INTEGER_VERSION}_mac_x64.tar.gz" />
32 <variable name="MACOS_AARCH64_JAVA_VM_TGZ" value="${compiler:env.HOME}/buildtools/jre/tgz/jre_${compiler:JAVA_INTEGER_VERSION}_mac_aarch64.tar.gz" />
33 <variable name="WINDOWS_X64_JAVA_VM_TGZ" value="${compiler:env.HOME}/buildtools/jre/tgz/jre_${compiler:JAVA_INTEGER_VERSION}_windows_x64.tar.gz" />
34 <variable name="LINUX_X64_JAVA_VM_TGZ" value="${compiler:env.HOME}/buildtools/jre/tgz/jre_${compiler:JAVA_INTEGER_VERSION}_linux_x64.tar.gz" />
35 <variable name="LINUX_AARCH64_JAVA_VM_TGZ" value="${compiler:env.HOME}/buildtools/jre/tgz/jre_${compiler:JAVA_INTEGER_VERSION}_linux_aarch64.tar.gz" />
36 <variable name="COPYRIGHT_MESSAGE" value="..." />
37 <variable name="BUNDLE_ID" value="org.jalview.jalview-desktop" />
38 <variable name="INTERNAL_ID" value="Jalview" />
39 <variable name="WINDOWS_APPLICATION_ID" value="6595-2347-1923-0725" />
40 <variable name="MACOS_DMG_DS_STORE" value="utils/channels/default/images/jalview_default_dmg_DS_Store" />
41 <variable name="MACOS_DMG_BG_IMAGE" value="utils/channels/default/images/jalview_default_dmg_background-72dpi.png" />
42 <variable name="WRAPPER_LINK" value="jalview" />
43 <variable name="BASH_WRAPPER_SCRIPT" value="jalview.sh" />
44 <variable name="WRAPPER_SCRIPT_BIN_DIR" value="bin" />
45 <variable name="INSTALLER_NAME" value="Jalview Installer" />
46 <variable name="INSTALL4J_UTILS_DIR" value="utils/install4j" />
47 <variable name="GETDOWN_CHANNEL_DIR" value="build/website/docroot/getdown/default" />
48 <variable name="GETDOWN_FILES_DIR" value="getdown/files" />
49 <variable name="GETDOWN_RESOURCE_DIR" value="resource" />
50 <variable name="GETDOWN_DIST_DIR" value="dist" />
51 <variable name="GETDOWN_ALT_DIR" value="alt" />
52 <variable name="GETDOWN_INSTALL_DIR" value="install" />
53 <variable name="INFO_PLIST_FILE_ASSOCIATIONS_FILE" value="file_associations_auto-Info_plist.xml" />
54 <variable name="APPLICATION_CATEGORIES" value="Science;Biology;Java;" />
55 <variable name="APPLICATION_FOLDER" value="Jalview" />
56 <variable name="UNIX_APPLICATION_FOLDER" value="jalview" />
57 <variable name="EXECUTABLE_NAME" value="jalviewg" />
58 <variable name="EXTRA_SCHEME" value="jalviewx" />
59 <variable name="MAC_ICONS_FILE" value="utils/channels/release/images/jalview_logo.icns" />
60 <variable name="WINDOWS_ICONS_FILE" value="utils/channels/release/images/jalview_logo.ico" />
61 <variable name="PNG_ICON_FILE" value="utils/channels/release/images/jalview_logo.png" />
62 <variable name="BACKGROUND" value="utils/channels/release/images/jalview_logo_background_fade-640x480.png" />
63 <variable name="BATCH_WRAPPER_SCRIPT" value="jalview.bat" />
64 <variable name="POWERSHELL_WRAPPER_SCRIPT" value="jalview.ps1" />
66 <codeSigning macEnabled="true" macPkcs12File="${compiler:OSX_KEYSTORE}" macNotarize="true" appleId="${compiler:OSX_APPLEID}">
67 <macAdditionalBinaries>
68 <entry>*.dylib</entry>
70 <entry>*.jnilib</entry>
71 <entry>unpack200</entry>
72 <entry>tnameserv</entry>
73 <entry>servertool</entry>
74 <entry>rmiregistry</entry>
76 <entry>policytool</entry>
77 <entry>pack200</entry>
79 <entry>keytool</entry>
82 <entry>jspawnhelper</entry>
83 <entry>libfreetype.dylib.6</entry>
87 <entry>jrunscript</entry>
88 <entry>libjli.dylib</entry>
89 </macAdditionalBinaries>
92 <files defaultUninstallMode="2">
94 <fileset name="Full file set" id="734" customizedId="FULL_FILE_SET" />
95 <fileset name="macOS x64 JVM" id="2801" customizedId="MACOS_X64_JVM" />
96 <fileset name="macOS aarch64 JVM" id="2803" customizedId="MACOS_AARCH64_JVM" />
99 <root id="735" fileset="734" />
100 <root id="2802" fileset="2801" />
101 <root id="2804" fileset="2803" />
104 <mountPoint id="736" root="735" />
105 <mountPoint id="2805" root="2802" />
106 <mountPoint id="2806" root="2804" />
109 <dirEntry mountPoint="736" file="${compiler:JALVIEW_DIR}/${compiler:GETDOWN_CHANNEL_DIR}/${compiler:JAVA_VERSION}" uninstallMode="2" overrideOverwriteMode="true" overrideUninstallMode="true" subDirectory="files">
111 <entry location="${compiler:WRAPPER_SCRIPT_BIN_DIR}" />
114 <dirEntry mountPoint="736" file="${compiler:JALVIEW_DIR}/examples" overwriteMode="1" uninstallMode="2" overrideFileMode="true" overrideOverwriteMode="true" overrideUninstallMode="true" entryMode="subdir" subDirectory="examples" />
115 <dirEntry mountPoint="736" file="${compiler:JALVIEW_DIR}/${compiler:GETDOWN_CHANNEL_DIR}/${compiler:JAVA_VERSION}/${compiler:WRAPPER_SCRIPT_BIN_DIR}" fileMode="755" overrideFileMode="true" overrideUninstallMode="true" entryMode="subdir" subDirectory="${compiler:WRAPPER_SCRIPT_BIN_DIR}" overrideDirMode="true" />
116 <dirEntry mountPoint="2805" file="${compiler:MACOS_X64_JAVA_VM_DIR}" overwriteMode="1" fileMode="755" uninstallMode="2" overrideFileMode="true" overrideOverwriteMode="true" overrideUninstallMode="true" entryMode="subdir" subDirectory="${compiler:JRE_DIR}" />
117 <dirEntry mountPoint="2806" file="${compiler:MACOS_AARCH64_JAVA_VM_DIR}" overwriteMode="1" fileMode="755" uninstallMode="2" overrideFileMode="true" overrideOverwriteMode="true" overrideUninstallMode="true" entryMode="subdir" subDirectory="${compiler:JRE_DIR}" />
120 <component name="jalview_getdown" id="1031">
122 <entry filesetId="734" />
128 <launcher name="Jalview Launcher" id="737" customizedId="JALVIEW" menuName="${compiler:JALVIEW_APPLICATION_NAME}" icnsFile="${compiler:JALVIEW_DIR}/${compiler:MAC_ICONS_FILE}" customMacBundleIdentifier="true" macBundleIdentifier="${compiler:BUNDLE_ID}" fileset="734" useCustomMacosExecutableName="true" customMacosExecutableName="${compiler:JALVIEW_APPLICATION_NAME}">
129 <executable name="${compiler:EXECUTABLE_NAME}" iconSet="true" iconFile="${compiler:JALVIEW_DIR}/${compiler:WINDOWS_ICONS_FILE}" redirectStdout="true" executableMode="gui" changeWorkingDirectory="false" singleInstance="true" checkConsoleParameter="true">
130 <versionInfo include="true" fileDescription="${compiler:sys.fullName}" legalCopyright="${compiler:COPYRIGHT_MESSAGE}" internalName="${compiler:INTERNAL_ID}" productName="${compiler:sys.fullName}" />
132 <splashScreen width="640" height="480" bitmapFile="${compiler:JALVIEW_DIR}/${compiler:BACKGROUND}" textOverlay="true">
134 <statusLine x="85" y="81" text="${compiler:sys.shortName}" fontSize="18" />
135 <versionLine x="85" y="109" text="version ${compiler:sys.version}" />
138 <java mainClass="com.threerings.getdown.launcher.GetdownApp" vmParameters="-Dinstaller_template_version=${compiler:INSTALLER_TEMPLATE_VERSION} -Dchannel.app_name="${compiler:JALVIEW_APPLICATION_NAME}"" arguments=""${launcher:sys.launcherDirectory}" jalview">
140 <archive location="getdown-launcher.jar" />
141 <archive location="${compiler:GETDOWN_INSTALL_DIR}/getdown-launcher.jar" failOnError="false" />
143 <nativeLibraryDirectories>
144 <directory name="${compiler:JRE_DIR}/bin" />
145 <directory name="${compiler:GETDOWN_DIST_DIR}" />
146 </nativeLibraryDirectories>
148 <infoPlist>${compiler:file("${compiler:INFO_PLIST_FILE_ASSOCIATIONS_FILE}")}</infoPlist>
150 <file path="${compiler:JALVIEW_DIR}/${compiler:PNG_ICON_FILE}" />
152 <macStaticAssociations>
153 <urlHandler scheme="jalview" />
154 <urlHandler scheme="jalviews" />
155 <urlHandler scheme="${compiler:EXTRA_SCHEME}" />
156 </macStaticAssociations>
159 <installerGui autoUpdateDescriptorUrl="https://www.jalview.org/install4j/updates.xml">
161 <application id="installer" beanClass="com.install4j.runtime.beans.applications.InstallerApplication" styleId="35" customIcnsFile="${compiler:JALVIEW_DIR}/${compiler:MAC_ICONS_FILE}" customIcoFile="${compiler:JALVIEW_DIR}/${compiler:WINDOWS_ICONS_FILE}">
163 <property name="useCustomIcon" type="boolean" value="true" />
166 <styleOverride name="Customize banner image" enabled="true">
167 <group id="146" beanClass="com.install4j.runtime.beans.groups.VerticalFormComponentGroup" useExternalParametrization="true" externalParametrizationName="Customize banner image" externalParametrizationMode="include">
169 <property name="backgroundColor">
170 <object class="com.install4j.runtime.beans.LightOrDarkColor">
171 <object class="java.awt.Color">
177 <object class="java.awt.Color">
185 <property name="borderSides">
186 <object class="com.install4j.runtime.beans.formcomponents.BorderSides">
187 <property name="bottom" type="boolean" value="true" />
190 <property name="imageEdgeBackgroundColor">
191 <object class="java.awt.Color">
198 <property name="imageEdgeBorder" type="boolean" value="true" />
199 <property name="imageFile">
200 <object class="com.install4j.api.beans.ExternalFile">
201 <string>${compiler:JALVIEW_DIR}/${compiler:BACKGROUND}</string>
204 <property name="insets">
205 <object class="java.awt.Insets">
213 <externalParametrizationPropertyNames>
214 <propertyName>imageAnchor</propertyName>
215 <propertyName>imageEdgeBackgroundColor</propertyName>
216 <propertyName>imageFile</propertyName>
217 </externalParametrizationPropertyNames>
220 <styleOverride name="Jalview" enabled="true">
221 <formComponent name="Watermark" id="352" beanClass="com.install4j.runtime.beans.formcomponents.SeparatorComponent" insetTop="0" insetLeft="5" insetBottom="0" useExternalParametrization="true" externalParametrizationName="Jalview" externalParametrizationMode="include">
223 <property name="enabledTitleText" type="boolean" value="false" />
225 <externalParametrizationPropertyNames>
226 <propertyName>labelText</propertyName>
227 </externalParametrizationPropertyNames>
232 <screen id="1" beanClass="com.install4j.runtime.beans.screens.StartupScreen" rollbackBarrierExitCode="0">
234 <action id="22" beanClass="com.install4j.runtime.beans.actions.misc.RequestPrivilegesAction" actionElevationType="none" rollbackBarrierExitCode="0">
236 <property name="obtainIfAdminWin" type="boolean" value="false" />
239 <action name="Set unixUserBinDir (Linux or Unix)" id="2738" beanClass="com.install4j.runtime.beans.actions.control.SetVariableAction" rollbackBarrierExitCode="0">
241 <property name="script">
242 <object class="com.install4j.api.beans.ScriptProperty">
243 <property name="value" type="string">String userHome = (String)context.getVariable("sys.userHome");
245 ArrayList<String> tryPaths = new ArrayList<> ();
246 tryPaths.add(userHome + File.separator + "bin");
247 tryPaths.add(userHome + File.separator + ".local" + File.separator + "bin");
248 tryPaths.add(userHome + File.separator + "local" + File.separator + "bin");
249 tryPaths.add(userHome + File.separator + "opt" + File.separator + "bin");
251 if (Util.isMacOS()) { // && root permission?
252 tryPaths.add(File.separator + "usr" + File.separator + "local" + File.separator + "bin");
255 for (int i = 0; i < tryPaths.size(); i++) {
256 String tryPath = tryPaths.get(i);
257 File unixUserBinDir = new File(tryPath);
258 if (unixUserBinDir.exists()) {
267 <property name="variableName" type="string">unixUserBinDir</property>
269 <condition>Util.isLinux() || Util.isUnixInstaller() || Util.isMacOS()</condition>
271 <action name="Set macWrapperLinkLocation (macOS)" id="2745" beanClass="com.install4j.runtime.beans.actions.control.SetVariableAction" rollbackBarrierExitCode="0">
273 <property name="script">
274 <object class="com.install4j.api.beans.ScriptProperty">
275 <property name="value" type="string">String javaHome = System.getProperty("java.home");
276 String appName = ((String)context.getCompilerVariable("JALVIEW_APPLICATION_NAME")) + ".app";
277 int i = javaHome.indexOf(appName);
278 String wrapperLink = null;
280 wrapperLink = javaHome.substring(0, i) + appName + File.separator + "Contents" + File.separator + "MacOS" + File.separator + ((String)context.getCompilerVariable("WRAPPER_LINK"));
286 <property name="variableName" type="string">macWrapperLinkLocation</property>
288 <condition>Util.isMacOS()</condition>
294 <screen id="2" beanClass="com.install4j.runtime.beans.screens.WelcomeScreen" rollbackBarrierExitCode="0">
296 <styleOverride name="Customize banner image" enabled="true">
297 <group id="145" beanClass="com.install4j.runtime.beans.groups.VerticalFormComponentGroup" useExternalParametrization="true" externalParametrizationName="Customize banner image" externalParametrizationMode="include">
299 <property name="backgroundColor">
300 <object class="com.install4j.runtime.beans.LightOrDarkColor">
301 <object class="java.awt.Color">
307 <object class="java.awt.Color">
315 <property name="borderSides">
316 <object class="com.install4j.runtime.beans.formcomponents.BorderSides">
317 <property name="bottom" type="boolean" value="true" />
320 <property name="imageEdgeBackgroundColor">
321 <object class="com.install4j.runtime.beans.LightOrDarkColor">
322 <object class="java.awt.Color">
328 <object class="java.awt.Color">
336 <property name="imageEdgeBorder" type="boolean" value="true" />
337 <property name="imageFile">
338 <object class="com.install4j.api.beans.ExternalFile">
339 <string>${compiler:JALVIEW_DIR}/${compiler:BACKGROUND}</string>
342 <property name="insets">
343 <object class="java.awt.Insets">
351 <externalParametrizationPropertyNames>
352 <propertyName>imageAnchor</propertyName>
353 <propertyName>imageEdgeBackgroundColor</propertyName>
354 <propertyName>imageFile</propertyName>
355 </externalParametrizationPropertyNames>
360 <action id="7" beanClass="com.install4j.runtime.beans.actions.misc.LoadResponseFileAction" rollbackBarrierExitCode="0" multiExec="true">
362 <property name="excludedVariables" type="array" elementType="string" length="1">
363 <element index="0">sys.installationDir</element>
366 <condition>context.getBooleanVariable("sys.confirmedUpdateInstallation")</condition>
370 <formComponent id="3" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent">
372 <property name="labelText" type="string">${form:welcomeMessage}</property>
374 <visibilityScript>!context.isConsole()</visibilityScript>
376 <formComponent id="4" beanClass="com.install4j.runtime.beans.formcomponents.ConsoleHandlerFormComponent">
378 <property name="consoleScript">
379 <object class="com.install4j.api.beans.ScriptProperty">
380 <property name="value" type="string">String message = context.getMessage("ConsoleWelcomeLabel", context.getApplicationName());
381 return console.askOkCancel(message, true);
387 <formComponent id="5" beanClass="com.install4j.runtime.beans.formcomponents.UpdateAlertComponent" useExternalParametrization="true" externalParametrizationName="Update Alert" externalParametrizationMode="include">
388 <externalParametrizationPropertyNames>
389 <propertyName>updateCheck</propertyName>
390 </externalParametrizationPropertyNames>
392 <formComponent id="6" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent" insetTop="20">
394 <property name="labelText" type="string">${i18n:ClickNext}</property>
399 <screen id="8" beanClass="com.install4j.runtime.beans.screens.InstallationDirectoryScreen" rollbackBarrierExitCode="0">
400 <condition>!context.getBooleanVariable("sys.confirmedUpdateInstallation")</condition>
402 <action id="11" beanClass="com.install4j.runtime.beans.actions.misc.LoadResponseFileAction" rollbackBarrierExitCode="0" multiExec="true">
404 <property name="excludedVariables" type="array" elementType="string" length="1">
405 <element index="0">sys.installationDir</element>
408 <condition>context.getVariable("sys.responseFile") == null</condition>
412 <formComponent id="9" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent" insetBottom="25">
414 <property name="labelText" type="string">${i18n:SelectDirLabel(${compiler:sys.fullName})}</property>
417 <formComponent id="10" beanClass="com.install4j.runtime.beans.formcomponents.InstallationDirectoryChooserComponent" useExternalParametrization="true" externalParametrizationName="Installation Directory Chooser" externalParametrizationMode="include">
419 <property name="requestFocus" type="boolean" value="true" />
421 <externalParametrizationPropertyNames>
422 <propertyName>allowSpacesOnUnix</propertyName>
423 <propertyName>checkFreeSpace</propertyName>
424 <propertyName>checkWritable</propertyName>
425 <propertyName>existingDirWarning</propertyName>
426 <propertyName>manualEntryAllowed</propertyName>
427 <propertyName>showFreeDiskSpace</propertyName>
428 <propertyName>showRequiredDiskSpace</propertyName>
429 <propertyName>standardValidation</propertyName>
430 <propertyName>suggestAppDir</propertyName>
431 <propertyName>validateApplicationId</propertyName>
432 <propertyName>validationScript</propertyName>
433 </externalParametrizationPropertyNames>
437 <screen id="12" beanClass="com.install4j.runtime.beans.screens.ComponentsScreen" enabled="false" rollbackBarrierExitCode="0">
439 <formComponent id="13" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent">
441 <property name="labelText" type="string">${i18n:SelectComponentsLabel2}</property>
443 <visibilityScript>!context.isConsole()</visibilityScript>
445 <formComponent id="14" beanClass="com.install4j.runtime.beans.formcomponents.ComponentSelectorComponent" useExternalParametrization="true" externalParametrizationName="Installation Components" externalParametrizationMode="include">
447 <property name="fillVertical" type="boolean" value="true" />
449 <externalParametrizationPropertyNames>
450 <propertyName>selectionChangedScript</propertyName>
451 </externalParametrizationPropertyNames>
455 <screen id="1692" beanClass="com.install4j.runtime.beans.screens.FileAssociationsScreen" rollbackBarrierExitCode="0">
457 <formComponent id="1693" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent">
459 <property name="labelText" type="string">${i18n:SelectAssociationsLabel}</property>
462 <formComponent id="1694" beanClass="com.install4j.runtime.beans.formcomponents.FileAssociationsComponent" useExternalParametrization="true" externalParametrizationName="File Associations" externalParametrizationMode="include">
464 <property name="fillVertical" type="boolean" value="true" />
465 <property name="selectionButtonPosition" type="enum" class="com.install4j.runtime.beans.formcomponents.VerticalDockingPosition" value="TOP" />
466 <property name="showSelectionButtons" type="boolean" value="true" />
468 <externalParametrizationPropertyNames>
469 <propertyName>showSelectionButtons</propertyName>
470 <propertyName>selectionButtonPosition</propertyName>
471 </externalParametrizationPropertyNames>
475 <screen id="15" beanClass="com.install4j.runtime.beans.screens.InstallationScreen" rollbackBarrier="true" rollbackBarrierExitCode="0">
477 <action id="17" beanClass="com.install4j.runtime.beans.actions.InstallFilesAction" rollbackBarrierExitCode="0" failureStrategy="quit" errorMessage="${i18n:FileCorrupted}" />
478 <action name="Create program group (RELEASE)" id="18" customizedId="PROGRAM_GROUP_RELEASE" beanClass="com.install4j.runtime.beans.actions.desktop.CreateProgramGroupAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
480 <property name="allUsers" type="boolean" value="false" />
481 <property name="categories" type="string">${compiler:APPLICATION_CATEGORIES}</property>
482 <property name="programGroupEntryConfigs">
484 <object class="com.install4j.runtime.beans.screens.components.ProgramGroupFileConfig">
485 <property name="name" type="string">Examples</property>
486 <property name="target">
487 <object class="java.io.File">
488 <string>examples</string>
494 <property name="programGroupName" type="string">${compiler:JALVIEW_NAME}</property>
495 <property name="uninstallerMenuName" type="string">${i18n:UninstallerMenuEntry(${compiler:sys.fullName})}</property>
497 <condition>!context.getBooleanVariable("sys.programGroupDisabled")</condition>
499 <action name="Create program group (NON-RELEASE)" id="2730" customizedId="PROGRAM_GROUP_NON_RELEASE" beanClass="com.install4j.runtime.beans.actions.desktop.CreateProgramGroupAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
501 <property name="allUsers" type="boolean" value="false" />
502 <property name="categories" type="string">${compiler:APPLICATION_CATEGORIES}</property>
503 <property name="programGroupName" type="string">${compiler:JALVIEW_NAME}</property>
504 <property name="uninstallerMenuName" type="string">${i18n:UninstallerMenuEntry(${compiler:sys.fullName})}</property>
506 <condition>!context.getBooleanVariable("sys.programGroupDisabled")</condition>
508 <action id="19" beanClass="com.install4j.runtime.beans.actions.desktop.RegisterAddRemoveAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
510 <property name="itemName" type="string">${compiler:sys.fullName} ${compiler:sys.version}</property>
513 <action id="124" beanClass="com.install4j.runtime.beans.actions.control.SetVariableAction" enabled="false" rollbackBarrierExitCode="0">
515 <property name="script">
516 <object class="com.install4j.api.beans.ScriptProperty">
517 <property name="value" type="string" />
520 <property name="variableName" type="string" />
522 <condition>true</condition>
524 <action id="134" beanClass="com.install4j.runtime.beans.actions.misc.AddVmOptionsAction" enabled="false" actionElevationType="elevated" rollbackBarrierExitCode="0">
526 <property name="launcherId" type="string">121</property>
527 <property name="vmOptions" type="array" elementType="string" length="0" />
530 <group name="File Associations" id="2251" beanClass="com.install4j.runtime.beans.groups.ActionGroup">
532 <action id="2253" beanClass="com.install4j.runtime.beans.actions.control.SetMessageAction" actionElevationType="none" rollbackBarrierExitCode="0">
534 <property name="statusMessage" type="string">Creating file associations...</property>
535 <property name="useDetail" type="boolean" value="true" />
536 <property name="useStatus" type="boolean" value="true" />
539 <action id="2254" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" actionElevationType="none" rollbackBarrierExitCode="0">
541 <property name="progressChangeType" type="enum" class="com.install4j.runtime.beans.actions.control.ProgressChangeType" value="SET_INDETERMINATE" />
544 <group name="File Associations Replacement Group" id="2753" customizedId="EXTENSIONS_REPLACED_BY_GRADLE_PARENT_GROUP" beanClass="com.install4j.runtime.beans.groups.ActionGroup">
546 <action name="EXTENSIONS_REPLACED_BY_GRADLE" id="1691" customizedId="EXTENSIONS" beanClass="com.install4j.runtime.beans.actions.desktop.CreateFileAssociationAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
548 <property name="description" type="string">This action, identified by its name "EXTENSIONS_REPLACED_BY_GRADLE", will be replaced by gradle with the contents of file 'file_associations_auto_install4j.xml'.</property>
549 <property name="extension" type="string">extensions_to_be_replaced_by_gradle</property>
550 <property name="launcherId" type="string">JALVIEW</property>
555 <action id="2542" beanClass="com.install4j.runtime.beans.actions.control.SetMessageAction" actionElevationType="none" rollbackBarrierExitCode="0">
557 <property name="statusMessage" type="string">Finished creating file associations</property>
558 <property name="useDetail" type="boolean" value="true" />
559 <property name="useStatus" type="boolean" value="true" />
562 <action id="2541" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" actionElevationType="none" rollbackBarrierExitCode="0">
564 <property name="percentValue" type="int" value="100" />
569 <action id="2350" beanClass="com.install4j.runtime.beans.actions.desktop.UrlHandlerAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
571 <property name="launcherId" type="string">JALVIEW</property>
572 <property name="scheme" type="string">jalview</property>
575 <action id="2450" beanClass="com.install4j.runtime.beans.actions.desktop.UrlHandlerAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
577 <property name="launcherId" type="string">JALVIEW</property>
578 <property name="scheme" type="string">jalviews</property>
581 <action id="2641" beanClass="com.install4j.runtime.beans.actions.desktop.UrlHandlerAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
583 <property name="launcherId" type="string">JALVIEW</property>
584 <property name="scheme" type="string">${compiler:EXTRA_SCHEME}</property>
589 <formComponent id="16" beanClass="com.install4j.runtime.beans.formcomponents.ProgressComponent">
591 <property name="initialStatusMessage" type="string">${i18n:WizardPreparing}</property>
596 <screen id="20" beanClass="com.install4j.runtime.beans.screens.FinishedScreen" rollbackBarrierExitCode="0" finishScreen="true">
598 <action name="Linux Jalview Appname->java symlink" id="2813" beanClass="com.install4j.runtime.beans.actions.files.CreateSymlinkAction" rollbackBarrierExitCode="0" errorMessage="Could not make symlink to wrapper script">
600 <property name="file">
601 <object class="java.io.File">
602 <string>${compiler:JRE_DIR}/bin/java</string>
605 <property name="linkFile">
606 <object class="java.io.File">
607 <string>${compiler:JRE_DIR}/bin/${compiler:JALVIEW_APPLICATION_NAME}</string>
610 <property name="removeOnUninstall" type="boolean" value="false" />
612 <condition>Util.isLinux()</condition>
614 <action name="Linux Jalview->java symlink" id="2814" beanClass="com.install4j.runtime.beans.actions.files.CreateSymlinkAction" rollbackBarrierExitCode="0" errorMessage="Could not make symlink to wrapper script">
616 <property name="file">
617 <object class="java.io.File">
618 <string>${compiler:JRE_DIR}/bin/java</string>
621 <property name="linkFile">
622 <object class="java.io.File">
623 <string>${compiler:JRE_DIR}/bin/${compiler:JALVIEW_NAME}</string>
626 <property name="removeOnUninstall" type="boolean" value="false" />
628 <condition>Util.isLinux()</condition>
630 <action id="2012" beanClass="com.install4j.runtime.beans.actions.desktop.CreateStartMenuEntryAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
632 <property name="allUsers" type="boolean" value="false" />
633 <property name="categories" type="string">${compiler:APPLICATION_CATEGORIES}</property>
634 <property name="entryName" type="string">${compiler:JALVIEW_APPLICATION_NAME}</property>
635 <property name="file">
636 <object class="java.io.File">
637 <string>${installer:sys.contentDir}/${compiler:EXECUTABLE_NAME}</string>
640 <property name="icon">
641 <object class="com.install4j.api.beans.ExternalFile">
642 <string>${compiler:JALVIEW_DIR}/${compiler:WINDOWS_ICONS_FILE}</string>
645 <property name="programGroupName" type="string">${compiler:JALVIEW_NAME}</property>
646 <property name="unixIconFile">
647 <object class="com.install4j.api.beans.ExternalFile">
648 <string>${compiler:JALVIEW_DIR}/${compiler:PNG_ICON_FILE}</string>
652 <condition>!context.getBooleanVariable("sys.programGroupDisabled")</condition>
654 <action id="573" beanClass="com.install4j.runtime.beans.actions.desktop.CreateDesktopLinkAction" actionElevationType="elevated" rollbackBarrierExitCode="0" errorMessage="Could not make desktop link">
656 <property name="allUsers" type="boolean" value="false" />
657 <property name="description" type="string">${compiler:JALVIEW_APPLICATION_NAME}</property>
658 <property name="file">
659 <object class="java.io.File">
660 <string>${installer:sys.contentDir}/${compiler:EXECUTABLE_NAME}</string>
663 <property name="name" type="string">${compiler:JALVIEW_APPLICATION_NAME}</property>
664 <property name="unixIconFile">
665 <object class="com.install4j.api.beans.ExternalFile">
666 <string>${compiler:JALVIEW_DIR}/${compiler:PNG_ICON_FILE}</string>
669 <property name="winIconFile">
670 <object class="com.install4j.api.beans.ExternalFile">
671 <string>${compiler:JALVIEW_DIR}/${compiler:WINDOWS_ICONS_FILE}</string>
675 <condition>context.getBooleanVariable("createDesktopLinkAction")</condition>
677 <action id="576" beanClass="com.install4j.runtime.beans.actions.desktop.AddToDockAction" actionElevationType="none" rollbackBarrierExitCode="0">
679 <property name="executable">
680 <object class="java.io.File">
681 <string>${compiler:JALVIEW_APPLICATION_NAME}.app</string>
685 <condition>context.getBooleanVariable("addToDockAction")</condition>
687 <action name="Linux/Unix symlink" id="2733" beanClass="com.install4j.runtime.beans.actions.files.CreateSymlinkAction" rollbackBarrierExitCode="0" errorMessage="Could not make symlink to wrapper script">
689 <property name="file">
690 <object class="java.io.File">
691 <string>${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:BASH_WRAPPER_SCRIPT}</string>
694 <property name="linkFile">
695 <object class="java.io.File">
696 <string>${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:WRAPPER_LINK}</string>
700 <condition>Util.isLinux() || Util.isUnixInstaller() || Util.isMacOS()</condition>
702 <action name="Add Jalview bin to the user's path (Windows)" id="2740" beanClass="com.install4j.runtime.beans.actions.misc.ModifyEnvironmentVariableAction" actionElevationType="elevated" rollbackBarrierExitCode="0" errorMessage="Could not add "${installer:sys.contentDir}\${compiler:WRAPPER_SCRIPT_BIN_DIR}" to the Path environment variable">
704 <property name="type" type="enum" class="com.install4j.runtime.beans.actions.misc.ModifyStringType" value="APPEND" />
705 <property name="value" type="string">${installer:sys.contentDir}\${compiler:WRAPPER_SCRIPT_BIN_DIR}</property>
706 <property name="variableName" type="string">Path</property>
708 <condition>context.getBooleanVariable("appendToPathAction")</condition>
710 <action name="Create Linux/Unix symbolic link to jalview.sh in user's local bin" id="2739" beanClass="com.install4j.runtime.beans.actions.files.CreateSymlinkAction" rollbackBarrierExitCode="0" errorMessage="Could not make a ${compiler:WRAPPER_LINK} symbolic link in ~/${installer:unixUserBinDir}">
712 <property name="file">
713 <object class="java.io.File">
714 <string>${installer:sys.contentDir}/${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:BASH_WRAPPER_SCRIPT}</string>
717 <property name="linkFile">
718 <object class="java.io.File">
719 <string>${installer:unixUserBinDir}/${compiler:WRAPPER_LINK}</string>
723 <condition>context.getBooleanVariable("makeSymbolicLinkAction") && ( Util.isLinux() || Util.isUnixInstaller() ) && ( context.getVariable("unixUserBinDir") != null )</condition>
725 <action name="Create macOS symbolic link to jalview in user's local bin" id="2743" beanClass="com.install4j.runtime.beans.actions.files.CreateSymlinkAction" rollbackBarrierExitCode="0" errorMessage="Could not make a ${compiler:WRAPPER_LINK} symbolic link in ~/${installer:unixUserBinDir}">
727 <property name="file">
728 <object class="java.io.File">
729 <string>${installer:macWrapperLinkLocation}</string>
732 <property name="linkFile">
733 <object class="java.io.File">
734 <string>${installer:unixUserBinDir}/${compiler:WRAPPER_LINK}</string>
738 <condition>context.getBooleanVariable("makeSymbolicLinkAction") && Util.isMacOS() && ( context.getVariable("unixUserBinDir") != null ) && ( context.getVariable("macWrapperLinkLocation") != null )</condition>
740 <action name="Windows copy BAT file" id="2817" beanClass="com.install4j.runtime.beans.actions.files.CopyFileAction" rollbackBarrierExitCode="0">
742 <property name="destinationFile">
743 <object class="java.io.File">
744 <string>${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:WRAPPER_LINK}.bat</string>
747 <property name="files" type="array" class="java.io.File" length="1">
749 <object class="java.io.File">
750 <string>${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:BATCH_WRAPPER_SCRIPT}</string>
755 <condition>Util.isWindows() && !(((String)context.getCompilerVariable("WRAPPER_LINK")+".bat").equals((String)context.getCompilerVariable("BATCH_WRAPPER_SCRIPT")))</condition>
757 <action name="Windows copy PS1 file" id="2818" beanClass="com.install4j.runtime.beans.actions.files.CopyFileAction" rollbackBarrierExitCode="0">
759 <property name="destinationFile">
760 <object class="java.io.File">
761 <string>${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:WRAPPER_LINK}.ps1</string>
764 <property name="files" type="array" class="java.io.File" length="1">
766 <object class="java.io.File">
767 <string>${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:POWERSHELL_WRAPPER_SCRIPT}</string>
772 <condition>Util.isWindows() && !(((String)context.getCompilerVariable("WRAPPER_LINK")+".ps1").equals((String)context.getCompilerVariable("POWERSHELL_WRAPPER_SCRIPT")))</condition>
776 <formComponent id="21" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent" insetBottom="10">
778 <property name="labelText" type="string">${form:finishedMessage}</property>
781 <formComponent name="Add a desktop link" id="574" beanClass="com.install4j.runtime.beans.formcomponents.CheckboxComponent">
783 <property name="checkboxText" type="string">${i18n:CreateDesktopIcon}</property>
784 <property name="initiallySelected" type="boolean" value="true" />
785 <property name="variableName" type="string">createDesktopLinkAction</property>
787 <visibilityScript>!Util.isMacOS()</visibilityScript>
789 <formComponent name="Add an executable to the dock" id="577" beanClass="com.install4j.runtime.beans.formcomponents.CheckboxComponent">
791 <property name="checkboxText" type="string">${i18n:AddToDock}</property>
792 <property name="initiallySelected" type="boolean" value="true" />
793 <property name="variableName" type="string">addToDockAction</property>
795 <visibilityScript>Util.isMacOS()</visibilityScript>
797 <formComponent name="Add jalview bin to the user's Path environment variable (Windows)" id="2734" beanClass="com.install4j.runtime.beans.formcomponents.CheckboxComponent">
799 <property name="checkboxText" type="string">Add ${compiler:JALVIEW_APPLICATION_NAME}'s bin folder to the Path environment variable</property>
800 <property name="initiallySelected" type="boolean" value="true" />
801 <property name="variableName" type="string">appendToPathAction</property>
803 <visibilityScript>Util.isWindows()</visibilityScript>
805 <formComponent name="Make a symbolic link to jalview.sh bash script in the user's local bin (Linux or Unix)" id="2736" beanClass="com.install4j.runtime.beans.formcomponents.CheckboxComponent">
807 <property name="checkboxText" type="string">Make a ${compiler:WRAPPER_LINK} symbolic link in ${installer:unixUserBinDir}</property>
808 <property name="initiallySelected" type="boolean" value="true" />
809 <property name="variableName" type="string">makeSymbolicLinkAction</property>
811 <visibilityScript>( Util.isLinux() || Util.isUnixInstaller() || ( Util.isMacOS() && ( context.getVariable("macWrapperLinkLocation") != null ) ) ) && ( context.getVariable("unixUserBinDir") != null )</visibilityScript>
817 <application id="uninstaller" beanClass="com.install4j.runtime.beans.applications.UninstallerApplication" styleId="35">
819 <property name="customMacosExecutableName" type="string">${i18n:UninstallerMenuEntry(${compiler:sys.fullName})}</property>
820 <property name="useCustomMacosExecutableName" type="boolean" value="true" />
823 <styleOverride name="Customize banner image" enabled="true">
824 <group id="147" beanClass="com.install4j.runtime.beans.groups.VerticalFormComponentGroup" useExternalParametrization="true" externalParametrizationName="Customize banner image" externalParametrizationMode="include">
826 <property name="backgroundColor">
827 <object class="com.install4j.runtime.beans.LightOrDarkColor">
828 <object class="java.awt.Color">
834 <object class="java.awt.Color">
842 <property name="borderSides">
843 <object class="com.install4j.runtime.beans.formcomponents.BorderSides">
844 <property name="bottom" type="boolean" value="true" />
847 <property name="imageEdgeBackgroundColor">
848 <object class="java.awt.Color">
855 <property name="imageEdgeBorder" type="boolean" value="true" />
856 <property name="imageFile">
857 <object class="com.install4j.api.beans.ExternalFile">
858 <string>${compiler:JALVIEW_DIR}/${compiler:BACKGROUND}</string>
861 <property name="insets">
862 <object class="java.awt.Insets">
870 <externalParametrizationPropertyNames>
871 <propertyName>imageAnchor</propertyName>
872 <propertyName>imageEdgeBackgroundColor</propertyName>
873 <propertyName>imageFile</propertyName>
874 </externalParametrizationPropertyNames>
879 <screen id="23" beanClass="com.install4j.runtime.beans.screens.StartupScreen" rollbackBarrierExitCode="0">
881 <action id="33" beanClass="com.install4j.runtime.beans.actions.misc.LoadResponseFileAction" rollbackBarrierExitCode="0" />
882 <action id="34" beanClass="com.install4j.runtime.beans.actions.misc.RequireInstallerPrivilegesAction" actionElevationType="none" rollbackBarrierExitCode="0" />
887 <screen id="24" beanClass="com.install4j.runtime.beans.screens.UninstallWelcomeScreen" rollbackBarrierExitCode="0">
889 <formComponent id="25" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent" insetBottom="10">
891 <property name="labelText" type="string">${form:welcomeMessage}</property>
893 <visibilityScript>!context.isConsole()</visibilityScript>
895 <formComponent id="26" beanClass="com.install4j.runtime.beans.formcomponents.ConsoleHandlerFormComponent">
897 <property name="consoleScript">
898 <object class="com.install4j.api.beans.ScriptProperty">
899 <property name="value" type="string">String message = context.getMessage("ConfirmUninstall", context.getApplicationName());
900 return console.askYesNo(message, true);
908 <screen id="27" beanClass="com.install4j.runtime.beans.screens.UninstallationScreen" rollbackBarrierExitCode="0">
910 <action id="659" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" actionElevationType="none" rollbackBarrierExitCode="0">
912 <property name="progressChangeType" type="enum" class="com.install4j.runtime.beans.actions.control.ProgressChangeType" value="SET_INDETERMINATE" />
915 <action id="29" beanClass="com.install4j.runtime.beans.actions.UninstallFilesAction" rollbackBarrierExitCode="0" />
916 <action id="660" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" enabled="false" actionElevationType="none" rollbackBarrierExitCode="0">
918 <property name="percentValue" type="int" value="95" />
921 <action id="1525" beanClass="com.install4j.runtime.beans.actions.files.DeleteFileAction" rollbackBarrierExitCode="0">
923 <property name="files" type="array" class="java.io.File" length="40">
925 <object class="java.io.File">
930 <object class="java.io.File">
931 <string>jre.jar</string>
935 <object class="java.io.File">
936 <string>.install4j</string>
940 <object class="java.io.File">
941 <string>getdown-launcher.jar</string>
945 <object class="java.io.File">
946 <string>getdown-launcher-old.jar</string>
950 <object class="java.io.File">
951 <string>getdown-launcher-new.jar</string>
955 <object class="java.io.File">
956 <string>gettingdown.lock</string>
960 <object class="java.io.File">
961 <string>jre.zip</string>
965 <object class="java.io.File">
966 <string>digest.txt</string>
970 <object class="java.io.File">
971 <string>digest2.txt</string>
975 <object class="java.io.File">
976 <string>getdown-launcher.jarv</string>
980 <object class="java.io.File">
981 <string>getdown-launcher-new.jarv</string>
985 <object class="java.io.File">
986 <string>launcher.log</string>
990 <object class="java.io.File">
991 <string>proxy.txt</string>
995 <object class="java.io.File">
996 <string>build_properties</string>
1000 <object class="java.io.File">
1001 <string>channel_launch*.jvl</string>
1004 <element index="16">
1005 <object class="java.io.File">
1006 <string>jalview*.jvl</string>
1009 <element index="17">
1010 <object class="java.io.File">
1011 <string>*.jarv</string>
1014 <element index="18">
1015 <object class="java.io.File">
1016 <string>*.log</string>
1019 <element index="19">
1020 <object class="java.io.File">
1021 <string>*.txt</string>
1024 <element index="20">
1025 <object class="java.io.File">
1026 <string>*_new</string>
1029 <element index="21">
1030 <object class="java.io.File">
1031 <string>hs_err_*.*</string>
1034 <element index="22">
1035 <object class="java.io.File">
1036 <string>${compiler:GETDOWN_DIST_DIR}</string>
1039 <element index="23">
1040 <object class="java.io.File">
1041 <string>${compiler:GETDOWN_ALT_DIR}</string>
1044 <element index="24">
1045 <object class="java.io.File">
1046 <string>${compiler:GETDOWN_RESOURCE_DIR}</string>
1049 <element index="25">
1050 <object class="java.io.File">
1051 <string>META-INF</string>
1054 <element index="26">
1055 <object class="java.io.File">
1056 <string>install</string>
1059 <element index="27">
1060 <object class="java.io.File">
1061 <string>resource</string>
1064 <element index="28">
1065 <object class="java.io.File">
1066 <string>dist</string>
1069 <element index="29">
1070 <object class="java.io.File">
1071 <string>release</string>
1074 <element index="30">
1075 <object class="java.io.File">
1076 <string>alt</string>
1079 <element index="31">
1080 <object class="java.io.File">
1081 <string>dev</string>
1084 <element index="32">
1085 <object class="java.io.File">
1086 <string>build</string>
1089 <element index="33">
1090 <object class="java.io.File">
1091 <string>alt_*</string>
1094 <element index="34">
1095 <object class="java.io.File">
1096 <string>dev_*</string>
1099 <element index="35">
1100 <object class="java.io.File">
1101 <string>build_*</string>
1104 <element index="36">
1105 <object class="java.io.File">
1106 <string>${compiler:WRAPPER_SCRIPT_BIN_DIR}</string>
1109 <element index="37">
1110 <object class="java.io.File">
1111 <string>bin</string>
1114 <element index="38">
1115 <object class="java.io.File">
1116 <string>channel.props</string>
1119 <element index="39">
1120 <object class="java.io.File">
1121 <string>channel.propsv</string>
1125 <property name="recursive" type="boolean" value="true" />
1128 <action id="1791" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" actionElevationType="none" rollbackBarrierExitCode="0">
1130 <property name="percentValue" type="int" value="100" />
1135 <formComponent id="28" beanClass="com.install4j.runtime.beans.formcomponents.ProgressComponent">
1137 <property name="initialStatusMessage" type="string">${i18n:UninstallerPreparing}</property>
1142 <screen id="32" beanClass="com.install4j.runtime.beans.screens.UninstallFailureScreen" rollbackBarrierExitCode="0" finishScreen="true" />
1143 <screen id="30" beanClass="com.install4j.runtime.beans.screens.UninstallSuccessScreen" styleId="41" rollbackBarrierExitCode="0" finishScreen="true">
1145 <formComponent id="31" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent" insetBottom="10">
1147 <property name="labelText" type="string">${form:successMessage}</property>
1154 <application name="MacOS Setup" id="2746" beanClass="com.install4j.runtime.beans.applications.CustomApplication" fileset="734" macEntitlementsFile="${compiler:JALVIEW_DIR}/utils/osx_signing/entitlements.txt">
1156 <property name="executableDirectory">
1157 <object class="java.io.File">
1161 <property name="executableName" type="string">${compiler:WRAPPER_LINK}_setup</property>
1162 <property name="windowTitle" type="string">${compiler:sys.fullName}</property>
1165 <screen id="2747" beanClass="com.install4j.runtime.beans.screens.StartupScreen" rollbackBarrierExitCode="0">
1167 <link id="2749" targetId="22" />
1168 <link id="2750" targetId="2738" />
1169 <link id="2751" targetId="2745" />
1174 <screen id="2772" beanClass="com.install4j.runtime.beans.screens.FormScreen" rollbackBarrierExitCode="0" backButton="hidden" finishScreen="true">
1176 <property name="title" type="string">Running ${i18n:SetupAppTitle}</property>
1179 <link id="2778" targetId="576" />
1180 <link id="2779" targetId="2743" />
1183 <formComponent id="2773" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent" insetBottom="10">
1185 <property name="labelText" type="string">${i18n:FinishedLabel(${compiler:JALVIEW_APPLICATION_NAME})}</property>
1188 <formComponent name="Add an executable to the dock" id="2775" beanClass="com.install4j.runtime.beans.formcomponents.CheckboxComponent">
1190 <property name="checkboxText" type="string">${i18n:AddToDock}</property>
1191 <property name="initiallySelected" type="boolean" value="true" />
1192 <property name="variableName" type="string">addToDockAction</property>
1194 <visibilityScript>Util.isMacOS()</visibilityScript>
1196 <formComponent name="Make a symbolic link to jalview.sh bash script in the user's local bin (Linux or Unix)" id="2777" beanClass="com.install4j.runtime.beans.formcomponents.CheckboxComponent">
1198 <property name="checkboxText" type="string">Make a ${compiler:WRAPPER_LINK} symbolic link in ${installer:unixUserBinDir}</property>
1199 <property name="initiallySelected" type="boolean" value="true" />
1200 <property name="variableName" type="string">makeSymbolicLinkAction</property>
1202 <visibilityScript>( Util.isLinux() || Util.isUnixInstaller() || ( Util.isMacOS() && ( context.getVariable("macWrapperLinkLocation") != null ) ) ) && ( context.getVariable("unixUserBinDir") != null )</visibilityScript>
1204 <formComponent id="2780" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent">
1206 <property name="labelText" type="string">
1209 ${compiler:JALVIEW_APPLICATION_NAME} will now launch.</property>
1217 <styles defaultStyleId="35">
1218 <style name="Standard" id="35" beanClass="com.install4j.runtime.beans.styles.FormStyle">
1220 <formComponent name="Header" id="36" beanClass="com.install4j.runtime.beans.styles.NestedStyleComponent" insetTop="0" insetBottom="0">
1222 <property name="styleId" type="string">48</property>
1225 <group name="Main" id="37" beanClass="com.install4j.runtime.beans.groups.VerticalFormComponentGroup">
1227 <property name="imageEdgeAxisType" type="enum" class="com.install4j.runtime.beans.formcomponents.AxisType" value="HORIZONTAL" />
1228 <property name="imageEdgeBackgroundColor">
1229 <object class="java.awt.Color">
1236 <property name="imageFile">
1237 <object class="com.install4j.api.beans.ExternalFile">
1238 <string>${compiler:JALVIEW_DIR}/${compiler:BACKGROUND}</string>
1241 <property name="imageOverlap" type="boolean" value="true" />
1244 <formComponent id="38" beanClass="com.install4j.runtime.beans.styles.ContentComponent" insetTop="10" insetLeft="20" insetBottom="10" insetRight="20" />
1245 <formComponent name="Watermark" id="39" beanClass="com.install4j.runtime.beans.formcomponents.SeparatorComponent" insetTop="0" insetLeft="5" insetBottom="0" useExternalParametrization="true" externalParametrizationName="${compiler:JALVIEW_APPLICATION_NAME}" externalParametrizationMode="include">
1247 <property name="enabledTitleText" type="boolean" value="false" />
1249 <externalParametrizationPropertyNames>
1250 <propertyName>labelText</propertyName>
1251 </externalParametrizationPropertyNames>
1253 <formComponent name="Footer" id="40" beanClass="com.install4j.runtime.beans.styles.NestedStyleComponent" insetTop="0" insetBottom="0">
1255 <property name="styleId" type="string">52</property>
1262 <style name="Banner" id="41" beanClass="com.install4j.runtime.beans.styles.FormStyle">
1264 <group id="42" beanClass="com.install4j.runtime.beans.groups.VerticalFormComponentGroup" useExternalParametrization="true" externalParametrizationName="Customize banner image" externalParametrizationMode="include">
1266 <property name="backgroundColor">
1267 <object class="com.install4j.runtime.beans.LightOrDarkColor">
1268 <object class="java.awt.Color">
1274 <object class="java.awt.Color">
1282 <property name="borderSides">
1283 <object class="com.install4j.runtime.beans.formcomponents.BorderSides">
1284 <property name="bottom" type="boolean" value="true" />
1287 <property name="imageEdgeBackgroundColor">
1288 <object class="com.install4j.runtime.beans.LightOrDarkColor">
1289 <object class="java.awt.Color">
1295 <object class="java.awt.Color">
1303 <property name="imageEdgeBorder" type="boolean" value="true" />
1304 <property name="imageFile">
1305 <object class="com.install4j.api.beans.ExternalFile">
1306 <string>${compiler:sys.install4jHome}/resource/styles/wizard.png</string>
1309 <property name="insets">
1310 <object class="java.awt.Insets">
1319 <formComponent id="43" beanClass="com.install4j.runtime.beans.styles.ScreenTitleComponent" insetTop="0">
1321 <property name="labelFontSizePercent" type="int" value="130" />
1322 <property name="labelFontStyle" type="enum" class="com.install4j.runtime.beans.formcomponents.FontStyle" value="BOLD" />
1323 <property name="labelFontType" type="enum" class="com.install4j.runtime.beans.formcomponents.FontType" value="DERIVED" />
1326 <formComponent id="44" beanClass="com.install4j.runtime.beans.formcomponents.SeparatorComponent" />
1327 <formComponent id="45" beanClass="com.install4j.runtime.beans.styles.ContentComponent" insetTop="10" insetBottom="0" />
1329 <externalParametrizationPropertyNames>
1330 <propertyName>imageAnchor</propertyName>
1331 <propertyName>imageEdgeBackgroundColor</propertyName>
1332 <propertyName>imageFile</propertyName>
1333 </externalParametrizationPropertyNames>
1335 <formComponent id="46" beanClass="com.install4j.runtime.beans.styles.NestedStyleComponent" insetBottom="0">
1337 <property name="styleId" type="string">52</property>
1342 <group name="Style components" id="47" beanClass="com.install4j.runtime.beans.groups.StyleGroup">
1344 <style name="Standard header" id="48" beanClass="com.install4j.runtime.beans.styles.FormStyle">
1346 <property name="fillVertical" type="boolean" value="false" />
1347 <property name="standalone" type="boolean" value="false" />
1348 <property name="verticalAnchor" type="enum" class="com.install4j.api.beans.Anchor" value="NORTH" />
1351 <group id="49" beanClass="com.install4j.runtime.beans.groups.VerticalFormComponentGroup" useExternalParametrization="true" externalParametrizationName="Customize title bar" externalParametrizationMode="include">
1353 <property name="backgroundColor">
1354 <object class="com.install4j.runtime.beans.LightOrDarkColor">
1355 <object class="java.awt.Color">
1361 <object class="java.awt.Color">
1369 <property name="borderSides">
1370 <object class="com.install4j.runtime.beans.formcomponents.BorderSides">
1371 <property name="bottom" type="boolean" value="true" />
1374 <property name="imageAnchor" type="enum" class="com.install4j.api.beans.Anchor" value="NORTHEAST" />
1375 <property name="imageEdgeBorderWidth" type="int" value="2" />
1376 <property name="imageFile">
1377 <object class="com.install4j.api.beans.ExternalFile">
1378 <string>icon:${installer:sys.installerApplicationMode}_header.png</string>
1381 <property name="imageInsets">
1382 <object class="java.awt.Insets">
1389 <property name="insets">
1390 <object class="java.awt.Insets">
1399 <formComponent name="Title" id="50" beanClass="com.install4j.runtime.beans.styles.ScreenTitleComponent">
1401 <property name="labelFontStyle" type="enum" class="com.install4j.runtime.beans.formcomponents.FontStyle" value="BOLD" />
1402 <property name="labelFontType" type="enum" class="com.install4j.runtime.beans.formcomponents.FontType" value="DERIVED" />
1405 <formComponent name="Subtitle" id="51" beanClass="com.install4j.runtime.beans.styles.ScreenTitleComponent" insetLeft="8">
1407 <property name="titleType" type="enum" class="com.install4j.runtime.beans.styles.TitleType" value="SUB_TITLE" />
1411 <externalParametrizationPropertyNames>
1412 <propertyName>backgroundColor</propertyName>
1413 <propertyName>foregroundColor</propertyName>
1414 <propertyName>imageAnchor</propertyName>
1415 <propertyName>imageFile</propertyName>
1416 <propertyName>imageOverlap</propertyName>
1417 </externalParametrizationPropertyNames>
1421 <style name="Standard footer" id="52" beanClass="com.install4j.runtime.beans.styles.FormStyle">
1423 <property name="fillVertical" type="boolean" value="false" />
1424 <property name="standalone" type="boolean" value="false" />
1425 <property name="verticalAnchor" type="enum" class="com.install4j.api.beans.Anchor" value="SOUTH" />
1428 <group id="53" beanClass="com.install4j.runtime.beans.groups.HorizontalFormComponentGroup">
1430 <property name="alignFirstLabel" type="boolean" value="false" />
1431 <property name="insets">
1432 <object class="java.awt.Insets">
1441 <formComponent id="54" beanClass="com.install4j.runtime.beans.formcomponents.SpringComponent" />
1442 <formComponent name="Back button" id="55" beanClass="com.install4j.runtime.beans.styles.StandardControlButtonComponent">
1444 <property name="buttonText" type="string">< ${i18n:ButtonBack}</property>
1445 <property name="controlButtonType" type="enum" class="com.install4j.api.context.ControlButtonType" value="PREVIOUS" />
1448 <formComponent name="Next button" id="56" beanClass="com.install4j.runtime.beans.styles.StandardControlButtonComponent">
1450 <property name="buttonText" type="string">${i18n:ButtonNext} ></property>
1451 <property name="controlButtonType" type="enum" class="com.install4j.api.context.ControlButtonType" value="NEXT" />
1454 <formComponent name="Cancel button" id="57" beanClass="com.install4j.runtime.beans.styles.StandardControlButtonComponent" insetLeft="5">
1456 <property name="buttonText" type="string">${i18n:ButtonCancel}</property>
1457 <property name="controlButtonType" type="enum" class="com.install4j.api.context.ControlButtonType" value="CANCEL" />
1469 <windows name="Windows x64 EXE Installer" id="743" customizedId="WINDOWS-X64-EXE" mediaFileName="${compiler:APPLICATION_FOLDER}-${compiler:JALVIEW_VERSION}-${compiler:sys.platform}-java_${compiler:JAVA_INTEGER_VERSION}" installDir="${compiler:APPLICATION_FOLDER}" runPostProcessor="true" postProcessor="${compiler:JSIGN_SH} $EXECUTABLE" customInstallBaseDir="~/AppData/Local" architecture="64">
1471 <bean refId="2746" />
1474 <entry defaultFileset="true" />
1475 <entry filesetId="2801" />
1476 <entry filesetId="2803" />
1478 <jreBundle jreBundleSource="preCreated" includedJre="${compiler:WINDOWS_X64_JAVA_VM_TGZ}" manualJreEntry="true" />
1480 <macosArchive name="macOS x64 Disk Image" id="878" customizedId="MACOS-X64-DMG" mediaFileName="${compiler:APPLICATION_FOLDER}-${compiler:JALVIEW_VERSION}-${compiler:sys.platform}-x64-java_${compiler:JAVA_INTEGER_VERSION}" volumeName="${compiler:INSTALLER_NAME}" launcherId="737" setupAppId="2746">
1482 <entry defaultFileset="true" />
1483 <entry filesetId="2803" />
1485 <jreBundle jreBundleSource="none" includedJre="${compiler:MACOS_X64_JAVA_VM_TGZ}" manualJreEntry="true" />
1487 <symlink name="" "" target="/Applications" />
1488 <file name=".background/jalview_dmg_background.png" file="${compiler:JALVIEW_DIR}/${compiler:MACOS_DMG_BG_IMAGE}" />
1489 <file name=".DS_Store" file="${compiler:JALVIEW_DIR}/${compiler:MACOS_DMG_DS_STORE}" />
1490 <file name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/Jalview-File.icns" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/Jalview-File.icns" />
1491 <file name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/jvl_file.icns" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/jvl_file.icns" />
1492 <symlink name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/MacOS/${compiler:WRAPPER_LINK}" target="../Resources/app/${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:BASH_WRAPPER_SCRIPT}" />
1493 <symlink name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/app/jre/Contents/Home/bin/${compiler:JALVIEW_APPLICATION_NAME}" target="java" />
1494 <symlink name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/app/jre/Contents/Home/bin/${compiler:JALVIEW_NAME}" target="java" />
1497 <macosArchive name="macOS aarch64 Disk Image" id="2796" customizedId="MACOS-AARCH64-DMG" mediaFileName="${compiler:APPLICATION_FOLDER}-${compiler:JALVIEW_VERSION}-${compiler:sys.platform}-aarch64-java_${compiler:JAVA_INTEGER_VERSION}" volumeName="${compiler:INSTALLER_NAME}" architecture="aarch64" launcherId="737" setupAppId="2746">
1499 <entry defaultFileset="true" />
1500 <entry filesetId="2801" />
1502 <jreBundle jreBundleSource="none" />
1504 <symlink name="" "" target="/Applications" />
1505 <file name=".background/jalview_dmg_background.png" file="${compiler:JALVIEW_DIR}/${compiler:MACOS_DMG_BG_IMAGE}" />
1506 <file name=".DS_Store" file="${compiler:JALVIEW_DIR}/${compiler:MACOS_DMG_DS_STORE}" />
1507 <file name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/Jalview-File.icns" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/Jalview-File.icns" />
1508 <file name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/jvl_file.icns" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/jvl_file.icns" />
1509 <symlink name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/MacOS/${compiler:WRAPPER_LINK}" target="../Resources/app/${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:BASH_WRAPPER_SCRIPT}" />
1510 <symlink name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/app/jre/Contents/Home/bin/${compiler:JALVIEW_APPLICATION_NAME}" target="java" />
1511 <symlink name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/app/jre/Contents/Home/bin/${compiler:JALVIEW_NAME}" target="java" />
1514 <unixInstaller name="Linux x64 Shell Installer" id="1595" customizedId="LINUX-X64-SH" mediaFileName="${compiler:UNIX_APPLICATION_FOLDER}-${compiler:JALVIEW_VERSION}-linux-x64-java_${compiler:JAVA_INTEGER_VERSION}" installDir="${compiler:UNIX_APPLICATION_FOLDER}" customInstallBaseDir="~/opt/">
1516 <bean refId="2746" />
1519 <entry defaultFileset="true" />
1520 <entry filesetId="2801" />
1521 <entry filesetId="2803" />
1523 <jreBundle jreBundleSource="preCreated" includedJre="${compiler:LINUX_X64_JAVA_VM_TGZ}" manualJreEntry="true" />
1525 <unixInstaller name="Linux aarch64 Shell Installer" id="2782" customizedId="LINUX-AARCH64-SH" mediaFileName="${compiler:UNIX_APPLICATION_FOLDER}-${compiler:JALVIEW_VERSION}-linux-aarch64-java_${compiler:JAVA_INTEGER_VERSION}" installDir="${compiler:UNIX_APPLICATION_FOLDER}" customInstallBaseDir="~/opt/">
1527 <bean refId="2746" />
1530 <entry defaultFileset="true" />
1531 <entry filesetId="2801" />
1532 <entry filesetId="2803" />
1534 <jreBundle jreBundleSource="preCreated" includedJre="${compiler:LINUX_AARCH64_JAVA_VM_TGZ}" manualJreEntry="true" />
1536 <unixArchive name="Unix .tar.gz Archive" id="1596" customizedId="UNIX--TGZ" mediaFileName="${compiler:UNIX_APPLICATION_FOLDER}-${compiler:JALVIEW_VERSION}-${compiler:sys.platform}-java_${compiler:JAVA_INTEGER_VERSION}" installDir="${compiler:UNIX_APPLICATION_FOLDER}">
1538 <bean refId="2746" />
1541 <entry defaultFileset="true" />
1542 <entry filesetId="2801" />
1543 <entry filesetId="2803" />
1545 <jreBundle jreBundleSource="none" includedJre="${compiler:LINUX_X64_JAVA_VM_TGZ}" manualJreEntry="true" />
1547 <unixInstaller name="Unix Shell Installer" id="2639" customizedId="UNIX--SH" mediaFileName="${compiler:UNIX_APPLICATION_FOLDER}-${compiler:JALVIEW_VERSION}-${compiler:sys.platform}-java_${compiler:JAVA_INTEGER_VERSION}" installDir="${compiler:UNIX_APPLICATION_FOLDER}" customInstallBaseDir="~/opt/">
1549 <bean refId="2746" />
1552 <entry defaultFileset="true" />
1553 <entry filesetId="2801" />
1554 <entry filesetId="2803" />
1556 <jreBundle jreBundleSource="none" includedJre="${compiler:LINUX_X64_JAVA_VM_TGZ}" manualJreEntry="true" />
1560 <mediaSet refId="743" />
1561 <mediaSet refId="878" />
1562 <mediaSet refId="2796" />
1563 <mediaSet refId="1595" />
1564 <mediaSet refId="2782" />
1565 <mediaSet refId="1596" />
1566 <mediaSet refId="2639" />