Install Genero Studio

These topics relate to the installation of the Genero Studio.

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/.

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

The Genero Studio software package includes Genero Studio, Genero Business Development Language, Genero Application Server, Genero Desktop Client, Genero Web Client, Genero Web Services, Genero Mobile and Genero Report Writer. During the installation process, you can select which components to include or exclude. By default, the wizard installs all components.

Genero Studio can be used as a standalone application, or in a client/server mode. The packages for Windows® and GNU/Linux® install client and server programs.

Use a standalone scheme when you want to use local Genero and Genero Desktop Client installations and compile files locally.

If the Genero installation and your project files are on another machine, install Genero Studio on this machine and run the server program only. You will have to declare the Genero Studio Server in your local Genero Studio (client) configuration in order to use it.

Note: See the Genero Studio User Guide for additional installation and configuration information.
Note: See the Genero Business Development Language User Guide for details on configuring Genero Mobile for Android™ and iOS. Those configuration topics contain additional system requirements for each mobile platform.

If you do not have a valid maintenance key for Genero, you must License Genero Report Engine (GRE).

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.

GST 4.00 and Genero compatibility

When using Genero Studio (GST) 4.00, ensure the other Genero components are based on compatible versions.

Genero Studio 4.00 is compatible with:

  • FGLGWS 3.00 and above
  • GDC 3.00 and above
    Note: GST may work with older versions of FGLGWS and GDC.
  • GAS 3.00 and above
  • GRE 4.00
  • GGC 2.00 (included with FGLGWS 3.20) and above
  • GMI and GMA 4.00

GST 3.20 and Genero compatibility

When using Genero Studio (GST) 3.20, ensure the other Genero components are based on compatible versions.

Genero Studio 3.20 is compatible with:

  • FGLGWS 3.00 and above
  • GDC 3.00 and above
    Note: GST may work with older versions of FGLGWS and GDC.
  • GAS 3.00 and above
  • GRE 3.20
  • GGC 2.00
  • GMI and GMA 1.4

Install Genero Studio on UNIX platforms

Follow these steps to install Genero Studio on Gnu/Linux and UNIX™.

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/.

Important: Before installation on Linux® systems, verify the libxcb, ncurses-compat-libs, and libXScrnSaver libraries are installed.
  1. Type the following command to start the installation:

    $ sh fjs-gst-version-buildYYYYMMDDhhmm-osident.run

    Example:

    $ sh fjs-gst-4.00.00-build202006051012-l64xl217.run

  2. Follow the instructions provided on the screen.

What to do next

When installation is complete, see the Configuring Genero Studio page in the Genero Studio User Guide.

Install Genero Studio on UNIX platforms in silent mode

Install Genero Studio silently on Gnu/Linux and UNIX platforms.

Before you begin: Ensure that your PATH environment variable contains the full path to the java binary that you want to use with Genero Studio tools.

To start the installation, type the following:

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

For example:

./fjs-gst-4.00.00-build202006051012-l64xl217.run -a -q --no-desktop -t $PWD/fjs-gst-4.00

Options

Table 1 shows the most common 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.
--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 Genero Studio on Windows

Procedure to install Genero Studio on Windows.

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/.

  1. Execute the package name to start the Setup Wizard.

    fjs-gst-version-build-osident.exe

    Example:

    fjs-gst-3.10.03-build127192-w32v100.exe

  2. When the Welcome page displays, click Next.
  3. End-User License Agreement - Read and accept the license agreement and click Next.
  4. Third-Party License Agreement - Read and accept the terms of the license agreement and click Next.
  5. Setup Type - Select your machine type and components:
    • Workstation or Server - Full installs the entire product suite.
    • Workstation - Minimal installs the workstation for development using a Studio Server only.
    • Server - Minimal installs the server tools only.
    Click Next.
  6. Destination Folder - Specify the destination folder for your Genero installation (or use the default) and click Next.
  7. Start Menu Folder - Select the folder and click Next.
  8. Licensing - If you want to license the product directly after it is installed, select the appropriate check boxes:
    • License Genero Business Language - Select if you want to install the BDL. This is the default.
    • License Genero Report Engine - Select only if you have a specific GRE license.

    For further information about licensing types, see How Genero Licensing Works.

    If you deselect all check boxes, you need to license the product at a later time. See License Genero Business Development Language and License Genero Report Engine (GRE).

    Click Next to continue.

  9. Java™ Virtual Machine - Select an installed JVM version and click Next.
    Important: The binary format of GST must match the binary format of the JVM. For example, a 64-bit GST requires a 64-bit JVM.
  10. Ready to install - Click Install to begin the installation.
  11. If you chose to license Studio during the installation, the License Information appears as well as the maintenance key (if available). Click Install. Alternatively, select the check box to use the Four Js Activation Server.
    1. Enter the license number and the license key, and click Install.
    2. Enter the maintenance key and click Update Key.
    3. Click Quit to leave the License Information dialog.
  12. Click Finish.

    The installation completes and the install wizard closes.

What to do next

When installation is complete, see the Configuring Genero Studio page in the Genero Studio User Guide.

Install Genero Studio on Windows in silent mode

Install Genero Studio 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 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 /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-gst-version-build-osident.exe /x

For example:

fjs-gst-4.00-build123456-w64v120.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 msiexec installer
Argument Description
PRODUCTDIR=your_gstdir_path Path where GST will be installed. It is an alias of GSTDIR.
GENEROSTUDIODIR=your_gstdir_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.
Option Description
ALL Install Genero Studio (GSTIDE), all Genero Studio file associations (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 FGLGWS package, which includes Genero Business Development Language (BDL), Genero Application Server for Java (JGAS), Genero Browser Client (GBC), and Genero Ghost Client (GGC).
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.
Tip: To determine the required arguments for the silent installation, run the installer graphically and generate a log file that records your choices. The log file will contain the argument values for your command line script. This is particularly useful for the ADDLOCAL argument, which can be complex.
  1. Install the product using the graphical installer (without /qn) and specify a log file, for example:
    msiexec /i fjs-gst-4.00.02-build167272-w64v141.msi /l gst_install.log
  2. Open the log file.
  3. Search the log file for the arguments you need, for example ADDLOCAL and PRODUCTDIR. Copy the values.
  4. Install the product again (you may need to uninstall first), this time using silent mode (with /qn) and specifying the copied arguments. For example:
    msiexec /qn /i fjs-gst-4.00.02-build167272-w64v141.msi PRODUCTDIR="C:\Program Files\FourJs\Genero Studio\4.00.02\" ADDLOCAL="GENEROSTUDIO,GSTIDE,GDC,FGL,GRE,
    GAS,VC100_CRT_x86_x64,VC120_CRT_x86_x64,VC141_CRT_x86_x64,GSTFILEASSOC4AD,GSTFILEASSOCSOURCEFILES,GSTFILEASSOC4BA,GSTFILEASSOC4DB,
    GSTFILEASSOC4DBX,GSTFILEASSOC4DM,GSTFILEASSOC4FD,GSTFIL"
  5. Save the installation instructions to a script, so it can be reused and distributed.

Silent install example

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

msiexec /qn /i fjs-gst-3.20.03-build155239-alpha-w64v120.msi /log gst.log PRODUCTDIR="c:\fjs\gst32003\" 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

Microsoft Windows Security Blocking

The Windows firewall, enabled by default, detects and blocks the Genero Studio Server and the Genero Desktop Client.

From the network point of view, Genero Studio Server and the Genero Desktop Client (used by Genero Studio to display forms) are both considered servers. When you start Genero Desktop Client, or attempt to connect to Genero Studio Server, the firewall detects this and blocks the programs.

A dialog allows you to unblock the program. Follow the instructions provided by the dialog.

If you select Keep Blocking or Ask Me Later, the firewall continues to block the program(s).

If Keep Blocking has been pressed by mistake, you can change this parameter in the Windows Firewall settings. Ensure you add Genero Studio, Genero Studio Server, and Genero Desktop Client to the list of exceptions or allowed apps, and make sure that their listings have a check mark.

Install Genero Studio on macOS (GUI installer)

Procedure to install Genero Studio 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 http://4js.com/end-user-license-agreements/.

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

You need the GST .dmg package. For example: fjs-gst-3.xx.xx-buildxxxxxx-m64xxxx.dmg, where the "x" are placeholders for version and build numbers.

About this task

Follow these instructions to install Genero Studio.

  1. Double-click on the dmg package in the finder.
    The dmg mounts. You have a new icon on your desktop with the same name as the package (fjs-gst-3.10.00-buildxxxxxx-m64x106, for example).
  2. Double-click on the new icon.
    It will display a new window containing fjs-gst-3.10.00-buildxxxxxx-m64x106.pkg.
  3. Double click on the fjs-gst-3.10.00-buildxxxxxx-m64x106.pkg to launch the installation process.
    The GUI installer can be installed GST in /Applications or $HOME/Applications. You can have several GST installed in the same time.
  4. Follow the installation instructions presented by the wizard.

What to do next

When installation is complete, see the Configuring Genero Studio page in the Genero Studio User Guide.

Debug the Genero Studio Install on macOS (GUI installer)

Procedure to debug the install Genero Studio on macOS.

Follow these steps to debug a failed installation in GUI mode:

  1. When the installation process begins, you will have a "Window" menu. Go to the Window menu and choose the Installer Log item.
    It launches a window where the installation logs are displayed.
  2. To the left of the new window, you can choose Show all logs from a combobox.
  3. When the installation process ends (with or without error), you can use the save button to create a file containing all log messages.

Install Genero Studio on macOS (command line)

Procedure to install Genero Studio 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 http://4js.com/end-user-license-agreements/.

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

You need the GST .dmg package. For example: fjs-gst-3.xx.xx-buildxxxxxx-m64xxxx.dmg, where the "x" are placeholders for version and build numbers.

  1. Open a terminal.
  2. Mount the dmg file using the hdiutil tool:
    hdiutil mount fjs-gst-2.50.00-buildxxxxx-m64x105.dmg
  3. Launch the install process:
    sudo installer -pkg /Volumes/fjs-gst-2.50.00-buildxxxxxx-m64x106/fjs-gst-2.50.00-buildxxxxxx-m64x106.pkg/ -target "/Volumes/Macintosh HD"
  4. Change the owner of $HOME/.Fourjs:
    sudo chown -R [My Account]:staff $HOME/.Fourjs
  5. Umount the dmg:
    hdiutil unmount /Volumes/fjs-gst-2.50.00-buildxxxxxx-m64x106

What to do next

When installation is complete, see the Configuring Genero Studio page in the Genero Studio User Guide.

Debug the Genero Studio Install on macOS (command line)

Procedure to debug the install Genero Studio on macOS.

To debug a failed installation, use the following command line:

sudo installer -pkg /Volumes/fjs-gst-2.50.00-buildxxxxxx-m64x106/fjs-gst-2.50.00-buildxxxxxx-m64x106.pkg/ -target "/Volumes/Macintosh HD" -dumplog -verbose 2>&1 | tee fjs-gst-2.50.00-buildxxxxxx-m64x106.log