JAL-3420 JAL-3394 Using install4j8 template with file associations. Attempts unix...
[jalview.git] / utils / install4j / file_associations_template-install4j8.xml
diff --git a/utils/install4j/file_associations_template-install4j8.xml b/utils/install4j/file_associations_template-install4j8.xml
new file mode 100644 (file)
index 0000000..ce5ebae
--- /dev/null
@@ -0,0 +1,22 @@
+              <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>
+
+                
+