JAL-3420 JAL-3394 Correct format of XML in added file extensions for install4j8....
[jalview.git] / utils / install4j / file_associations_template-install4j8.xml
index ce5ebae..ee3aec8 100644 (file)
@@ -1,22 +1,42 @@
-              <action id="$$ID$$" beanClass="com.install4j.runtime.beans.actions.desktop.CreateFileAssociationAction" actionElevationType="elevated" rollbackBarrierExitCode="0" errorMessage="Could not make .$$EXTENSION$$ file association">
-                <serializedBean>
-                  <property name="description" type="string">$$NAME$$ File</property>
-                  <property name="extension" type="string">$$EXTENSION$$</property>
-                  <property name="launcherId" type="string">737</property>
-                  <property name="macIconFile">
-                    <object class="com.install4j.api.beans.ExternalFile">
-                      <string>$$ICONFILE$$.icns</string>
-                    </object>
-                  </property>
-                  <property name="macRole" type="enum" class="com.install4j.runtime.beans.actions.desktop.MacAssociationRole" value="EDITOR" />
-                  <property name="unix" type="boolean" value="true" />
-                  <property name="windowsIconFile">
-                    <object class="com.install4j.api.beans.ExternalFile">
-                      <string>$$ICONFILE$$.ico</string>
-                    </object>
-                  </property>
-                </serializedBean>
-              </action>
+                  <action id="$$ID$$" beanClass="com.install4j.runtime.beans.actions.control.SetMessageAction" actionElevationType="none" rollbackBarrierExitCode="0">
+                    <serializedBean>
+                      <property name="detailMessage" type="string">$$NAME$$ (.$$EXTENSION$$)</property>
+                      <property name="statusMessage" type="string">Creating file associations...</property>
+                      <property name="useDetail" type="boolean" value="true" />
+                      <property name="useStatus" type="boolean" value="true" />
+                    </serializedBean>
+                  </action>
+                  <action id="$$ID1$$" beanClass="com.install4j.runtime.beans.actions.control.SetProgressAction" actionElevationType="none" rollbackBarrierExitCode="0">
+                    <serializedBean>
+                      <property name="percentValue" type="int" value="$$PROGRESSPERCENT$$" />
+                    </serializedBean>
+                  </action>
 
-                
+                  <action id="$$ID2$$" beanClass="com.install4j.runtime.beans.actions.desktop.CreateFileAssociationAction" actionElevationType="elevated" rollbackBarrierExitCode="0" errorMessage="Could not make .$$EXTENSION$$ file association">
+                    <serializedBean>
+                      <property name="description" type="string">$$NAME$$ File</property>
+                      <property name="extension" type="string">$$EXTENSION$$</property>
+                      <property name="launcherId" type="string">737</property>
+                      <property name="macIconFile">
+                        <object class="com.install4j.api.beans.ExternalFile">
+                          <string>$$ICONFILE$$.icns</string>
+                        </object>
+                      </property>
+                      <!--<property name="macMimeType" type="string">$$MIMETYPE$$</property>-->
+                      <property name="macRole" type="enum" class="com.install4j.runtime.beans.actions.desktop.MacAssociationRole" value="EDITOR" />
+                      <property name="restartFinder" type="boolean" value="true" />
+                      <property name="unix" type="boolean" value="true" />
+                      <property name="unixIconFile">
+                        <object class="com.install4j.api.beans.ExternalFile">
+                          <string>$$ICONFILE$$.png</string>
+                        </object>
+                      </property>
+                      <property name="unixMimeType" type="string">$$MIMETYPE$$</property>
+                      <property name="windowsIconFile">
+                        <object class="com.install4j.api.beans.ExternalFile">
+                          <string>$$ICONFILE$$.ico</string>
+                        </object>
+                      </property>
+                    </serializedBean>
+                  </action>