Install Genero Application Server

These topics relate to the installation of the Genero Application Server.

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 https://4js.com/end-user-license-agreements/.

Installation can vary depending on the host operating system. Ensure you follow the installation instructions for your host operating system.

The software is provided as an auto-extractible installation program (i.e. product files and installation program are provided in the same file). The name of the package includes the operating system type and version. You must install the Genero Application Server software package corresponding to the operating system that you use.

The Genero Application Server and the Genero BDL runtime should be installed on the same machine.

Note: See the Genero Application Server User Guide for additional installation and configuration information.

System requirements

For details about system requirements, refer to the Supported platforms and databases document (available on the Download page of the Four Js Web site) or contact your support center.

Genero compatibility for the GAS

Determine the compatibility of different versions of the Genero product family and the Genero Application Server.

GAS 3.21 and Genero compatibility

When using Genero Application Server (GAS) 3.21, ensure the other Genero components are based on compatible versions.

The GAS and DVM should be in sync; GAS 3.21 should use FGL 3.21.

The following Genero clients are compatible:
  • GDC HTTP 4.01 and 3.21
  • GBC 1.00

GAS 3.20 and Genero compatibility

When using Genero Application Server (GAS) 3.20, ensure the other Genero components are based on compatible versions.

The GAS and DVM should be in sync; GAS 3.20 should use FGLGWS 3.20.

The following Genero clients are compatible:
  • GDC HTTP 3.20 and GDC HTTP 3.21
  • GBC 1.00

GAS 3.10 and Genero compatibility

When using Genero Application Server (GAS) 3.10, ensure the other Genero components are based on compatible versions.

The GAS and DVM should be in sync; GAS 3.10 should use FGLGWS 3.10.

The following Genero clients are compatible:
  • GDC HTTP 3.10, GDC HTTP 3.20, and GDC HTTP 3.21
  • GBC 1.00
Important: Genero Web Client for JavaScript (GWC-JS) applies to the Web client 3.xx and lower. Starting with 3.10, GWC-JS was renamed as the Genero Browser Client (GBC).

Install GAS on UNIX platforms

Follow these steps to install the Genero Application Server on UNIX™ 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 https://4js.com/end-user-license-agreements/.

The installation program provides options that allow you to specify configuration options from the command line. You can display the installation program options using the -h option:

./fjs-gas-version-build-osident.run -h

Example:

$ ./fjs-gas-3.20.04-build129065-l64xl25.run -h

The installation program identifies the operating system and checks that all the system requirements are met before starting to copy the product files to disk.

  1. To perform the installation, run the auto-extractable shell script:

    ./fjs-gas-version-build-osident.run

    Example:

    $ ./fjs-gas-3.20.04-build129065-l64xl25.run

  2. Once the files are copied to disk, follow the instructions displayed.
What to do next:

When you have completed the installation of the GAS, see FastCGI installation in the Genero Application Server User Guide for details on the Web Server configuration. Afterwards, validate your installation as described in Validating the installation with the GBC or Validating the installation with the GDC in the Genero Application Server User Guide.

Tip: If you have configurations from a previous installation version, for example in your as.xcf, avoid copying these files in to your new installation. The preferred practice is to use the default from the new install package so that you benefit from any new or changed syntax it may contain and then reapply your custom changes.

Install the GAS on UNIX platforms in silent mode

Install the Genero Application Server (GAS) silently on GNU/Linux® and UNIX platforms.

To start the installation, type the following:

./fjs-gas-version-buildYYYYMMDDhhmm-osident.run -a -q --no-desktop -t install_dir

For example:

./fjs-gas-3.20.11-build202006111557-l32al228.run -a -q --no-desktop -t $PWD/gas-3.20.11

Options

Table 1 shows the options relating to installation.

Table 1. UNIX install options
Install option Description
-a or --accept Bypass the display and the prompt for acceptance of the license agreement. Using the -a option indicates that you have read and accepted the End User License Agreement, located on the Four Js website at http://4js.com/end-user-license-agreements/.
-h or --help Display help about all possible options.
-q or --quiet Silent mode with no UI. If -q is not specified, the interactive installer is used.

-f backup|overwrite|remove or

--force backup|overwrite|remove

Specify what happens if the installation directory already exists:
  • backup: Back up the installation directory.
  • overwrite: Overwrite installation file.
  • remove: Delete installation directory before installing.

-t install_dir or

--target install_dir

Install the product in the specified target directory. If -t is not specified, the default installation is used.
-d or --dvm

Specify the FGL directory to configure .xcf files.

--gredir

Specify the GRE directory to configure .xcf files.

--no-desktop Desktop bindings are not installed, which means:
  • Desktop and system menu icons are not created.
  • File types are not automatically associated with the product.

Install GAS on Windows

Install the Genero Application Server 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 https://4js.com/end-user-license-agreements/.

On Microsoft Windows, the GAS is provided as a standard Windows setup program.

The installation program and the distribution files are provided in the same file:

fjs-gas-version-build-osident.exe

To install execute the setup program:

Example:

fjs-gas-3.20.04-build129065-w32v100.exe

A wizard guides you through the installation process.

What to do next:
Tip: If you have configurations from a previous installation version, for example in your as.xcf file, avoid copying this in to your new installation. The preferred practice is to use the default configuration file from the new install package so that you benefit from any new or changed syntax it may contain and then reapply your custom changes.

When installation is complete, see the Genero Application Server User Guide for configuration information and instructions.

Install GAS on Windows in silent mode

Install the Genero Application Server on Windows platforms using the MSI installer.

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 https://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 /qn option allows you to install in silent mode. The msiexec utility expects an msi file. To be compliant with Microsoft User Access Control (UAC) requirements, the msi file is embedded inside an exe file. To extract the msi file from the exe file, use the /x option:

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

For example:

fjs-gas-3.20.05-build129065-v32v100.exe /x

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

Options

Table 2 shows the most common options for msiexec relating to installation and un-installation.

Table 2. msiexec install and uninstall options
msiexec option Description
/qn Silent mode with no UI. If /qn is not specified, the graphical installer is used.
/i package-name.msi Install the specified msi package.
/x package-name.msi Uninstall the specified msi package.
/log logfile Write processing info to the specified log file.
/l*vx logfile Provide verbose (detailed) logs in the specified log file.

Enter msiexec from the command prompt to view the complete list of available options.

Arguments

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

Table 3. Arguments for the misexec installer
Argument Description
PRODUCTDIR=your_gasdir_path Path where GAS will be installed. It is an alias of GASDIR.
GASDIR=your_gasdir_path Path where GAS will be installed. It is an alias of PRODUCTDIR.
FGLDIR=your_fgldir_path Path where Genero BDL is installed. Used only when SETFGLDIR=1.
SETFGLDIR=1 Enable the FGLDIR variable. Default value is 0 (zero).
GREDIR=your_gredir_path Path where GRE is installed. Used only when SETGREDIR=1.
SETGREDIR=1 Enable the GREDIR variable. Default value is 0 (zero).
STARTMENUFOLDER=your_startmenufolder_path Customize the location for the shortcuts in the startmenu. For example: "fjs\gas"
FORCEREMOVEPRODUCTDIR=YES On uninstall, remove the PRODUCTDIR location even if it is not empty. Default value: ""
Note: Quotes are only required around the argument value when a space character is in the value string.

Silent install example

msiexec /qn /i fjs-gas-3.20.08-build129065-v32v100.msi /log gas3_20_08.log PRODUCTDIR=c:\tmp\gas2

Silent uninstall example

msiexec /qn /x fjs-gas-2.50.04-build129065-v32v100.msi /log as2_50_04.log

Install GAS on macOS

Before you begin

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 https://4js.com/end-user-license-agreements/.

You need a macOS™ and an user account which has administrator access level.

Download the installation package for the macOS .

You should have completed the installations for Genero BDL (mandatory) and Genero Report Engine (if necessary) before you start this task.
  • The installation of Genero BDL is mandatory.
  • The installation of Genero Report Engine is only necessary if you plan to use the Genero Report Writer through applications running on the GAS.

You will be asked to provide the directory paths for both BDL and GRE.

Genero packages for Apple® Mac® and the macOS operating system are provided as x86 packages, which are designed to run on Intel® processors. Rosetta enables a Mac with Apple silicon to use apps built for a Mac with an Intel processor. If you are using such a machine, you will be asked to install Rosetta the first time you install or open your Genero app. Rosetta works automatically in the background whenever you use an app that was built only for Mac computers with an Intel processor. It translates the app for use with Apple silicon. If Rosetta is already installed, you are not asked to install it again.

About this task

Follow these instructions to install the Genero Application Server on macOS.

  1. Determine the directory where you will install the product.
    The wizard will eventually suggest /opt/fourjs/gas. If you plan to use this default, ensure you have write permission to this directory.
  2. Log in as a user with permission to write to the directory in which you plan to install this product.
  3. Copy the self-extractable file into a temporary directory.
  4. From a command prompt, run the self-extractable shell script:
    sh fjs-gas-version-buildYYYYMMDDhhmm-osident.run

    Example:

    sh fjs-gas-3.20.20-build202211030951-m64x1012.run

  5. Follow the instructions displayed.
    Tip: After you have read the licensing agreement, press "q" to return to the instructions and prompts.
What to do next

When installation is complete, see the Genero Application Server User Guide for configuration information and instructions.