GEMPACK Software command-line silent installation

This document applies to Source-code GEMPACK, Executable-image GEMPACK and RunDynam installer programs.

GEMPACK installation programs can be run from the commandline in a way that is not visible to the user and which allows full control of the installation options.

The form of the installation command is

install.exe /param1=value1 /param2=value2 ...

In some cases the "=value" part is not needed. The order of the parameters does not matter and parameters and values are case insensitive. Quotation marks are only necessary if "value" contains spaces. Parameters are optional, if not given the installer defaults are used, default values are indicated below.

Parameters may only apply to some installers, while default parameter values may differ between installers. Where this occurs the corresponding installer is indicated in parenthases in the parameter description below, possibilities include Executable-image, Source-code and RunDynam.

Parameters with default values where applicable:

/dir="c:\GP"

Sets the destination directory for the installation.
Default is C:\GP (Executable-image, Source-code).
Default is C:\RunDynam (RunDynam).

/licfile="c:\path\to\licen.gem"

Specifies the licence file to use. GEMPACK licences have .gem extension, RunDynam licences have .rdn extension.
No default.
If no licence exists in installation directory a 6-month limited-size expiring licence is installed (Executable-image). If no licence exists in installation directory a limited-size expiring licence is installed (RunDynam).

/addtopath=yes|no

Specifies to add the installation directory to the system path. This is required for GEMPACK to function properly. Advanced users may wish to modify the system Path manually.
Default is yes.
(addtopath does not apply to RunDynam)

/setgpdir=yes|no

Specifies if evironment variable GPDIR should be set. This is required for GEMPACK to function properly. Advanced users may wish to set the GPDIR variable manually.
Default is yes.
(setgpdir does not apply to RunDynam)

/FC=if32|if64|gf32|gf64|lf95

Specifies the Fortran compiler to use. if32 and if64 indicate a suitable 32 or 64-bit Intel Fortran compiler, gf32 and gf64 indicate a suitable GNU GFortran compiler and lf95 indicates a suitable Lahey/Fujitsu compiler. See http://www.copsmodels.com/gpfort.htm for details.
No default.
(FC applies to Source-code GEMPACK only)

/group="GEMPACK"

Sets the name of the Windows start menu programs folder.
Default is GEMPACK.

/noicons

Disables creation of the Windows start menu folder. If used the /group option above is ignored.
No default.

/mergetasks=keyword1,keyword2,...

Where the keywords are any combination of the following with optional '!' prefix:


  
    [!]rundynamdesktopicon,[!]desktopicon,[!]TABfileOpenWith,[!]CmdPromptHere,[!]NoHideFileExtensions

The options modify the Windows environment. Prefix '!' switches off an option.

rundynamdesktopicon -- make All Users desktop icon for RunDynam.
desktopicon -- make All Users desktop icons for some main GEMPACK programs.
TABfileOpenWith -- create right-click menu item "Open with TABmate" in Windows explorer.
CmdPromptHere -- create right-click menu item "Command prompt here" in Windows explorer.
NoHideFileExtensions -- displays file extensions in Windows explorer.

Default (Executable-image, Source-code):
desktopicon,TABfileOpenWith,CmdPromptHere,NoHideFileExtensions

Default (RunDynam):
rundynamdesktopicon,!desktopicon,TABfileOpenWith,CmdPromptHere,NoHideFileExtensions

/LOG="c:\path\to\install.log"

Sets a log file for the installation. The directory must exist prior to running the installation.
No default.

/VERYSILENT

Installer runs invisibly to the user.
No default.

/SILENT

Installer displays the progress window during installation.
No default.

EXAMPLE 1.

gpei-11.4.004-install.exe /licfile="z:\resourses\licen.gem" /verysilent

Performs a default installation of Executable-image GEMPACK using licence file "z:\resourses\licen.gem".

EXAMPLE 2.

gpei-11.4.004-install.exe /licfile="z:\resourses\licen.gem" /mergetasks=!desktopicons /verysilent

Performs a default installation of Executable-image GEMPACK using licence file "z:\resourses\licen.gem" but does not create desktop icons.

EXAMPLE 3.

gpsc-11.4.004-install.exe /licfile="z:\resourses\licen.gem" /fc=gf64 /verysilent

Performs a default installation of Source-code GEMPACK using licence file "z:\resourses\licen.gem" and the GNU GFortran 64-bit compiler.


See also
GEMPACK Release 11.4