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