Skip to content

Commit 6a3c83f

Browse files
vcfrmgitgmarupilla
authored andcommitted
Add Install4J uninstall previous VCell version during update
1 parent 9bec6e5 commit 6a3c83f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docker/build/installers/VCell.install4j

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,15 @@ return console.askOkCancel(message, true);
451451
</screen>
452452
<screen id="8" beanClass="com.install4j.runtime.beans.screens.InstallationScreen" rollbackBarrier="true">
453453
<actions>
454+
<action id="3084" beanClass="com.install4j.runtime.beans.actions.UninstallPreviousAction" actionElevationType="none" rollbackBarrierExitCode="0">
455+
<serializedBean>
456+
<property name="installationDirectory">
457+
<object class="java.io.File">
458+
<string>${installer:sys.installationDir}</string>
459+
</object>
460+
</property>
461+
</serializedBean>
462+
</action>
454463
<action id="9" beanClass="com.install4j.runtime.beans.actions.InstallFilesAction" actionElevationType="elevated" failureStrategy="askRetryQuit" errorMessage="${i18n:FileCorrupted}" />
455464
<action id="2226" beanClass="com.install4j.runtime.beans.actions.net.DownloadFileAction" enabled="false" actionElevationType="elevated">
456465
<serializedBean>

0 commit comments

Comments
 (0)