Almost working
[jalview.git] / utils / install4j / file_associations_template-install4j10.xml
1 <!-- $$NAME$$ ($$DISPLAYEXTENSION$$) BEGIN -->
2                   <action name="$$NAME$$ ($$DISPLAYEXTENSION$$) message" id="$$ID$$" customizedId="$$NAME$$-$$EXTENSION$$-$$ID$$-message" beanClass="com.install4j.runtime.beans.actions.control.SetMessageAction" actionElevationType="none" rollbackBarrierExitCode="0">
3                     <serializedBean>
4                       <property name="detailMessage" type="string">$$NAME$$ ($$DISPLAYEXTENSION$$)</property>
5                       <property name="statusMessage" type="string">Creating file associations...</property>
6                       <property name="useDetail" type="boolean" value="true" />
7                       <property name="useStatus" type="boolean" value="true" />
8                     </serializedBean>
9                   </action>
10
11                   <action name="$$NAME$$ ($$DISPLAYEXTENSION$$) progress bar $$PROGRESSPERCENT$$" id="$$ID1$$" customizedId="$$NAME$$-$$EXTENSION$$-$$ID1$$-progressbar" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" actionElevationType="none" rollbackBarrierExitCode="0">
12                     <serializedBean>
13                       <property name="percentValue" type="int" value="$$PROGRESSPERCENT$$" />
14                     </serializedBean>
15                   </action>
16
17                   <action name="$$NAME$$ ($$DISPLAYEXTENSION$$) file association" id="$$ID2$$" customizedId="$$NAME$$-$$EXTENSION$$-$$ID2$$-fileassociation" beanClass="com.install4j.runtime.beans.actions.desktop.CreateFileAssociationAction" actionElevationType="elevated" rollbackBarrierExitCode="0" errorMessage="Could not make .$$EXTENSION$$ file association">
18                     <serializedBean>
19                       <property name="description" type="string">$$NAME$$ File</property>
20                       <property name="extension" type="string">$$EXTENSION$$</property>
21                       <property name="launcherId" type="string">JALVIEW</property>
22                       <!--<property name="macIconFile">
23                         <object class="com.install4j.api.beans.ExternalFile">
24                           <string>$$ICONFILE$$.icns</string>
25                         </object>
26                       </property>
27                       <property name="macRole" type="enum" class="com.install4j.runtime.beans.actions.desktop.MacAssociationRole" value="$$MACASSOCIATIONROLE$$" />-->
28                       <property name="restartFinder" type="boolean" value="true" />
29                       <property name="selected" type="boolean" value="$$PRIMARY$$" />
30                       <property name="unix" type="boolean" value="$$ADDUNIXEXTENSION$$" />
31                       <property name="unixIconFile">
32                         <object class="com.install4j.api.beans.ExternalFile">
33                           <string>$$ICONFILE$$.png</string>
34                         </object>
35                       </property>
36                       <property name="unixMimeType" type="string">$$MIMETYPE$$</property>
37                       <property name="windowsIconFile">
38                         <object class="com.install4j.api.beans.ExternalFile">
39                           <string>$$ICONFILE$$.ico</string>
40                         </object>
41                       </property>
42                     </serializedBean>
43                   </action>
44 <!-- END -->
45