Skip to content

Commit

Permalink
Add Install4J uninstall previous VCell version during update
Browse files Browse the repository at this point in the history
  • Loading branch information
vcfrmgit authored and gmarupilla committed Dec 8, 2020
1 parent 9bec6e5 commit 6a3c83f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker/build/installers/VCell.install4j
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,15 @@ return console.askOkCancel(message, true);
</screen>
<screen id="8" beanClass="com.install4j.runtime.beans.screens.InstallationScreen" rollbackBarrier="true">
<actions>
<action id="3084" beanClass="com.install4j.runtime.beans.actions.UninstallPreviousAction" actionElevationType="none" rollbackBarrierExitCode="0">
<serializedBean>
<property name="installationDirectory">
<object class="java.io.File">
<string>${installer:sys.installationDir}</string>
</object>
</property>
</serializedBean>
</action>
<action id="9" beanClass="com.install4j.runtime.beans.actions.InstallFilesAction" actionElevationType="elevated" failureStrategy="askRetryQuit" errorMessage="${i18n:FileCorrupted}" />
<action id="2226" beanClass="com.install4j.runtime.beans.actions.net.DownloadFileAction" enabled="false" actionElevationType="elevated">
<serializedBean>
Expand Down

0 comments on commit 6a3c83f

Please sign in to comment.