Skip to content

SeaDAS Installers

Beverly Yang edited this page Mar 21, 2024 · 11 revisions

SeaDAS IzPACK Installer

The seadas-installer module in seadas-toolbox creates IzPack 5.x installers using maven as the build system. The project is broken into two pieces, izpack-installers and izpack-panels. The "izpack-panels" sub-directory contains a maven project that builds a jar containing the implementation of custom panels. Currently this part is not actively used in the installer but kept for future improvements. The "izpack-installers" sub directory contains the build of the installer.

Execute the following command in the seadas-installer directory to build:

mvn clean install -Dmaven.test.skip=true

or

mvn clean install -DskipTests=true

SeaDAS Windows Installer

Currently, the steps below are used to create a Windows installer for SeaDAS:

  1. Create an installer jar file using IZPack on linux for windows.
  2. Create a launch4j installer that includes an embedded jre.
  3. Install it on a Windows computer. Change the name of the script from seadas64 to seadas.
  4. Finally, Inno Setup is used to generate a Windows installer from the installed SeaDAS application.

Inno Setup script will be saved in the github in the documentation.

Creating Digital Signature

Adding a digital signature for the install file on the windows will eliminate the "unknown developer" message during installation. The following article explains the steps to generate self-signed certificates: Creating self signed certificates with makecert.exe for development

NOTE

Self-signed digital signature does not work. Need to purchase a commercial one.

SeaDAS Linux Installer

  1. git pull in all 4 directories

  2. delete opttbx, seadas, snap in the directory of seadas-toolbox/seadas-installer/izpack-installer/src/main/izpack/packs

  3. cp install-for-linux.xml to install.xml in the directory of seadas-toolbox/seadas-installer/izpack-installer/src/main/izpack/

  4. 'mvn clean install -Dmaven.test.skip=true' in the directory seadas-toolbox/seadas-installer

  5. cp seadas-toolbox/seadas-installer/izpack-installer/target/seadas-izpack-installer.jar ~/installer-files/linux/seadas-installer-dir/seadas-izpack-linux-installer.jar

  6. run the command in installer-files/max/makeself.script; makeself.script needs to be edited if making the installer on station101

(SeaDAS Linux installer is created using the makeself tool.)

SeaDAS Mac Installer

  1. git pull in all 4 directories

  2. delete opttbx, seadas, snap in the directory of seadas-toolbox/seadas-installer/izpack-installer/src/main/izpack/packs

  3. cp install-for-mac.xml to install.xml in the directory of seadas-toolbox/seadas-installer/izpack-installer/src/main/izpack/

  4. 'mvn clean install -Dmaven.test.skip=true' in the directory seadas-toolbox/seadas-installer

  5. cp seadas-toolbox/seadas-installer/izpack-installer/target/seadas-izpack-installer.jar ~/installer-files/mac/seadas-installer-dir/seadas-izpack-mac-installer.jar

  6. run the command in installer-files/max/makeself.script

Clone this wiki locally