Install and uninstall in silent mode on Microsoft Windows platforms
Install or uninstall the Genero Application Server 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/.
To install or uninstall the GAS in silent mode, you can use the msiexec command line utility. 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-gas-version-build-osident.exe /x
Example:
fjs-gas-3.10.05-build129065-v32v100.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-gas-version-build-osident.msi
- Install the specified msi package
/x
fjs-gas-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.
Argument | IIS version | Description |
---|---|---|
PRODUCTDIR=your_fglasdir_path |
All | Path where GAS will be installed. It is an alias of GASDIR . |
GASDIR=your_fglasdir_path |
All | Path where GAS will be installed. It is an alias of PRODUCTDIR . |
FGLDIR=your_fgldir_path |
All | Path where Genero BDL is installed. Used only when SETFGLDIR=1 . |
SETFGLDIR=1 |
All | Enable the FGLDIR variable. Default value is 0
(zero). |
GREDIR=your_gredir_path |
All | Path where GRE is installed. Used only when SETGREDIR=1 . |
SETGREDIR=1 |
All | Enable the GREDIR variable. Default value is 0
(zero). |
ADDLOCAL=GAS |
All | Install the GAS without ISAPI. Set the parameter to ALL to install the GAS with the ISAPI extension. |
ISAPIDIR=your_isapi_path |
All | Path where the ISAPI extension will be installed. If not specified, the default path is <PRODUCTDIR>\isapi. |
STARTMENUFOLDER=your_startmenufolder_path |
All | Customize the location for the shortcuts in the startmenu. For example: "fjs\gas" |
WEBSITE=your_webSite |
IIS 6, IIS7 | Default value: "Default Web Site" |
WEBAPPNAME=your_webAppName |
All | Default value: "gas" |
WEBAPPPOOLNAME=your_webAppPoolName |
IIS 6, IIS7 | Default value: "GASAppPool" |
APPPOOLUSERDOMAIN=your_AppPoolUserDomain |
IIS 6, IIS7 | Default value: "" |
APPPOOLUSER=your_AppPoolUser |
IIS 6, IIS7 | Default value: "NetworkService" Other possible values:
|
FORCEREMOVEPRODUCTDIR=YES |
All | On uninstall, remove the PRODUCTDIR location even if it is not empty.
Default value: "" |
Silent install examples
On IIS5:
msiexec /qn /i fjs-gas-2.50.04-build129065-v32v100.msi /log gas2.20.log
PRODUCTDIR=c:\tmp\gas2 ADDLOCAL=ALL ISAPIDIR=c:\tmp\gas2\isapi WEBAPPNAME=gas-msi
On IIS 6:
msiexec /qn /i fjs-gas-2.50.04-build129065-v32v100.msi /log gas2.20.log
PRODUCTDIR=c:\tmp\gas2 ADDLOCAL=ALL ISAPIDIR=c:\tmp\gas2\isapi WEBAPPNAME=gas-msi
APPPOOLUSERDOMAIN="" APPPOOLUSER=NetworkService WEBAPPPOOLNAME=gas-pool-msi
msiexec /qn /i fjs-gas-2.50.04-build129065-v32v100.msi /log gas2.20.log
PRODUCTDIR=c:\tmp\gas2 ADDLOCAL=ALL ISAPIDIR=c:\tmp\gas2\isapi WEBAPPNAME=gas-msi
APPPOOLUSERDOMAIN=your_domain APPPOOLUSER=your_user WEBAPPPOOLNAME=gas-pool-msi
ALLUSERS=1
Silent uninstall example
msiexec /qn /x fjs-gas-2.50.04-build129065-v32v100.msi /log as2_50_04.log