Skip to content

Commit effb0a8

Browse files
kayyagaritonygermano
kayyagari
authored andcommitted
Integrated changes made by Paul
1 parent c930a94 commit effb0a8

File tree

1 file changed

+42
-48
lines changed

1 file changed

+42
-48
lines changed

tools/install4j/oie-installer-config.install4j

Lines changed: 42 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,31 @@
1616
<mountPoint id="24" />
1717
</mountPoints>
1818
<entries>
19-
<dirEntry mountPoint="24" file="${compiler:installer:mediaRoot}/server/setup" subDirectory="setup" />
19+
<dirEntry mountPoint="24" file="${compiler:installer:mediaRoot}/server/setup" subDirectory="setup">
20+
<exclude>
21+
<entry location="oieserver.vmoptions" />
22+
<entry location="oieservice.vmoptions" />
23+
<entry location="conf" />
24+
</exclude>
25+
</dirEntry>
26+
<dirEntry mountPoint="24" file="${compiler:installer:mediaRoot}/server/setup" overwriteMode="0" uninstallMode="1" overrideOverwriteMode="true" overrideUninstallMode="true">
27+
<exclude>
28+
<entry location="server-lib" />
29+
<entry location="webapps" />
30+
<entry location="mirth-manager-launcher.jar" />
31+
<entry location="public_html" />
32+
<entry location="cli-lib" />
33+
<entry location="server-launcher-lib" />
34+
<entry location="mirth-server-launcher.jar" />
35+
<entry location="public_api_html" />
36+
<entry location="docs" />
37+
<entry location="extensions" />
38+
<entry location="manager-lib" />
39+
<entry location="mirth-cli-launcher.jar" />
40+
<entry location="logs" />
41+
<entry location="client-lib" />
42+
</exclude>
43+
</dirEntry>
2044
</entries>
2145
</files>
2246
<launchers>
@@ -81,13 +105,14 @@
81105
<startup>
82106
<screen id="1" beanClass="com.install4j.runtime.beans.screens.StartupScreen" rollbackBarrierExitCode="0">
83107
<actions>
84-
<action id="22" beanClass="com.install4j.runtime.beans.actions.misc.RequestPrivilegesAction" actionElevationType="none" rollbackBarrierExitCode="0">
108+
<action id="22" beanClass="com.install4j.runtime.beans.actions.misc.RequestPrivilegesAction" actionElevationType="none" rollbackBarrierExitCode="0" failureStrategy="ask">
85109
<serializedBean>
86110
<property name="failIfNotObtainedLinux" type="boolean" value="true" />
87-
<property name="failIfNotObtainedMac" type="boolean" value="false" />
88111
<property name="linuxPrivilegeRequirement" type="enum" class="com.install4j.runtime.beans.actions.misc.PrivilegeRequirement" value="OBTAIN" />
89-
<property name="obtainIfAdminWin" type="boolean" value="false" />
112+
<property name="obtainIfAdminMac" type="boolean" value="true" />
113+
<property name="obtainIfNormalMac" type="boolean" value="true" />
90114
<property name="obtainIfNormalWin" type="boolean" value="true" />
115+
<property name="updateInstallationDirectory" type="boolean" value="false" />
91116
</serializedBean>
92117
</action>
93118
</actions>
@@ -245,6 +270,7 @@ return console.askOkCancel(message, true);
245270
&lt;p&gt;
246271
This release is recommended for users already familiar with Mirth Connect.
247272
It installs a fully functional version of the engine with minimal prompts.
273+
As you have seen - this does require admin permissions to run and install services, we will be updating that!
248274
&lt;/p&gt;
249275
&lt;h2&gt;Notes&lt;/h2&gt;
250276
&lt;ul&gt;
@@ -365,50 +391,12 @@ return true;
365391
<property name="itemName" type="string">${compiler:sys.fullName} ${compiler:sys.version}</property>
366392
</serializedBean>
367393
</action>
368-
<action id="26" beanClass="com.install4j.runtime.beans.actions.services.InstallServiceAction" actionElevationType="elevated" rollbackBarrierExitCode="0">
394+
<action id="26" beanClass="com.install4j.runtime.beans.actions.services.InstallServiceAction" actionElevationType="elevated" rollbackBarrierExitCode="0" failureStrategy="ask">
369395
<serializedBean>
370396
<property name="launcherId" type="string">25</property>
371397
<property name="macosIdentifier" type="string">com.oie.oieservice</property>
372398
</serializedBean>
373399
</action>
374-
<action id="51" beanClass="com.install4j.runtime.beans.actions.text.WriteTextFileAction" enabled="false" actionElevationType="elevated" rollbackBarrierExitCode="0">
375-
<serializedBean>
376-
<property name="file">
377-
<object class="java.io.File">
378-
<string>${compiler:sys.fullName} Server.vmoptions</string>
379-
</object>
380-
</property>
381-
<property name="text" type="string"># Lines begining with a # are ignored as comments.
382-
# Do not add customizations to this file.
383-
384-
-include-options conf/base_includes.vmoptions
385-
386-
# Comment out the following line if you are running on Java 8
387-
-include-options conf/default_modules.vmoptions
388-
389-
# Put any custom options in the following file
390-
-include-options conf/custom.vmoptions</property>
391-
</serializedBean>
392-
</action>
393-
<action id="52" beanClass="com.install4j.runtime.beans.actions.text.WriteTextFileAction" enabled="false" actionElevationType="elevated" rollbackBarrierExitCode="0">
394-
<serializedBean>
395-
<property name="file">
396-
<object class="java.io.File">
397-
<string>${compiler:sys.fullName} Server.vmoptions</string>
398-
</object>
399-
</property>
400-
<property name="text" type="string"># Lines begining with a # are ignored as comments.
401-
# Do not add customizations to this file.
402-
403-
-include-options conf/base_includes.vmoptions
404-
405-
# Comment out the following line if you are running on Java 8
406-
-include-options conf/default_modules.vmoptions
407-
408-
# Put any custom options in the following file
409-
-include-options conf/custom.vmoptions</property>
410-
</serializedBean>
411-
</action>
412400
</actions>
413401
<formComponents>
414402
<formComponent id="16" beanClass="com.install4j.runtime.beans.formcomponents.ProgressComponent">
@@ -725,22 +713,23 @@ return console.askYesNo(message, true);
725713
</styles>
726714
</installerGui>
727715
<mediaSets>
728-
<windows name="Windows" id="27" mediaFileName="${compiler:sys.fullName}_${compiler:sys.platform}_${compiler:sys.version}" installDir="OpenIntegrationEngine" architecture="64">
716+
<windows name="Windows x64" id="27" mediaFileName="${compiler:sys.fullName}_${compiler:sys.platform}_${compiler:sys.version}" installDir="OpenIntegrationEngine" architecture="64">
729717
<excludedLaunchers>
730718
<launcher id="56" />
731719
</excludedLaunchers>
732-
<jreBundle jreBundleSource="none" />
720+
<jreBundle usePack200="false" jreBundleSource="none" />
733721
</windows>
734722
<unixInstaller name="Unix Installer" id="42" mediaFileName="${compiler:sys.fullName}_${compiler:sys.platform}_${compiler:sys.version}">
735723
<excludedLaunchers>
736724
<launcher id="56" />
737725
</excludedLaunchers>
726+
<jreBundle usePack200="false" jreBundleSource="none" />
738727
</unixInstaller>
739728
<macosFolder name="macOS Folder - ARM" id="43" mediaFileName="${compiler:sys.fullName}_${compiler:sys.platform}_${compiler:sys.version}-aarch" installDir="OpenIntegrationEngine">
740729
<excludedLaunchers>
741730
<launcher id="56" />
742731
</excludedLaunchers>
743-
<jreBundle jreBundleSource="none" />
732+
<jreBundle usePack200="false" jreBundleSource="none" />
744733
</macosFolder>
745734
<unixArchive name="Unix Archive" id="44" mediaFileName="${compiler:sys.fullName}_${compiler:sys.platform}_${compiler:sys.version}">
746735
<excludedLaunchers>
@@ -755,11 +744,16 @@ return console.askYesNo(message, true);
755744
<excludedLaunchers>
756745
<launcher id="56" />
757746
</excludedLaunchers>
758-
<jreBundle jreBundleSource="none" />
747+
<jreBundle usePack200="false" jreBundleSource="none" />
759748
</macosFolder>
749+
<windows name="Windows ARM" id="119" mediaFileName="${compiler:sys.fullName}_${compiler:sys.platform}_${compiler:sys.version}" installDir="OpenIntegrationEngine" architecture="arm64">
750+
<excludedLaunchers>
751+
<launcher id="56" />
752+
</excludedLaunchers>
753+
<jreBundle jreBundleSource="none" />
754+
</windows>
760755
</mediaSets>
761756
<buildIds>
762757
<mediaSet refId="43" />
763758
</buildIds>
764-
<buildOptions disableJreBundling="true" />
765759
</install4j>

0 commit comments

Comments
 (0)