Install Genero Studio on Windows in silent mode

Use the msiexec command line utility to install or uninstall Genero Studio in silent mode on Microsoft® Windows® platforms.

The installation and licensing of Genero products requires you to read and accept the End User License Agreement, which can be found on the Four Js website at http://4js.com/end-user-license-agreements/.

The msiexec utility provides the means to install, modify, and perform operations on Windows Installer from the command line.

The msiexec utility expects a msi file, which is embedded into the setup program. To extract it, execute the following command:

fjs-gst-version-build-osident.exe /x

Example:

fjs-gst-3.10.04-build123456-w64v120.exe /x

A msi file will be created in the same directory and with the same name as the exe file.

Options

The following options for msiexec are the most common relating to an install and uninstall. Enter msiexec from the command prompt to view the complete list of available options.

msiexec /qn - Quiet mode with no UI

/i fjs-gst-version-build-osident.msi - Install the specified msi package

/x fjs-gst-version-build-osident.msi - Uninstall the specified msi package

/log logfile - Log to the specified log file

Arguments

You can pass arguments to the msiexec installer on the command line.

Table 1. Arguments for the msiexec installer
Argument Description
PRODUCTDIR=your_fglasdir_path Path where GST will be installed. It is an alias of GSTDIR.
GENEROSTUDIODIR=your_fglasdir_path Path where GST will be installed. It is an alias of GSTDIR.
STARTMENUFOLDER=your_startmenufolder_path Customize the location for the shortcuts in the startmenu. For example: "fjs\gst"
ADDLOCAL=option Use option to set the features to install.
Table 1. Option values for ADDLOCAL
Option Description
ALL Install Genero Studio (GSTIDE), all Genero Studio file assocations (GSTFILEASSOC), Genero Studio to the context menu (GSTIDECONTEXTMENU), Genero Desktop Client and its file associations (GDC + GDCFILEASSOCGDC), Genero Business Development Language (FGL), Genero Report Engine (GRE), and the Genero Application Server (GAS)
GSTIDE Install Genero Studio (mandatory).
GSTFILEASSOC Install all Genero Studio file associations.
GSTFILEASSOCSOURCEFILES Install all Genero Studio source file associations.
GSTFILEASSOCBINARYFILES Install all Genero Studio binary file associations.
GSTFILEASSOCWEBXMLFILES Install all Genero Studio WebXML file associations.
GSTIDECONTEXTMENU Install Genero Studio to the context menu.
GDC Install the Genero Desktop Client (GDC).
GDCFILEASSOCGDC Install the GDC file associations.
FGL Install the Genero Business Development Language (BDL).
GRE Install the Genero Report Engine (GRE).
GAS Install the Genero Application Server (GAS).
Default value: GSTIDE, GSTFILEASSOCSOURCEFILES, GSTFILEASSOCBINARYFILES, GSTIDECONTEXTMENU, GDC, GDCFILEASSOCGDC, FGL, GRE, GAS
JAVADIR=your_jvm_path Location of the Java Virtual Machine (JVM). This option is required for the Genero Report Engine (GRE).
FORCEREMOVEPRODUCTDIR=YES On uninstall, force the removal of the PRODUCTDIR directory, even if it is not empty. For any value other than YES, keep the files in the PRODUCTDIR location. Default value: ""
Note: Quotes are only required around the argument value when a space character is in the value string.

Silent install example

This command installs GST 3.00.03 with all products, and sets the location of the Java Virtual Machine (JRE):

msiexec /qn /i fjs-gst-3.00.03-build155239-alpha-w64v120.msi /log gst.log PRODUCTDIR="c:\fjs\gst30003\" ADDLOCAL=ALL JAVADIR="C:\Program Files\Java\jdk1.7.0_80\bin"

Silent uninstall example

This command removes GST 3.10.05 and removes the product directory:

msiexec /qn /x fjs-gst-3.10.05-build155239-alpha-w64v120.msi /log gst_remove.log FORCEREMOVEPRODUCTDIR=YES