JAL-3420 JAL-3394 Correct format of XML in added file extensions for install4j8....
[jalview.git] / utils / install4j / file_associations_template-install4j8.xml
1                   <action id="$$ID$$" beanClass="com.install4j.runtime.beans.actions.control.SetMessageAction" actionElevationType="none" rollbackBarrierExitCode="0">
2                     <serializedBean>
3                       <property name="detailMessage" type="string">$$NAME$$ (.$$EXTENSION$$)</property>
4                       <property name="statusMessage" type="string">Creating file associations...</property>
5                       <property name="useDetail" type="boolean" value="true" />
6                       <property name="useStatus" type="boolean" value="true" />
7                     </serializedBean>
8                   </action>
9                   <action id="$$ID1$$" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" actionElevationType="none" rollbackBarrierExitCode="0">
10                     <serializedBean>
11                       <property name="percentValue" type="int" value="$$PROGRESSPERCENT$$" />
12                     </serializedBean>
13                   </action>
14
15                   <action id="$$ID2$$" beanClass="com.install4j.runtime.beans.actions.desktop.CreateFileAssociationAction" actionElevationType="elevated" rollbackBarrierExitCode="0" errorMessage="Could not make .$$EXTENSION$$ file association">
16                     <serializedBean>
17                       <property name="description" type="string">$$NAME$$ File</property>
18                       <property name="extension" type="string">$$EXTENSION$$</property>
19                       <property name="launcherId" type="string">737</property>
20                       <property name="macIconFile">
21                         <object class="com.install4j.api.beans.ExternalFile">
22                           <string>$$ICONFILE$$.icns</string>
23                         </object>
24                       </property>
25                       <!--<property name="macMimeType" type="string">$$MIMETYPE$$</property>-->
26                       <property name="macRole" type="enum" class="com.install4j.runtime.beans.actions.desktop.MacAssociationRole" value="EDITOR" />
27                       <property name="restartFinder" type="boolean" value="true" />
28                       <property name="unix" type="boolean" value="true" />
29                       <property name="unixIconFile">
30                         <object class="com.install4j.api.beans.ExternalFile">
31                           <string>$$ICONFILE$$.png</string>
32                         </object>
33                       </property>
34                       <property name="unixMimeType" type="string">$$MIMETYPE$$</property>
35                       <property name="windowsIconFile">
36                         <object class="com.install4j.api.beans.ExternalFile">
37                           <string>$$ICONFILE$$.ico</string>
38                         </object>
39                       </property>
40                     </serializedBean>
41                   </action>
42