39c0b4828abd4fa93f76e37cfce7fe492c407511
[jalview.git] / utils / install4j / install4j10_template.install4j
1 <?xml version="1.0" encoding="UTF-8"?>
2 <install4j version="10.0.7" 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">
5     <searchSequence>
6       <directory location="${compiler:JRE_DIR}" />
7       <registry />
8       <envVar name="JAVA_HOME" />
9     </searchSequence>
10     <variables>
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_X86_JAVA_VM_DIR" value="${compiler:env.HOME}/buildtools/jre/jre-${compiler:JAVA_INTEGER_VERSION}-mac-x/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_X86_JAVA_VM_DIR" value="${compiler:env.HOME}/buildtools/jre/jre-${compiler:JAVA_INTEGER_VERSION}-windows-x64/jre" />
29       <variable name="LINUX_X86_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_X86_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_X86_JAVA_VM_TGZ" value="${compiler:env.HOME}/buildtools/jre/tgz/jre_${compiler:JAVA_INTEGER_VERSION}_windows_x64.tar.gz" />
34       <variable name="LINUX_X86_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="MACOS_DMG_BG_FILENAME" value="background.png" />
43       <variable name="WRAPPER_LINK" value="jalview" />
44       <variable name="BASH_WRAPPER_SCRIPT" value="jalview.sh" />
45       <variable name="WRAPPER_SCRIPT_BIN_DIR" value="bin" />
46       <variable name="MACOSARCHIVE_X86_NAME" value="Install Jalview (Intel)" />
47       <variable name="MACOSARCHIVE_AARCH64_NAME" value="Install Jalview (Apple Silicon)" />
48       <variable name="INSTALL4J_UTILS_DIR" value="utils/install4j" />
49       <variable name="GETDOWN_CHANNEL_DIR" value="build/website/docroot/getdown/default" />
50       <variable name="GETDOWN_FILES_DIR" value="getdown/files" />
51       <variable name="GETDOWN_RESOURCE_DIR" value="resource" />
52       <variable name="GETDOWN_DIST_DIR" value="dist" />
53       <variable name="GETDOWN_ALT_DIR" value="alt" />
54       <variable name="GETDOWN_INSTALL_DIR" value="install" />
55       <variable name="INFO_PLIST_FILE_ASSOCIATIONS_FILE" value="file_associations_auto-Info_plist.xml" />
56       <variable name="APPLICATION_CATEGORIES" value="Science;Biology;Java;" />
57       <variable name="APPLICATION_FOLDER" value="Jalview" />
58       <variable name="UNIX_APPLICATION_FOLDER" value="jalview" />
59       <variable name="EXECUTABLE_NAME" value="jalviewg" />
60       <variable name="EXTRA_SCHEME" value="jalviewx" />
61       <variable name="MAC_ICONS_FILE" value="utils/channels/release/images/jalview_logo.icns" />
62       <variable name="WINDOWS_ICONS_FILE" value="utils/channels/release/images/jalview_logo.ico" />
63       <variable name="PNG_ICON_FILE" value="utils/channels/release/images/jalview_logo.png" />
64       <variable name="BACKGROUND" value="utils/channels/release/images/jalview_logo_background_fade-640x480.png" />
65       <variable name="BATCH_WRAPPER_SCRIPT" value="jalview.bat" />
66       <variable name="POWERSHELL_WRAPPER_SCRIPT" value="jalview.ps1" />
67       <variable name="WIZARD_WIDTH" value="640" description="Default/initial width of installer wizard window.  Linux media types adapt this.&#xA;NOT USED" />
68       <variable name="WIZARD_HEIGHT" value="480" description="Default/initial width of installer wizard window.  Linux media types adapt this.&#xA;NOT USED" />
69     </variables>
70     <codeSigning macEnabled="true" macPkcs12File="${compiler:OSX_KEYSTORE}" macNotarize="true" appleId="${compiler:OSX_APPLEID}">
71       <macAdditionalBinaries>
72         <entry>*.dylib</entry>
73         <entry>*.so</entry>
74         <entry>*.jnilib</entry>
75         <entry>unpack200</entry>
76         <entry>tnameserv</entry>
77         <entry>servertool</entry>
78         <entry>rmiregistry</entry>
79         <entry>rmid</entry>
80         <entry>policytool</entry>
81         <entry>pack200</entry>
82         <entry>orbd</entry>
83         <entry>keytool</entry>
84         <entry>jjs</entry>
85         <entry>java</entry>
86         <entry>jspawnhelper</entry>
87         <entry>libfreetype.dylib.6</entry>
88         <entry>applet</entry>
89         <entry>jaotc</entry>
90         <entry>jfr</entry>
91         <entry>jrunscript</entry>
92         <entry>libjli.dylib</entry>
93       </macAdditionalBinaries>
94     </codeSigning>
95   </application>
96   <files defaultUninstallMode="2">
97     <filesets>
98       <fileset name="Full file set" id="734" customizedId="FULL_FILE_SET" />
99       <fileset name="macOS x64 JVM" id="2801" customizedId="MACOS_X86_JVM" />
100       <fileset name="macOS aarch64 JVM" id="2803" customizedId="MACOS_AARCH64_JVM" />
101     </filesets>
102     <roots>
103       <root id="735" fileset="734" />
104       <root id="2802" fileset="2801" />
105       <root id="2804" fileset="2803" />
106     </roots>
107     <mountPoints>
108       <mountPoint id="736" root="735" />
109       <mountPoint id="2805" root="2802" />
110       <mountPoint id="2806" root="2804" />
111     </mountPoints>
112     <entries>
113       <dirEntry mountPoint="736" file="${compiler:JALVIEW_DIR}/${compiler:GETDOWN_CHANNEL_DIR}/${compiler:JAVA_VERSION}" uninstallMode="2" overrideOverwriteMode="true" overrideUninstallMode="true" subDirectory="files">
114         <exclude>
115           <entry location="${compiler:WRAPPER_SCRIPT_BIN_DIR}" />
116         </exclude>
117       </dirEntry>
118       <dirEntry mountPoint="736" file="${compiler:JALVIEW_DIR}/examples" overwriteMode="1" uninstallMode="2" overrideFileMode="true" overrideOverwriteMode="true" overrideUninstallMode="true" entryMode="subdir" subDirectory="examples" />
119       <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" />
120       <dirEntry mountPoint="2805" file="${compiler:MACOS_X86_JAVA_VM_DIR}" overwriteMode="1" fileMode="755" uninstallMode="2" overrideFileMode="true" overrideOverwriteMode="true" overrideUninstallMode="true" entryMode="subdir" subDirectory="${compiler:JRE_DIR}" />
121       <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}" />
122     </entries>
123     <components>
124       <component name="jalview_getdown" id="1031">
125         <include>
126           <entry filesetId="734" />
127         </include>
128       </component>
129     </components>
130   </files>
131   <launchers>
132     <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}">
133       <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">
134         <versionInfo include="true" fileDescription="${compiler:sys.fullName}" legalCopyright="${compiler:COPYRIGHT_MESSAGE}" internalName="${compiler:INTERNAL_ID}" productName="${compiler:sys.fullName}" />
135       </executable>
136       <splashScreen width="640" height="480" bitmapFile="${compiler:JALVIEW_DIR}/${compiler:BACKGROUND}" textOverlay="true">
137         <text>
138           <statusLine x="85" y="81" text="${compiler:sys.shortName}" fontSize="18" />
139           <versionLine x="85" y="109" text="version ${compiler:sys.version}" />
140         </text>
141       </splashScreen>
142       <java mainClass="com.threerings.getdown.launcher.GetdownApp" vmParameters="-Dinstaller_template_version=${compiler:INSTALLER_TEMPLATE_VERSION} -Dchannel.app_name=&quot;${compiler:JALVIEW_APPLICATION_NAME}&quot;" arguments="&quot;${launcher:sys.launcherDirectory}&quot; jalview">
143         <classPath>
144           <archive location="getdown-launcher.jar" />
145           <archive location="${compiler:GETDOWN_INSTALL_DIR}/getdown-launcher.jar" failOnError="false" />
146         </classPath>
147         <nativeLibraryDirectories>
148           <directory name="${compiler:JRE_DIR}/bin" />
149           <directory name="${compiler:GETDOWN_DIST_DIR}" />
150         </nativeLibraryDirectories>
151       </java>
152       <infoPlist>${compiler:file("${compiler:INFO_PLIST_FILE_ASSOCIATIONS_FILE}")}</infoPlist>
153       <iconImageFiles>
154         <file path="${compiler:JALVIEW_DIR}/${compiler:PNG_ICON_FILE}" />
155       </iconImageFiles>
156       <macStaticAssociations>
157         <urlHandler scheme="jalview" />
158         <urlHandler scheme="jalviews" />
159         <urlHandler scheme="jalviewhttp" />
160         <urlHandler scheme="jalviewhttps" />
161         <urlHandler scheme="${compiler:EXTRA_SCHEME}" />
162       </macStaticAssociations>
163     </launcher>
164   </launchers>
165   <installerGui autoUpdateDescriptorUrl="https://www.jalview.org/install4j/updates.xml">
166     <applications>
167       <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}">
168         <serializedBean>
169           <property name="frameHeight" type="int" value="480" />
170           <property name="frameWidth" type="int" value="640" />
171           <property name="useCustomIcon" type="boolean" value="true" />
172         </serializedBean>
173         <styleOverrides>
174           <styleOverride name="Customize banner image" enabled="true">
175             <group id="146" beanClass="com.install4j.runtime.beans.groups.VerticalFormComponentGroup" useExternalParametrization="true" externalParametrizationName="Customize banner image" externalParametrizationMode="include">
176               <serializedBean>
177                 <property name="backgroundColor">
178                   <object class="com.install4j.runtime.beans.LightOrDarkColor">
179                     <object class="java.awt.Color">
180                       <int>255</int>
181                       <int>255</int>
182                       <int>255</int>
183                       <int>255</int>
184                     </object>
185                     <object class="java.awt.Color">
186                       <int>49</int>
187                       <int>52</int>
188                       <int>53</int>
189                       <int>255</int>
190                     </object>
191                   </object>
192                 </property>
193                 <property name="borderSides">
194                   <object class="com.install4j.runtime.beans.formcomponents.BorderSides">
195                     <property name="bottom" type="boolean" value="true" />
196                   </object>
197                 </property>
198                 <property name="imageEdgeBackgroundColor">
199                   <object class="java.awt.Color">
200                     <int>255</int>
201                     <int>255</int>
202                     <int>255</int>
203                     <int>255</int>
204                   </object>
205                 </property>
206                 <property name="imageEdgeBorder" type="boolean" value="true" />
207                 <property name="imageFile">
208                   <object class="com.install4j.api.beans.ExternalFile">
209                     <string>${compiler:JALVIEW_DIR}/${compiler:BACKGROUND}</string>
210                   </object>
211                 </property>
212                 <property name="insets">
213                   <object class="java.awt.Insets">
214                     <int>5</int>
215                     <int>10</int>
216                     <int>10</int>
217                     <int>10</int>
218                   </object>
219                 </property>
220               </serializedBean>
221               <externalParametrizationPropertyNames>
222                 <propertyName>imageAnchor</propertyName>
223                 <propertyName>imageEdgeBackgroundColor</propertyName>
224                 <propertyName>imageFile</propertyName>
225               </externalParametrizationPropertyNames>
226             </group>
227           </styleOverride>
228           <styleOverride name="Jalview" enabled="true">
229             <formComponent name="Watermark" id="352" beanClass="com.install4j.runtime.beans.formcomponents.SeparatorComponent" insetTop="0" insetLeft="5" insetBottom="0" useExternalParametrization="true" externalParametrizationName="Jalview" externalParametrizationMode="include">
230               <serializedBean>
231                 <property name="enabledTitleText" type="boolean" value="false" />
232               </serializedBean>
233               <externalParametrizationPropertyNames>
234                 <propertyName>labelText</propertyName>
235               </externalParametrizationPropertyNames>
236             </formComponent>
237           </styleOverride>
238         </styleOverrides>
239         <startup>
240           <screen id="1" beanClass="com.install4j.runtime.beans.screens.StartupScreen" rollbackBarrierExitCode="0">
241             <actions>
242               <action id="22" beanClass="com.install4j.runtime.beans.actions.misc.RequestPrivilegesAction" actionElevationType="none" rollbackBarrierExitCode="0">
243                 <serializedBean>
244                   <property name="obtainIfAdminWin" type="boolean" value="false" />
245                 </serializedBean>
246               </action>
247               <action name="Set unixUserBinDir (Linux or Unix)" id="2738" beanClass="com.install4j.runtime.beans.actions.control.SetVariableAction" rollbackBarrierExitCode="0">
248                 <serializedBean>
249                   <property name="script">
250                     <object class="com.install4j.api.beans.ScriptProperty">
251                       <property name="value" type="string">String userHome = (String)context.getVariable("sys.userHome");
252
253 ArrayList&lt;String&gt; tryPaths = new ArrayList&lt;&gt; ();
254 tryPaths.add(userHome + File.separator + "bin");
255 tryPaths.add(userHome + File.separator + ".local" + File.separator + "bin");
256 tryPaths.add(userHome + File.separator + "local" + File.separator + "bin");
257 tryPaths.add(userHome + File.separator + "opt" + File.separator + "bin");
258
259 if (Util.isMacOS()) { // &amp;&amp; root permission?
260     tryPaths.add(File.separator + "usr" + File.separator + "local" + File.separator + "bin"); 
261 }
262
263 for (int i = 0; i &lt; tryPaths.size(); i++) {
264     String tryPath = tryPaths.get(i);
265     File unixUserBinDir = new File(tryPath);
266     if (unixUserBinDir.exists()) {
267         return tryPath;
268     }
269 }
270
271 return null;
272 </property>
273                     </object>
274                   </property>
275                   <property name="variableName" type="string">unixUserBinDir</property>
276                 </serializedBean>
277                 <condition>Util.isLinux() || Util.isUnixInstaller() || Util.isMacOS()</condition>
278               </action>
279               <action name="Set macWrapperLinkLocation (macOS)" id="2745" beanClass="com.install4j.runtime.beans.actions.control.SetVariableAction" rollbackBarrierExitCode="0">
280                 <serializedBean>
281                   <property name="script">
282                     <object class="com.install4j.api.beans.ScriptProperty">
283                       <property name="value" type="string">String javaHome = System.getProperty("java.home");
284 String appName = ((String)context.getCompilerVariable("JALVIEW_APPLICATION_NAME")) + ".app";
285 int i = javaHome.indexOf(appName);
286 String wrapperLink = null;
287 if (i &gt; -1) {
288     wrapperLink = javaHome.substring(0, i) + appName + File.separator + "Contents" + File.separator + "MacOS" + File.separator + ((String)context.getCompilerVariable("WRAPPER_LINK"));
289 }
290 return wrapperLink;
291 </property>
292                     </object>
293                   </property>
294                   <property name="variableName" type="string">macWrapperLinkLocation</property>
295                 </serializedBean>
296                 <condition>Util.isMacOS()</condition>
297               </action>
298             </actions>
299           </screen>
300         </startup>
301         <screens>
302           <screen id="2" beanClass="com.install4j.runtime.beans.screens.WelcomeScreen" rollbackBarrierExitCode="0">
303             <styleOverrides>
304               <styleOverride name="Customize banner image" enabled="true">
305                 <group id="145" beanClass="com.install4j.runtime.beans.groups.VerticalFormComponentGroup" useExternalParametrization="true" externalParametrizationName="Customize banner image" externalParametrizationMode="include">
306                   <serializedBean>
307                     <property name="backgroundColor">
308                       <object class="com.install4j.runtime.beans.LightOrDarkColor">
309                         <object class="java.awt.Color">
310                           <int>255</int>
311                           <int>255</int>
312                           <int>255</int>
313                           <int>255</int>
314                         </object>
315                         <object class="java.awt.Color">
316                           <int>49</int>
317                           <int>52</int>
318                           <int>53</int>
319                           <int>255</int>
320                         </object>
321                       </object>
322                     </property>
323                     <property name="borderSides">
324                       <object class="com.install4j.runtime.beans.formcomponents.BorderSides">
325                         <property name="bottom" type="boolean" value="true" />
326                       </object>
327                     </property>
328                     <property name="imageEdgeBackgroundColor">
329                       <object class="com.install4j.runtime.beans.LightOrDarkColor">
330                         <object class="java.awt.Color">
331                           <int>25</int>
332                           <int>143</int>
333                           <int>220</int>
334                           <int>255</int>
335                         </object>
336                         <object class="java.awt.Color">
337                           <int>0</int>
338                           <int>74</int>
339                           <int>151</int>
340                           <int>255</int>
341                         </object>
342                       </object>
343                     </property>
344                     <property name="imageEdgeBorder" type="boolean" value="true" />
345                     <property name="imageFile">
346                       <object class="com.install4j.api.beans.ExternalFile">
347                         <string>${compiler:JALVIEW_DIR}/${compiler:BACKGROUND}</string>
348                       </object>
349                     </property>
350                     <property name="insets">
351                       <object class="java.awt.Insets">
352                         <int>5</int>
353                         <int>10</int>
354                         <int>10</int>
355                         <int>10</int>
356                       </object>
357                     </property>
358                   </serializedBean>
359                   <externalParametrizationPropertyNames>
360                     <propertyName>imageAnchor</propertyName>
361                     <propertyName>imageEdgeBackgroundColor</propertyName>
362                     <propertyName>imageFile</propertyName>
363                   </externalParametrizationPropertyNames>
364                 </group>
365               </styleOverride>
366             </styleOverrides>
367             <actions>
368               <action id="7" beanClass="com.install4j.runtime.beans.actions.misc.LoadResponseFileAction" rollbackBarrierExitCode="0" multiExec="true">
369                 <serializedBean>
370                   <property name="excludedVariables" type="array" elementType="string" length="1">
371                     <element index="0">sys.installationDir</element>
372                   </property>
373                 </serializedBean>
374                 <condition>context.getBooleanVariable("sys.confirmedUpdateInstallation")</condition>
375               </action>
376             </actions>
377             <formComponents>
378               <formComponent id="3" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent">
379                 <serializedBean>
380                   <property name="labelText" type="string">${form:welcomeMessage}</property>
381                 </serializedBean>
382                 <visibilityScript>!context.isConsole()</visibilityScript>
383               </formComponent>
384               <formComponent id="4" beanClass="com.install4j.runtime.beans.formcomponents.ConsoleHandlerFormComponent">
385                 <serializedBean>
386                   <property name="consoleScript">
387                     <object class="com.install4j.api.beans.ScriptProperty">
388                       <property name="value" type="string">String message = context.getMessage("ConsoleWelcomeLabel", context.getApplicationName());
389 return console.askOkCancel(message, true);
390 </property>
391                     </object>
392                   </property>
393                 </serializedBean>
394               </formComponent>
395               <formComponent id="5" beanClass="com.install4j.runtime.beans.formcomponents.UpdateAlertComponent" useExternalParametrization="true" externalParametrizationName="Update Alert" externalParametrizationMode="include">
396                 <externalParametrizationPropertyNames>
397                   <propertyName>updateCheck</propertyName>
398                 </externalParametrizationPropertyNames>
399               </formComponent>
400               <formComponent id="6" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent" insetTop="20">
401                 <serializedBean>
402                   <property name="labelText" type="string">${i18n:ClickNext}</property>
403                 </serializedBean>
404               </formComponent>
405             </formComponents>
406           </screen>
407           <screen id="8" beanClass="com.install4j.runtime.beans.screens.InstallationDirectoryScreen" rollbackBarrierExitCode="0">
408             <condition>!context.getBooleanVariable("sys.confirmedUpdateInstallation")</condition>
409             <actions>
410               <action id="11" beanClass="com.install4j.runtime.beans.actions.misc.LoadResponseFileAction" rollbackBarrierExitCode="0" multiExec="true">
411                 <serializedBean>
412                   <property name="excludedVariables" type="array" elementType="string" length="1">
413                     <element index="0">sys.installationDir</element>
414                   </property>
415                 </serializedBean>
416                 <condition>context.getVariable("sys.responseFile") == null</condition>
417               </action>
418             </actions>
419             <formComponents>
420               <formComponent id="9" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent" insetBottom="25">
421                 <serializedBean>
422                   <property name="labelText" type="string">${i18n:SelectDirLabel(${compiler:sys.fullName})}</property>
423                 </serializedBean>
424               </formComponent>
425               <formComponent id="10" beanClass="com.install4j.runtime.beans.formcomponents.InstallationDirectoryChooserComponent" useExternalParametrization="true" externalParametrizationName="Installation Directory Chooser" externalParametrizationMode="include">
426                 <serializedBean>
427                   <property name="requestFocus" type="boolean" value="true" />
428                 </serializedBean>
429                 <externalParametrizationPropertyNames>
430                   <propertyName>allowSpacesOnUnix</propertyName>
431                   <propertyName>checkFreeSpace</propertyName>
432                   <propertyName>checkWritable</propertyName>
433                   <propertyName>existingDirWarning</propertyName>
434                   <propertyName>manualEntryAllowed</propertyName>
435                   <propertyName>showFreeDiskSpace</propertyName>
436                   <propertyName>showRequiredDiskSpace</propertyName>
437                   <propertyName>standardValidation</propertyName>
438                   <propertyName>suggestAppDir</propertyName>
439                   <propertyName>validateApplicationId</propertyName>
440                   <propertyName>validationScript</propertyName>
441                 </externalParametrizationPropertyNames>
442               </formComponent>
443             </formComponents>
444           </screen>
445           <screen id="12" beanClass="com.install4j.runtime.beans.screens.ComponentsScreen" enabled="false" rollbackBarrierExitCode="0">
446             <formComponents>
447               <formComponent id="13" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent">
448                 <serializedBean>
449                   <property name="labelText" type="string">${i18n:SelectComponentsLabel2}</property>
450                 </serializedBean>
451                 <visibilityScript>!context.isConsole()</visibilityScript>
452               </formComponent>
453               <formComponent id="14" beanClass="com.install4j.runtime.beans.formcomponents.ComponentSelectorComponent" useExternalParametrization="true" externalParametrizationName="Installation Components" externalParametrizationMode="include">
454                 <serializedBean>
455                   <property name="fillVertical" type="boolean" value="true" />
456                 </serializedBean>
457                 <externalParametrizationPropertyNames>
458                   <propertyName>selectionChangedScript</propertyName>
459                 </externalParametrizationPropertyNames>
460               </formComponent>
461             </formComponents>
462           </screen>
463           <screen id="1692" beanClass="com.install4j.runtime.beans.screens.FileAssociationsScreen" rollbackBarrierExitCode="0">
464             <formComponents>
465               <formComponent id="1693" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent">
466                 <serializedBean>
467                   <property name="labelText" type="string">${i18n:SelectAssociationsLabel}</property>
468                 </serializedBean>
469               </formComponent>
470               <formComponent id="1694" beanClass="com.install4j.runtime.beans.formcomponents.FileAssociationsComponent" useExternalParametrization="true" externalParametrizationName="File Associations" externalParametrizationMode="include">
471                 <serializedBean>
472                   <property name="fillVertical" type="boolean" value="true" />
473                   <property name="selectionButtonPosition" type="enum" class="com.install4j.runtime.beans.formcomponents.VerticalDockingPosition" value="TOP" />
474                   <property name="showSelectionButtons" type="boolean" value="true" />
475                 </serializedBean>
476                 <externalParametrizationPropertyNames>
477                   <propertyName>showSelectionButtons</propertyName>
478                   <propertyName>selectionButtonPosition</propertyName>
479                 </externalParametrizationPropertyNames>
480               </formComponent>
481             </formComponents>
482           </screen>
483           <screen id="15" beanClass="com.install4j.runtime.beans.screens.InstallationScreen" rollbackBarrier="true" rollbackBarrierExitCode="0">
484             <actions>
485               <action id="17" beanClass="com.install4j.runtime.beans.actions.InstallFilesAction" rollbackBarrierExitCode="0" failureStrategy="quit" errorMessage="${i18n:FileCorrupted}" />
486               <action name="Create program group (RELEASE)" id="18" customizedId="PROGRAM_GROUP_RELEASE" beanClass="com.install4j.runtime.beans.actions.desktop.CreateProgramGroupAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
487                 <serializedBean>
488                   <property name="allUsers" type="boolean" value="false" />
489                   <property name="categories" type="string">${compiler:APPLICATION_CATEGORIES}</property>
490                   <property name="programGroupEntryConfigs">
491                     <add>
492                       <object class="com.install4j.runtime.beans.screens.components.ProgramGroupFileConfig">
493                         <property name="name" type="string">Examples</property>
494                         <property name="target">
495                           <object class="java.io.File">
496                             <string>examples</string>
497                           </object>
498                         </property>
499                       </object>
500                     </add>
501                   </property>
502                   <property name="programGroupName" type="string">${compiler:JALVIEW_NAME}</property>
503                   <property name="uninstallerMenuName" type="string">${i18n:UninstallerMenuEntry(${compiler:sys.fullName})}</property>
504                 </serializedBean>
505                 <condition>!context.getBooleanVariable("sys.programGroupDisabled")</condition>
506               </action>
507               <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">
508                 <serializedBean>
509                   <property name="allUsers" type="boolean" value="false" />
510                   <property name="categories" type="string">${compiler:APPLICATION_CATEGORIES}</property>
511                   <property name="programGroupName" type="string">${compiler:JALVIEW_NAME}</property>
512                   <property name="uninstallerMenuName" type="string">${i18n:UninstallerMenuEntry(${compiler:sys.fullName})}</property>
513                 </serializedBean>
514                 <condition>!context.getBooleanVariable("sys.programGroupDisabled")</condition>
515               </action>
516               <action id="19" beanClass="com.install4j.runtime.beans.actions.desktop.RegisterAddRemoveAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
517                 <serializedBean>
518                   <property name="itemName" type="string">${compiler:sys.fullName} ${compiler:sys.version}</property>
519                 </serializedBean>
520               </action>
521               <action id="124" beanClass="com.install4j.runtime.beans.actions.control.SetVariableAction" enabled="false" rollbackBarrierExitCode="0">
522                 <serializedBean>
523                   <property name="script">
524                     <object class="com.install4j.api.beans.ScriptProperty">
525                       <property name="value" type="string" />
526                     </object>
527                   </property>
528                   <property name="variableName" type="string" />
529                 </serializedBean>
530                 <condition>true</condition>
531               </action>
532               <action id="134" beanClass="com.install4j.runtime.beans.actions.misc.AddVmOptionsAction" enabled="false" actionElevationType="elevated" rollbackBarrierExitCode="0">
533                 <serializedBean>
534                   <property name="launcherId" type="string">121</property>
535                   <property name="vmOptions" type="array" elementType="string" length="0" />
536                 </serializedBean>
537               </action>
538               <group name="File Associations" id="2251" beanClass="com.install4j.runtime.beans.groups.ActionGroup">
539                 <beans>
540                   <action id="2253" beanClass="com.install4j.runtime.beans.actions.control.SetMessageAction" actionElevationType="none" rollbackBarrierExitCode="0">
541                     <serializedBean>
542                       <property name="statusMessage" type="string">Creating file associations...</property>
543                       <property name="useDetail" type="boolean" value="true" />
544                       <property name="useStatus" type="boolean" value="true" />
545                     </serializedBean>
546                   </action>
547                   <action id="2254" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" actionElevationType="none" rollbackBarrierExitCode="0">
548                     <serializedBean>
549                       <property name="progressChangeType" type="enum" class="com.install4j.runtime.beans.actions.control.ProgressChangeType" value="SET_INDETERMINATE" />
550                     </serializedBean>
551                   </action>
552                   <group name="File Associations Replacement Group" id="2753" customizedId="EXTENSIONS_REPLACED_BY_GRADLE_PARENT_GROUP" beanClass="com.install4j.runtime.beans.groups.ActionGroup">
553                     <beans>
554                       <action name="EXTENSIONS_REPLACED_BY_GRADLE" id="1691" customizedId="EXTENSIONS" beanClass="com.install4j.runtime.beans.actions.desktop.CreateFileAssociationAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
555                         <serializedBean>
556                           <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>
557                           <property name="extension" type="string">extensions_to_be_replaced_by_gradle</property>
558                           <property name="launcherId" type="string">JALVIEW</property>
559                         </serializedBean>
560                       </action>
561                     </beans>
562                   </group>
563                   <action id="2542" beanClass="com.install4j.runtime.beans.actions.control.SetMessageAction" actionElevationType="none" rollbackBarrierExitCode="0">
564                     <serializedBean>
565                       <property name="statusMessage" type="string">Finished creating file associations</property>
566                       <property name="useDetail" type="boolean" value="true" />
567                       <property name="useStatus" type="boolean" value="true" />
568                     </serializedBean>
569                   </action>
570                   <action id="2541" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" actionElevationType="none" rollbackBarrierExitCode="0">
571                     <serializedBean>
572                       <property name="percentValue" type="int" value="100" />
573                     </serializedBean>
574                   </action>
575                 </beans>
576               </group>
577               <action id="2350" beanClass="com.install4j.runtime.beans.actions.desktop.UrlHandlerAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
578                 <serializedBean>
579                   <property name="launcherId" type="string">737</property>
580                   <property name="scheme" type="string">jalview</property>
581                 </serializedBean>
582               </action>
583               <action id="2822" beanClass="com.install4j.runtime.beans.actions.desktop.UrlHandlerAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
584                 <serializedBean>
585                   <property name="launcherId" type="string">737</property>
586                   <property name="scheme" type="string">jalviews</property>
587                 </serializedBean>
588               </action>
589               <action id="2819" beanClass="com.install4j.runtime.beans.actions.desktop.UrlHandlerAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
590                 <serializedBean>
591                   <property name="launcherId" type="string">737</property>
592                   <property name="scheme" type="string">jalviewhttp</property>
593                 </serializedBean>
594               </action>
595               <action id="2820" beanClass="com.install4j.runtime.beans.actions.desktop.UrlHandlerAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
596                 <serializedBean>
597                   <property name="launcherId" type="string">737</property>
598                   <property name="scheme" type="string">jalviewhttps</property>
599                 </serializedBean>
600               </action>
601               <action id="2641" beanClass="com.install4j.runtime.beans.actions.desktop.UrlHandlerAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
602                 <serializedBean>
603                   <property name="launcherId" type="string">JALVIEW</property>
604                   <property name="scheme" type="string">${compiler:EXTRA_SCHEME}</property>
605                 </serializedBean>
606               </action>
607             </actions>
608             <formComponents>
609               <formComponent id="16" beanClass="com.install4j.runtime.beans.formcomponents.ProgressComponent">
610                 <serializedBean>
611                   <property name="initialStatusMessage" type="string">${i18n:WizardPreparing}</property>
612                 </serializedBean>
613               </formComponent>
614             </formComponents>
615           </screen>
616           <screen id="20" beanClass="com.install4j.runtime.beans.screens.FinishedScreen" rollbackBarrierExitCode="0" finishScreen="true">
617             <actions>
618               <action name="Linux Jalview Appname-&gt;java symlink" id="2813" beanClass="com.install4j.runtime.beans.actions.files.CreateSymlinkAction" rollbackBarrierExitCode="0" errorMessage="Could not make symlink to wrapper script">
619                 <serializedBean>
620                   <property name="file">
621                     <object class="java.io.File">
622                       <string>${compiler:JRE_DIR}/bin/java</string>
623                     </object>
624                   </property>
625                   <property name="linkFile">
626                     <object class="java.io.File">
627                       <string>${compiler:JRE_DIR}/bin/${compiler:JALVIEW_APPLICATION_NAME}</string>
628                     </object>
629                   </property>
630                   <property name="removeOnUninstall" type="boolean" value="false" />
631                 </serializedBean>
632                 <condition>Util.isLinux()</condition>
633               </action>
634               <action name="Linux Jalview-&gt;java symlink" id="2814" beanClass="com.install4j.runtime.beans.actions.files.CreateSymlinkAction" rollbackBarrierExitCode="0" errorMessage="Could not make symlink to wrapper script">
635                 <serializedBean>
636                   <property name="file">
637                     <object class="java.io.File">
638                       <string>${compiler:JRE_DIR}/bin/java</string>
639                     </object>
640                   </property>
641                   <property name="linkFile">
642                     <object class="java.io.File">
643                       <string>${compiler:JRE_DIR}/bin/${compiler:JALVIEW_NAME}</string>
644                     </object>
645                   </property>
646                   <property name="removeOnUninstall" type="boolean" value="false" />
647                 </serializedBean>
648                 <condition>Util.isLinux()</condition>
649               </action>
650               <action id="2012" beanClass="com.install4j.runtime.beans.actions.desktop.CreateStartMenuEntryAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
651                 <serializedBean>
652                   <property name="allUsers" type="boolean" value="false" />
653                   <property name="categories" type="string">${compiler:APPLICATION_CATEGORIES}</property>
654                   <property name="entryName" type="string">${compiler:JALVIEW_APPLICATION_NAME}</property>
655                   <property name="file">
656                     <object class="java.io.File">
657                       <string>${installer:sys.contentDir}/${compiler:EXECUTABLE_NAME}</string>
658                     </object>
659                   </property>
660                   <property name="icon">
661                     <object class="com.install4j.api.beans.ExternalFile">
662                       <string>${compiler:JALVIEW_DIR}/${compiler:WINDOWS_ICONS_FILE}</string>
663                     </object>
664                   </property>
665                   <property name="programGroupName" type="string">${compiler:JALVIEW_NAME}</property>
666                   <property name="unixIconFile">
667                     <object class="com.install4j.api.beans.ExternalFile">
668                       <string>${compiler:JALVIEW_DIR}/${compiler:PNG_ICON_FILE}</string>
669                     </object>
670                   </property>
671                 </serializedBean>
672                 <condition>!context.getBooleanVariable("sys.programGroupDisabled")</condition>
673               </action>
674               <action id="573" beanClass="com.install4j.runtime.beans.actions.desktop.CreateDesktopLinkAction" actionElevationType="elevated" rollbackBarrierExitCode="0" errorMessage="Could not make desktop link">
675                 <serializedBean>
676                   <property name="allUsers" type="boolean" value="false" />
677                   <property name="description" type="string">${compiler:JALVIEW_APPLICATION_NAME}</property>
678                   <property name="file">
679                     <object class="java.io.File">
680                       <string>${installer:sys.contentDir}/${compiler:EXECUTABLE_NAME}</string>
681                     </object>
682                   </property>
683                   <property name="name" type="string">${compiler:JALVIEW_APPLICATION_NAME}</property>
684                   <property name="unixIconFile">
685                     <object class="com.install4j.api.beans.ExternalFile">
686                       <string>${compiler:JALVIEW_DIR}/${compiler:PNG_ICON_FILE}</string>
687                     </object>
688                   </property>
689                   <property name="winIconFile">
690                     <object class="com.install4j.api.beans.ExternalFile">
691                       <string>${compiler:JALVIEW_DIR}/${compiler:WINDOWS_ICONS_FILE}</string>
692                     </object>
693                   </property>
694                 </serializedBean>
695                 <condition>context.getBooleanVariable("createDesktopLinkAction")</condition>
696               </action>
697               <action id="576" beanClass="com.install4j.runtime.beans.actions.desktop.AddToDockAction" actionElevationType="none" rollbackBarrierExitCode="0">
698                 <serializedBean>
699                   <property name="executable">
700                     <object class="java.io.File">
701                       <string>${compiler:JALVIEW_APPLICATION_NAME}.app</string>
702                     </object>
703                   </property>
704                 </serializedBean>
705                 <condition>context.getBooleanVariable("addToDockAction")</condition>
706               </action>
707               <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">
708                 <serializedBean>
709                   <property name="file">
710                     <object class="java.io.File">
711                       <string>${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:BASH_WRAPPER_SCRIPT}</string>
712                     </object>
713                   </property>
714                   <property name="linkFile">
715                     <object class="java.io.File">
716                       <string>${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:WRAPPER_LINK}</string>
717                     </object>
718                   </property>
719                 </serializedBean>
720                 <condition>Util.isLinux() || Util.isUnixInstaller() || Util.isMacOS()</condition>
721               </action>
722               <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 &quot;${installer:sys.contentDir}\${compiler:WRAPPER_SCRIPT_BIN_DIR}&quot; to the Path environment variable">
723                 <serializedBean>
724                   <property name="type" type="enum" class="com.install4j.runtime.beans.actions.misc.ModifyStringType" value="APPEND" />
725                   <property name="value" type="string">${installer:sys.contentDir}\${compiler:WRAPPER_SCRIPT_BIN_DIR}</property>
726                   <property name="variableName" type="string">Path</property>
727                 </serializedBean>
728                 <condition>context.getBooleanVariable("appendToPathAction")</condition>
729               </action>
730               <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}">
731                 <serializedBean>
732                   <property name="file">
733                     <object class="java.io.File">
734                       <string>${installer:sys.contentDir}/${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:BASH_WRAPPER_SCRIPT}</string>
735                     </object>
736                   </property>
737                   <property name="linkFile">
738                     <object class="java.io.File">
739                       <string>${installer:unixUserBinDir}/${compiler:WRAPPER_LINK}</string>
740                     </object>
741                   </property>
742                 </serializedBean>
743                 <condition>context.getBooleanVariable("makeSymbolicLinkAction") &amp;&amp; ( Util.isLinux() || Util.isUnixInstaller() ) &amp;&amp; ( context.getVariable("unixUserBinDir") != null )</condition>
744               </action>
745               <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}">
746                 <serializedBean>
747                   <property name="file">
748                     <object class="java.io.File">
749                       <string>${installer:macWrapperLinkLocation}</string>
750                     </object>
751                   </property>
752                   <property name="linkFile">
753                     <object class="java.io.File">
754                       <string>${installer:unixUserBinDir}/${compiler:WRAPPER_LINK}</string>
755                     </object>
756                   </property>
757                 </serializedBean>
758                 <condition>context.getBooleanVariable("makeSymbolicLinkAction") &amp;&amp; Util.isMacOS() &amp;&amp; ( context.getVariable("unixUserBinDir") != null ) &amp;&amp; ( context.getVariable("macWrapperLinkLocation") != null )</condition>
759               </action>
760               <action name="Windows copy BAT file" id="2817" beanClass="com.install4j.runtime.beans.actions.files.CopyFileAction" rollbackBarrierExitCode="0">
761                 <serializedBean>
762                   <property name="destinationFile">
763                     <object class="java.io.File">
764                       <string>${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:WRAPPER_LINK}.bat</string>
765                     </object>
766                   </property>
767                   <property name="files" type="array" class="java.io.File" length="1">
768                     <element index="0">
769                       <object class="java.io.File">
770                         <string>${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:BATCH_WRAPPER_SCRIPT}</string>
771                       </object>
772                     </element>
773                   </property>
774                 </serializedBean>
775                 <condition>Util.isWindows() &amp;&amp; !(((String)context.getCompilerVariable("WRAPPER_LINK")+".bat").equals((String)context.getCompilerVariable("BATCH_WRAPPER_SCRIPT")))</condition>
776               </action>
777               <action name="Windows copy PS1 file" id="2818" beanClass="com.install4j.runtime.beans.actions.files.CopyFileAction" rollbackBarrierExitCode="0">
778                 <serializedBean>
779                   <property name="destinationFile">
780                     <object class="java.io.File">
781                       <string>${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:WRAPPER_LINK}.ps1</string>
782                     </object>
783                   </property>
784                   <property name="files" type="array" class="java.io.File" length="1">
785                     <element index="0">
786                       <object class="java.io.File">
787                         <string>${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:POWERSHELL_WRAPPER_SCRIPT}</string>
788                       </object>
789                     </element>
790                   </property>
791                 </serializedBean>
792                 <condition>Util.isWindows() &amp;&amp; !(((String)context.getCompilerVariable("WRAPPER_LINK")+".ps1").equals((String)context.getCompilerVariable("POWERSHELL_WRAPPER_SCRIPT")))</condition>
793               </action>
794             </actions>
795             <formComponents>
796               <formComponent id="21" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent" insetBottom="10">
797                 <serializedBean>
798                   <property name="labelText" type="string">${form:finishedMessage}</property>
799                 </serializedBean>
800               </formComponent>
801               <formComponent name="Add a desktop link" id="574" beanClass="com.install4j.runtime.beans.formcomponents.CheckboxComponent">
802                 <serializedBean>
803                   <property name="checkboxText" type="string">${i18n:CreateDesktopIcon}</property>
804                   <property name="initiallySelected" type="boolean" value="true" />
805                   <property name="variableName" type="string">createDesktopLinkAction</property>
806                 </serializedBean>
807                 <visibilityScript>!Util.isMacOS()</visibilityScript>
808               </formComponent>
809               <formComponent name="Add an executable to the dock" id="577" beanClass="com.install4j.runtime.beans.formcomponents.CheckboxComponent">
810                 <serializedBean>
811                   <property name="checkboxText" type="string">${i18n:AddToDock}</property>
812                   <property name="initiallySelected" type="boolean" value="true" />
813                   <property name="variableName" type="string">addToDockAction</property>
814                 </serializedBean>
815                 <visibilityScript>Util.isMacOS()</visibilityScript>
816               </formComponent>
817               <formComponent name="Add jalview bin to the user's Path environment variable (Windows)" id="2734" beanClass="com.install4j.runtime.beans.formcomponents.CheckboxComponent">
818                 <serializedBean>
819                   <property name="checkboxText" type="string">Add ${compiler:JALVIEW_APPLICATION_NAME}'s bin folder to the Path environment variable</property>
820                   <property name="initiallySelected" type="boolean" value="true" />
821                   <property name="variableName" type="string">appendToPathAction</property>
822                 </serializedBean>
823                 <visibilityScript>Util.isWindows()</visibilityScript>
824               </formComponent>
825               <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">
826                 <serializedBean>
827                   <property name="checkboxText" type="string">Make a ${compiler:WRAPPER_LINK} symbolic link in ${installer:unixUserBinDir}</property>
828                   <property name="initiallySelected" type="boolean" value="true" />
829                   <property name="variableName" type="string">makeSymbolicLinkAction</property>
830                 </serializedBean>
831                 <visibilityScript>( Util.isLinux() || Util.isUnixInstaller() || ( Util.isMacOS() &amp;&amp; ( context.getVariable("macWrapperLinkLocation") != null ) ) ) &amp;&amp; ( context.getVariable("unixUserBinDir") != null )</visibilityScript>
832               </formComponent>
833             </formComponents>
834           </screen>
835         </screens>
836       </application>
837       <application id="uninstaller" beanClass="com.install4j.runtime.beans.applications.UninstallerApplication" styleId="35">
838         <serializedBean>
839           <property name="customMacosExecutableName" type="string">${i18n:UninstallerMenuEntry(${compiler:sys.fullName})}</property>
840           <property name="useCustomMacosExecutableName" type="boolean" value="true" />
841         </serializedBean>
842         <styleOverrides>
843           <styleOverride name="Customize banner image" enabled="true">
844             <group id="147" beanClass="com.install4j.runtime.beans.groups.VerticalFormComponentGroup" useExternalParametrization="true" externalParametrizationName="Customize banner image" externalParametrizationMode="include">
845               <serializedBean>
846                 <property name="backgroundColor">
847                   <object class="com.install4j.runtime.beans.LightOrDarkColor">
848                     <object class="java.awt.Color">
849                       <int>255</int>
850                       <int>255</int>
851                       <int>255</int>
852                       <int>255</int>
853                     </object>
854                     <object class="java.awt.Color">
855                       <int>49</int>
856                       <int>52</int>
857                       <int>53</int>
858                       <int>255</int>
859                     </object>
860                   </object>
861                 </property>
862                 <property name="borderSides">
863                   <object class="com.install4j.runtime.beans.formcomponents.BorderSides">
864                     <property name="bottom" type="boolean" value="true" />
865                   </object>
866                 </property>
867                 <property name="imageEdgeBackgroundColor">
868                   <object class="java.awt.Color">
869                     <int>192</int>
870                     <int>192</int>
871                     <int>192</int>
872                     <int>255</int>
873                   </object>
874                 </property>
875                 <property name="imageEdgeBorder" type="boolean" value="true" />
876                 <property name="imageFile">
877                   <object class="com.install4j.api.beans.ExternalFile">
878                     <string>${compiler:JALVIEW_DIR}/${compiler:BACKGROUND}</string>
879                   </object>
880                 </property>
881                 <property name="insets">
882                   <object class="java.awt.Insets">
883                     <int>5</int>
884                     <int>10</int>
885                     <int>10</int>
886                     <int>10</int>
887                   </object>
888                 </property>
889               </serializedBean>
890               <externalParametrizationPropertyNames>
891                 <propertyName>imageAnchor</propertyName>
892                 <propertyName>imageEdgeBackgroundColor</propertyName>
893                 <propertyName>imageFile</propertyName>
894               </externalParametrizationPropertyNames>
895             </group>
896           </styleOverride>
897         </styleOverrides>
898         <startup>
899           <screen id="23" beanClass="com.install4j.runtime.beans.screens.StartupScreen" rollbackBarrierExitCode="0">
900             <actions>
901               <action id="33" beanClass="com.install4j.runtime.beans.actions.misc.LoadResponseFileAction" rollbackBarrierExitCode="0" />
902               <action id="34" beanClass="com.install4j.runtime.beans.actions.misc.RequireInstallerPrivilegesAction" actionElevationType="none" rollbackBarrierExitCode="0" />
903             </actions>
904           </screen>
905         </startup>
906         <screens>
907           <screen id="24" beanClass="com.install4j.runtime.beans.screens.UninstallWelcomeScreen" rollbackBarrierExitCode="0">
908             <formComponents>
909               <formComponent id="25" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent" insetBottom="10">
910                 <serializedBean>
911                   <property name="labelText" type="string">${form:welcomeMessage}</property>
912                 </serializedBean>
913                 <visibilityScript>!context.isConsole()</visibilityScript>
914               </formComponent>
915               <formComponent id="26" beanClass="com.install4j.runtime.beans.formcomponents.ConsoleHandlerFormComponent">
916                 <serializedBean>
917                   <property name="consoleScript">
918                     <object class="com.install4j.api.beans.ScriptProperty">
919                       <property name="value" type="string">String message = context.getMessage("ConfirmUninstall", context.getApplicationName());
920 return console.askYesNo(message, true);
921 </property>
922                     </object>
923                   </property>
924                 </serializedBean>
925               </formComponent>
926             </formComponents>
927           </screen>
928           <screen id="27" beanClass="com.install4j.runtime.beans.screens.UninstallationScreen" rollbackBarrierExitCode="0">
929             <actions>
930               <action id="659" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" actionElevationType="none" rollbackBarrierExitCode="0">
931                 <serializedBean>
932                   <property name="progressChangeType" type="enum" class="com.install4j.runtime.beans.actions.control.ProgressChangeType" value="SET_INDETERMINATE" />
933                 </serializedBean>
934               </action>
935               <action id="29" beanClass="com.install4j.runtime.beans.actions.UninstallFilesAction" rollbackBarrierExitCode="0" />
936               <action id="660" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" enabled="false" actionElevationType="none" rollbackBarrierExitCode="0">
937                 <serializedBean>
938                   <property name="percentValue" type="int" value="95" />
939                 </serializedBean>
940               </action>
941               <action id="1525" beanClass="com.install4j.runtime.beans.actions.files.DeleteFileAction" rollbackBarrierExitCode="0">
942                 <serializedBean>
943                   <property name="files" type="array" class="java.io.File" length="40">
944                     <element index="0">
945                       <object class="java.io.File">
946                         <string>jre</string>
947                       </object>
948                     </element>
949                     <element index="1">
950                       <object class="java.io.File">
951                         <string>jre.jar</string>
952                       </object>
953                     </element>
954                     <element index="2">
955                       <object class="java.io.File">
956                         <string>.install4j</string>
957                       </object>
958                     </element>
959                     <element index="3">
960                       <object class="java.io.File">
961                         <string>getdown-launcher.jar</string>
962                       </object>
963                     </element>
964                     <element index="4">
965                       <object class="java.io.File">
966                         <string>getdown-launcher-old.jar</string>
967                       </object>
968                     </element>
969                     <element index="5">
970                       <object class="java.io.File">
971                         <string>getdown-launcher-new.jar</string>
972                       </object>
973                     </element>
974                     <element index="6">
975                       <object class="java.io.File">
976                         <string>gettingdown.lock</string>
977                       </object>
978                     </element>
979                     <element index="7">
980                       <object class="java.io.File">
981                         <string>jre.zip</string>
982                       </object>
983                     </element>
984                     <element index="8">
985                       <object class="java.io.File">
986                         <string>digest.txt</string>
987                       </object>
988                     </element>
989                     <element index="9">
990                       <object class="java.io.File">
991                         <string>digest2.txt</string>
992                       </object>
993                     </element>
994                     <element index="10">
995                       <object class="java.io.File">
996                         <string>getdown-launcher.jarv</string>
997                       </object>
998                     </element>
999                     <element index="11">
1000                       <object class="java.io.File">
1001                         <string>getdown-launcher-new.jarv</string>
1002                       </object>
1003                     </element>
1004                     <element index="12">
1005                       <object class="java.io.File">
1006                         <string>launcher.log</string>
1007                       </object>
1008                     </element>
1009                     <element index="13">
1010                       <object class="java.io.File">
1011                         <string>proxy.txt</string>
1012                       </object>
1013                     </element>
1014                     <element index="14">
1015                       <object class="java.io.File">
1016                         <string>build_properties</string>
1017                       </object>
1018                     </element>
1019                     <element index="15">
1020                       <object class="java.io.File">
1021                         <string>channel_launch*.jvl</string>
1022                       </object>
1023                     </element>
1024                     <element index="16">
1025                       <object class="java.io.File">
1026                         <string>jalview*.jvl</string>
1027                       </object>
1028                     </element>
1029                     <element index="17">
1030                       <object class="java.io.File">
1031                         <string>*.jarv</string>
1032                       </object>
1033                     </element>
1034                     <element index="18">
1035                       <object class="java.io.File">
1036                         <string>*.log</string>
1037                       </object>
1038                     </element>
1039                     <element index="19">
1040                       <object class="java.io.File">
1041                         <string>*.txt</string>
1042                       </object>
1043                     </element>
1044                     <element index="20">
1045                       <object class="java.io.File">
1046                         <string>*_new</string>
1047                       </object>
1048                     </element>
1049                     <element index="21">
1050                       <object class="java.io.File">
1051                         <string>hs_err_*.*</string>
1052                       </object>
1053                     </element>
1054                     <element index="22">
1055                       <object class="java.io.File">
1056                         <string>${compiler:GETDOWN_DIST_DIR}</string>
1057                       </object>
1058                     </element>
1059                     <element index="23">
1060                       <object class="java.io.File">
1061                         <string>${compiler:GETDOWN_ALT_DIR}</string>
1062                       </object>
1063                     </element>
1064                     <element index="24">
1065                       <object class="java.io.File">
1066                         <string>${compiler:GETDOWN_RESOURCE_DIR}</string>
1067                       </object>
1068                     </element>
1069                     <element index="25">
1070                       <object class="java.io.File">
1071                         <string>META-INF</string>
1072                       </object>
1073                     </element>
1074                     <element index="26">
1075                       <object class="java.io.File">
1076                         <string>install</string>
1077                       </object>
1078                     </element>
1079                     <element index="27">
1080                       <object class="java.io.File">
1081                         <string>resource</string>
1082                       </object>
1083                     </element>
1084                     <element index="28">
1085                       <object class="java.io.File">
1086                         <string>dist</string>
1087                       </object>
1088                     </element>
1089                     <element index="29">
1090                       <object class="java.io.File">
1091                         <string>release</string>
1092                       </object>
1093                     </element>
1094                     <element index="30">
1095                       <object class="java.io.File">
1096                         <string>alt</string>
1097                       </object>
1098                     </element>
1099                     <element index="31">
1100                       <object class="java.io.File">
1101                         <string>dev</string>
1102                       </object>
1103                     </element>
1104                     <element index="32">
1105                       <object class="java.io.File">
1106                         <string>build</string>
1107                       </object>
1108                     </element>
1109                     <element index="33">
1110                       <object class="java.io.File">
1111                         <string>alt_*</string>
1112                       </object>
1113                     </element>
1114                     <element index="34">
1115                       <object class="java.io.File">
1116                         <string>dev_*</string>
1117                       </object>
1118                     </element>
1119                     <element index="35">
1120                       <object class="java.io.File">
1121                         <string>build_*</string>
1122                       </object>
1123                     </element>
1124                     <element index="36">
1125                       <object class="java.io.File">
1126                         <string>${compiler:WRAPPER_SCRIPT_BIN_DIR}</string>
1127                       </object>
1128                     </element>
1129                     <element index="37">
1130                       <object class="java.io.File">
1131                         <string>bin</string>
1132                       </object>
1133                     </element>
1134                     <element index="38">
1135                       <object class="java.io.File">
1136                         <string>channel.props</string>
1137                       </object>
1138                     </element>
1139                     <element index="39">
1140                       <object class="java.io.File">
1141                         <string>channel.propsv</string>
1142                       </object>
1143                     </element>
1144                   </property>
1145                   <property name="recursive" type="boolean" value="true" />
1146                 </serializedBean>
1147               </action>
1148               <action id="1791" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" actionElevationType="none" rollbackBarrierExitCode="0">
1149                 <serializedBean>
1150                   <property name="percentValue" type="int" value="100" />
1151                 </serializedBean>
1152               </action>
1153             </actions>
1154             <formComponents>
1155               <formComponent id="28" beanClass="com.install4j.runtime.beans.formcomponents.ProgressComponent">
1156                 <serializedBean>
1157                   <property name="initialStatusMessage" type="string">${i18n:UninstallerPreparing}</property>
1158                 </serializedBean>
1159               </formComponent>
1160             </formComponents>
1161           </screen>
1162           <screen id="32" beanClass="com.install4j.runtime.beans.screens.UninstallFailureScreen" rollbackBarrierExitCode="0" finishScreen="true" />
1163           <screen id="30" beanClass="com.install4j.runtime.beans.screens.UninstallSuccessScreen" styleId="41" rollbackBarrierExitCode="0" finishScreen="true">
1164             <formComponents>
1165               <formComponent id="31" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent" insetBottom="10">
1166                 <serializedBean>
1167                   <property name="labelText" type="string">${form:successMessage}</property>
1168                 </serializedBean>
1169               </formComponent>
1170             </formComponents>
1171           </screen>
1172         </screens>
1173       </application>
1174       <application name="MacOS Setup" id="2746" beanClass="com.install4j.runtime.beans.applications.CustomApplication" fileset="734" macEntitlementsFile="${compiler:JALVIEW_DIR}/utils/osx_signing/entitlements.txt">
1175         <serializedBean>
1176           <property name="executableDirectory">
1177             <object class="java.io.File">
1178               <string>.</string>
1179             </object>
1180           </property>
1181           <property name="executableName" type="string">${compiler:WRAPPER_LINK}_setup</property>
1182           <property name="windowTitle" type="string">${compiler:sys.fullName}</property>
1183         </serializedBean>
1184         <startup>
1185           <screen id="2747" beanClass="com.install4j.runtime.beans.screens.StartupScreen" rollbackBarrierExitCode="0">
1186             <actions>
1187               <link id="2749" targetId="22" />
1188               <link id="2750" targetId="2738" />
1189               <link id="2751" targetId="2745" />
1190             </actions>
1191           </screen>
1192         </startup>
1193         <screens>
1194           <screen id="2772" beanClass="com.install4j.runtime.beans.screens.FormScreen" rollbackBarrierExitCode="0" backButton="hidden" finishScreen="true">
1195             <serializedBean>
1196               <property name="title" type="string">Running ${i18n:SetupAppTitle}</property>
1197             </serializedBean>
1198             <actions>
1199               <link id="2778" targetId="576" />
1200               <link id="2779" targetId="2743" />
1201             </actions>
1202             <formComponents>
1203               <formComponent id="2773" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent" insetBottom="10">
1204                 <serializedBean>
1205                   <property name="labelText" type="string">${i18n:FinishedLabel(${compiler:JALVIEW_APPLICATION_NAME})}</property>
1206                 </serializedBean>
1207               </formComponent>
1208               <formComponent name="Add an executable to the dock" id="2775" beanClass="com.install4j.runtime.beans.formcomponents.CheckboxComponent">
1209                 <serializedBean>
1210                   <property name="checkboxText" type="string">${i18n:AddToDock}</property>
1211                   <property name="initiallySelected" type="boolean" value="true" />
1212                   <property name="variableName" type="string">addToDockAction</property>
1213                 </serializedBean>
1214                 <visibilityScript>Util.isMacOS()</visibilityScript>
1215               </formComponent>
1216               <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">
1217                 <serializedBean>
1218                   <property name="checkboxText" type="string">Make a ${compiler:WRAPPER_LINK} symbolic link in ${installer:unixUserBinDir}</property>
1219                   <property name="initiallySelected" type="boolean" value="true" />
1220                   <property name="variableName" type="string">makeSymbolicLinkAction</property>
1221                 </serializedBean>
1222                 <visibilityScript>( Util.isLinux() || Util.isUnixInstaller() || ( Util.isMacOS() &amp;&amp; ( context.getVariable("macWrapperLinkLocation") != null ) ) ) &amp;&amp; ( context.getVariable("unixUserBinDir") != null )</visibilityScript>
1223               </formComponent>
1224               <formComponent id="2780" beanClass="com.install4j.runtime.beans.formcomponents.MultilineLabelComponent">
1225                 <serializedBean>
1226                   <property name="labelText" type="string">
1227 ${i18n:ClickFinish}
1228
1229 ${compiler:JALVIEW_APPLICATION_NAME} will now launch.</property>
1230                 </serializedBean>
1231               </formComponent>
1232             </formComponents>
1233           </screen>
1234         </screens>
1235       </application>
1236     </applications>
1237     <styles defaultStyleId="35">
1238       <style name="Standard" id="35" beanClass="com.install4j.runtime.beans.styles.FormStyle">
1239         <formComponents>
1240           <formComponent name="Header" id="36" beanClass="com.install4j.runtime.beans.styles.NestedStyleComponent" insetTop="0" insetBottom="0">
1241             <serializedBean>
1242               <property name="styleId" type="string">48</property>
1243             </serializedBean>
1244           </formComponent>
1245           <group name="Main" id="37" beanClass="com.install4j.runtime.beans.groups.VerticalFormComponentGroup">
1246             <serializedBean>
1247               <property name="imageEdgeAxisType" type="enum" class="com.install4j.runtime.beans.formcomponents.AxisType" value="HORIZONTAL" />
1248               <property name="imageEdgeBackgroundColor">
1249                 <object class="java.awt.Color">
1250                   <int>255</int>
1251                   <int>255</int>
1252                   <int>255</int>
1253                   <int>255</int>
1254                 </object>
1255               </property>
1256               <property name="imageFile">
1257                 <object class="com.install4j.api.beans.ExternalFile">
1258                   <string>${compiler:JALVIEW_DIR}/${compiler:BACKGROUND}</string>
1259                 </object>
1260               </property>
1261               <property name="imageOverlap" type="boolean" value="true" />
1262             </serializedBean>
1263             <beans>
1264               <formComponent id="38" beanClass="com.install4j.runtime.beans.styles.ContentComponent" insetTop="10" insetLeft="20" insetBottom="10" insetRight="20" />
1265               <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">
1266                 <serializedBean>
1267                   <property name="enabledTitleText" type="boolean" value="false" />
1268                 </serializedBean>
1269                 <externalParametrizationPropertyNames>
1270                   <propertyName>labelText</propertyName>
1271                 </externalParametrizationPropertyNames>
1272               </formComponent>
1273               <formComponent name="Footer" id="40" beanClass="com.install4j.runtime.beans.styles.NestedStyleComponent" insetTop="0" insetBottom="0">
1274                 <serializedBean>
1275                   <property name="styleId" type="string">52</property>
1276                 </serializedBean>
1277               </formComponent>
1278             </beans>
1279           </group>
1280         </formComponents>
1281       </style>
1282       <style name="Banner" id="41" beanClass="com.install4j.runtime.beans.styles.FormStyle">
1283         <formComponents>
1284           <group id="42" beanClass="com.install4j.runtime.beans.groups.VerticalFormComponentGroup" useExternalParametrization="true" externalParametrizationName="Customize banner image" externalParametrizationMode="include">
1285             <serializedBean>
1286               <property name="backgroundColor">
1287                 <object class="com.install4j.runtime.beans.LightOrDarkColor">
1288                   <object class="java.awt.Color">
1289                     <int>255</int>
1290                     <int>255</int>
1291                     <int>255</int>
1292                     <int>255</int>
1293                   </object>
1294                   <object class="java.awt.Color">
1295                     <int>49</int>
1296                     <int>52</int>
1297                     <int>53</int>
1298                     <int>255</int>
1299                   </object>
1300                 </object>
1301               </property>
1302               <property name="borderSides">
1303                 <object class="com.install4j.runtime.beans.formcomponents.BorderSides">
1304                   <property name="bottom" type="boolean" value="true" />
1305                 </object>
1306               </property>
1307               <property name="imageEdgeBackgroundColor">
1308                 <object class="com.install4j.runtime.beans.LightOrDarkColor">
1309                   <object class="java.awt.Color">
1310                     <int>25</int>
1311                     <int>143</int>
1312                     <int>220</int>
1313                     <int>255</int>
1314                   </object>
1315                   <object class="java.awt.Color">
1316                     <int>0</int>
1317                     <int>74</int>
1318                     <int>151</int>
1319                     <int>255</int>
1320                   </object>
1321                 </object>
1322               </property>
1323               <property name="imageEdgeBorder" type="boolean" value="true" />
1324               <property name="imageFile">
1325                 <object class="com.install4j.api.beans.ExternalFile">
1326                   <string>${compiler:sys.install4jHome}/resource/styles/wizard.png</string>
1327                 </object>
1328               </property>
1329               <property name="insets">
1330                 <object class="java.awt.Insets">
1331                   <int>5</int>
1332                   <int>10</int>
1333                   <int>10</int>
1334                   <int>10</int>
1335                 </object>
1336               </property>
1337             </serializedBean>
1338             <beans>
1339               <formComponent id="43" beanClass="com.install4j.runtime.beans.styles.ScreenTitleComponent" insetTop="0">
1340                 <serializedBean>
1341                   <property name="labelFontSizePercent" type="int" value="130" />
1342                   <property name="labelFontStyle" type="enum" class="com.install4j.runtime.beans.formcomponents.FontStyle" value="BOLD" />
1343                   <property name="labelFontType" type="enum" class="com.install4j.runtime.beans.formcomponents.FontType" value="DERIVED" />
1344                 </serializedBean>
1345               </formComponent>
1346               <formComponent id="44" beanClass="com.install4j.runtime.beans.formcomponents.SeparatorComponent" />
1347               <formComponent id="45" beanClass="com.install4j.runtime.beans.styles.ContentComponent" insetTop="10" insetBottom="0" />
1348             </beans>
1349             <externalParametrizationPropertyNames>
1350               <propertyName>imageAnchor</propertyName>
1351               <propertyName>imageEdgeBackgroundColor</propertyName>
1352               <propertyName>imageFile</propertyName>
1353             </externalParametrizationPropertyNames>
1354           </group>
1355           <formComponent id="46" beanClass="com.install4j.runtime.beans.styles.NestedStyleComponent" insetBottom="0">
1356             <serializedBean>
1357               <property name="styleId" type="string">52</property>
1358             </serializedBean>
1359           </formComponent>
1360         </formComponents>
1361       </style>
1362       <group name="Style components" id="47" beanClass="com.install4j.runtime.beans.groups.StyleGroup">
1363         <beans>
1364           <style name="Standard header" id="48" beanClass="com.install4j.runtime.beans.styles.FormStyle">
1365             <serializedBean>
1366               <property name="fillVertical" type="boolean" value="false" />
1367               <property name="standalone" type="boolean" value="false" />
1368               <property name="verticalAnchor" type="enum" class="com.install4j.api.beans.Anchor" value="NORTH" />
1369             </serializedBean>
1370             <formComponents>
1371               <group id="49" beanClass="com.install4j.runtime.beans.groups.VerticalFormComponentGroup" useExternalParametrization="true" externalParametrizationName="Customize title bar" externalParametrizationMode="include">
1372                 <serializedBean>
1373                   <property name="backgroundColor">
1374                     <object class="com.install4j.runtime.beans.LightOrDarkColor">
1375                       <object class="java.awt.Color">
1376                         <int>255</int>
1377                         <int>255</int>
1378                         <int>255</int>
1379                         <int>255</int>
1380                       </object>
1381                       <object class="java.awt.Color">
1382                         <int>49</int>
1383                         <int>52</int>
1384                         <int>53</int>
1385                         <int>255</int>
1386                       </object>
1387                     </object>
1388                   </property>
1389                   <property name="borderSides">
1390                     <object class="com.install4j.runtime.beans.formcomponents.BorderSides">
1391                       <property name="bottom" type="boolean" value="true" />
1392                     </object>
1393                   </property>
1394                   <property name="imageAnchor" type="enum" class="com.install4j.api.beans.Anchor" value="NORTHEAST" />
1395                   <property name="imageEdgeBorderWidth" type="int" value="2" />
1396                   <property name="imageFile">
1397                     <object class="com.install4j.api.beans.ExternalFile">
1398                       <string>icon:${installer:sys.installerApplicationMode}_header.png</string>
1399                     </object>
1400                   </property>
1401                   <property name="imageInsets">
1402                     <object class="java.awt.Insets">
1403                       <int>0</int>
1404                       <int>5</int>
1405                       <int>1</int>
1406                       <int>1</int>
1407                     </object>
1408                   </property>
1409                   <property name="insets">
1410                     <object class="java.awt.Insets">
1411                       <int>0</int>
1412                       <int>20</int>
1413                       <int>0</int>
1414                       <int>10</int>
1415                     </object>
1416                   </property>
1417                 </serializedBean>
1418                 <beans>
1419                   <formComponent name="Title" id="50" beanClass="com.install4j.runtime.beans.styles.ScreenTitleComponent">
1420                     <serializedBean>
1421                       <property name="labelFontStyle" type="enum" class="com.install4j.runtime.beans.formcomponents.FontStyle" value="BOLD" />
1422                       <property name="labelFontType" type="enum" class="com.install4j.runtime.beans.formcomponents.FontType" value="DERIVED" />
1423                     </serializedBean>
1424                   </formComponent>
1425                   <formComponent name="Subtitle" id="51" beanClass="com.install4j.runtime.beans.styles.ScreenTitleComponent" insetLeft="8">
1426                     <serializedBean>
1427                       <property name="titleType" type="enum" class="com.install4j.runtime.beans.styles.TitleType" value="SUB_TITLE" />
1428                     </serializedBean>
1429                   </formComponent>
1430                 </beans>
1431                 <externalParametrizationPropertyNames>
1432                   <propertyName>backgroundColor</propertyName>
1433                   <propertyName>foregroundColor</propertyName>
1434                   <propertyName>imageAnchor</propertyName>
1435                   <propertyName>imageFile</propertyName>
1436                   <propertyName>imageOverlap</propertyName>
1437                 </externalParametrizationPropertyNames>
1438               </group>
1439             </formComponents>
1440           </style>
1441           <style name="Standard footer" id="52" beanClass="com.install4j.runtime.beans.styles.FormStyle">
1442             <serializedBean>
1443               <property name="fillVertical" type="boolean" value="false" />
1444               <property name="standalone" type="boolean" value="false" />
1445               <property name="verticalAnchor" type="enum" class="com.install4j.api.beans.Anchor" value="SOUTH" />
1446             </serializedBean>
1447             <formComponents>
1448               <group id="53" beanClass="com.install4j.runtime.beans.groups.HorizontalFormComponentGroup">
1449                 <serializedBean>
1450                   <property name="alignFirstLabel" type="boolean" value="false" />
1451                   <property name="insets">
1452                     <object class="java.awt.Insets">
1453                       <int>3</int>
1454                       <int>5</int>
1455                       <int>8</int>
1456                       <int>5</int>
1457                     </object>
1458                   </property>
1459                 </serializedBean>
1460                 <beans>
1461                   <formComponent id="54" beanClass="com.install4j.runtime.beans.formcomponents.SpringComponent" />
1462                   <formComponent name="Back button" id="55" beanClass="com.install4j.runtime.beans.styles.StandardControlButtonComponent">
1463                     <serializedBean>
1464                       <property name="buttonText" type="string">&lt; ${i18n:ButtonBack}</property>
1465                       <property name="controlButtonType" type="enum" class="com.install4j.api.context.ControlButtonType" value="PREVIOUS" />
1466                     </serializedBean>
1467                   </formComponent>
1468                   <formComponent name="Next button" id="56" beanClass="com.install4j.runtime.beans.styles.StandardControlButtonComponent">
1469                     <serializedBean>
1470                       <property name="buttonText" type="string">${i18n:ButtonNext} &gt;</property>
1471                       <property name="controlButtonType" type="enum" class="com.install4j.api.context.ControlButtonType" value="NEXT" />
1472                     </serializedBean>
1473                   </formComponent>
1474                   <formComponent name="Cancel button" id="57" beanClass="com.install4j.runtime.beans.styles.StandardControlButtonComponent" insetLeft="5">
1475                     <serializedBean>
1476                       <property name="buttonText" type="string">${i18n:ButtonCancel}</property>
1477                       <property name="controlButtonType" type="enum" class="com.install4j.api.context.ControlButtonType" value="CANCEL" />
1478                     </serializedBean>
1479                   </formComponent>
1480                 </beans>
1481               </group>
1482             </formComponents>
1483           </style>
1484         </beans>
1485       </group>
1486     </styles>
1487   </installerGui>
1488   <mediaSets>
1489     <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">
1490       <excludedBeans>
1491         <bean refId="2746" />
1492       </excludedBeans>
1493       <exclude>
1494         <entry defaultFileset="true" />
1495         <entry filesetId="2801" />
1496         <entry filesetId="2803" />
1497       </exclude>
1498       <jreBundle jreBundleSource="preCreated" includedJre="${compiler:WINDOWS_X86_JAVA_VM_TGZ}" manualJreEntry="true" />
1499     </windows>
1500     <macosArchive name="macOS (Intel) 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:MACOSARCHIVE_X86_NAME}" launcherId="737" setupAppId="2746">
1501       <exclude>
1502         <entry defaultFileset="true" />
1503         <entry filesetId="2803" />
1504       </exclude>
1505       <jreBundle jreBundleSource="none" includedJre="${compiler:MACOS_X86_JAVA_VM_TGZ}" manualJreEntry="true" />
1506       <topLevelFiles>
1507         <symlink name="&quot; &quot;" target="/Applications" />
1508         <file name=".background/${compiler:MACOS_DMG_BG_FILENAME}" file="${compiler:JALVIEW_DIR}/${compiler:MACOS_DMG_BG_IMAGE}" />
1509         <file name=".DS_Store" file="${compiler:JALVIEW_DIR}/${compiler:MACOS_DMG_DS_STORE}" />
1510         <file name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/Jalview-File.icns" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/Jalview-File.icns" />
1511         <file name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/jvl_file.icns" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/jvl_file.icns" />
1512         <symlink name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/MacOS/${compiler:WRAPPER_LINK}" target="../Resources/app/${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:BASH_WRAPPER_SCRIPT}" />
1513         <symlink name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/app/jre/Contents/Home/bin/${compiler:JALVIEW_APPLICATION_NAME}" target="java" />
1514         <symlink name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/app/jre/Contents/Home/bin/${compiler:JALVIEW_NAME}" target="java" />
1515       </topLevelFiles>
1516     </macosArchive>
1517     <macosArchive name="macOS (Apple Silicon) 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:MACOSARCHIVE_AARCH64_NAME}" architecture="aarch64" launcherId="737" setupAppId="2746">
1518       <exclude>
1519         <entry defaultFileset="true" />
1520         <entry filesetId="2801" />
1521       </exclude>
1522       <jreBundle jreBundleSource="none" />
1523       <topLevelFiles>
1524         <symlink name="&quot; &quot;" target="/Applications" />
1525         <file name=".background/${compiler:MACOS_DMG_BG_FILENAME}" file="${compiler:JALVIEW_DIR}/${compiler:MACOS_DMG_BG_IMAGE}" />
1526         <file name=".DS_Store" file="${compiler:JALVIEW_DIR}/${compiler:MACOS_DMG_DS_STORE}" />
1527         <file name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/Jalview-File.icns" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/Jalview-File.icns" />
1528         <file name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/jvl_file.icns" file="${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/jvl_file.icns" />
1529         <symlink name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/MacOS/${compiler:WRAPPER_LINK}" target="../Resources/app/${compiler:WRAPPER_SCRIPT_BIN_DIR}/${compiler:BASH_WRAPPER_SCRIPT}" />
1530         <symlink name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/app/jre/Contents/Home/bin/${compiler:JALVIEW_APPLICATION_NAME}" target="java" />
1531         <symlink name="${compiler:JALVIEW_APPLICATION_NAME}.app/Contents/Resources/app/jre/Contents/Home/bin/${compiler:JALVIEW_NAME}" target="java" />
1532       </topLevelFiles>
1533     </macosArchive>
1534     <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/">
1535       <excludedBeans>
1536         <bean refId="2746" />
1537       </excludedBeans>
1538       <exclude>
1539         <entry defaultFileset="true" />
1540         <entry filesetId="2801" />
1541         <entry filesetId="2803" />
1542       </exclude>
1543       <variables>
1544         <variable name="variable" value="720" />
1545         <variable name="WIZARD_HEIGHT" value="540" />
1546       </variables>
1547       <jreBundle jreBundleSource="preCreated" includedJre="${compiler:LINUX_X86_JAVA_VM_TGZ}" manualJreEntry="true" />
1548     </unixInstaller>
1549     <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/">
1550       <excludedBeans>
1551         <bean refId="2746" />
1552       </excludedBeans>
1553       <exclude>
1554         <entry defaultFileset="true" />
1555         <entry filesetId="2801" />
1556         <entry filesetId="2803" />
1557       </exclude>
1558       <variables>
1559         <variable name="variable" value="720" />
1560         <variable name="WIZARD_HEIGHT" value="540" />
1561       </variables>
1562       <jreBundle jreBundleSource="preCreated" includedJre="${compiler:LINUX_AARCH64_JAVA_VM_TGZ}" manualJreEntry="true" />
1563     </unixInstaller>
1564     <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}">
1565       <excludedBeans>
1566         <bean refId="2746" />
1567       </excludedBeans>
1568       <exclude>
1569         <entry defaultFileset="true" />
1570         <entry filesetId="2801" />
1571         <entry filesetId="2803" />
1572       </exclude>
1573       <jreBundle jreBundleSource="none" includedJre="${compiler:LINUX_X86_JAVA_VM_TGZ}" manualJreEntry="true" />
1574     </unixArchive>
1575     <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/">
1576       <excludedBeans>
1577         <bean refId="2746" />
1578       </excludedBeans>
1579       <exclude>
1580         <entry defaultFileset="true" />
1581         <entry filesetId="2801" />
1582         <entry filesetId="2803" />
1583       </exclude>
1584       <jreBundle jreBundleSource="none" includedJre="${compiler:LINUX_X86_JAVA_VM_TGZ}" manualJreEntry="true" />
1585     </unixInstaller>
1586   </mediaSets>
1587   <buildIds>
1588     <mediaSet refId="743" />
1589     <mediaSet refId="878" />
1590     <mediaSet refId="2796" />
1591     <mediaSet refId="1595" />
1592     <mediaSet refId="2782" />
1593     <mediaSet refId="1596" />
1594     <mediaSet refId="2639" />
1595   </buildIds>
1596 </install4j>