-
Notifications
You must be signed in to change notification settings - Fork 2
SeaDAS Installers
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
Currently, the steps below are used to create a Windows installer for SeaDAS:
- Create an installer jar file using IZPack on linux for windows.
- Create a launch4j installer that includes an embedded jre.
- Install it on a Windows computer. Change the name of the script from seadas64 to seadas.
- 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.
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
Self-signed digital signature does not work. Need to purchase a commercial one.
-
git pull in all 4 directories
-
delete opttbx, seadas, snap in the directory of seadas-toolbox/seadas-installer/izpack-installer/src/main/izpack/packs
-
cp install-for-linux.xml to install.xml in the directory of seadas-toolbox/seadas-installer/izpack-installer/src/main/izpack/
-
'mvn clean install -Dmaven.test.skip=true' in the directory seadas-toolbox/seadas-installer
-
cp seadas-toolbox/seadas-installer/izpack-installer/target/seadas-izpack-installer.jar ~/installer-files/linux/seadas-installer-dir/seadas-izpack-linux-installer.jar
-
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.)
-
git pull in all 4 directories
-
delete opttbx, seadas, snap in the directory of seadas-toolbox/seadas-installer/izpack-installer/src/main/izpack/packs
-
cp install-for-mac.xml to install.xml in the directory of seadas-toolbox/seadas-installer/izpack-installer/src/main/izpack/
-
'mvn clean install -Dmaven.test.skip=true' in the directory seadas-toolbox/seadas-installer
-
cp seadas-toolbox/seadas-installer/izpack-installer/target/seadas-izpack-installer.jar ~/installer-files/mac/seadas-installer-dir/seadas-izpack-mac-installer.jar
-
run the command in installer-files/max/makeself.script