Installation command syntax

You can include options to the installation command when you run the command from the command line.

Log in as the appropriate user to be the owner of the database server to run this command.

Syntax

                 (1)              
>>-+-onedb_install---------+-- -i--------------------------------->
   |                 (2) |        
   '-onedb_install.exe-----'        

                 (1)                                                              
       .-console-----.                                                            
>--+-+-+-------------+-+--+-------------------------+--+--------------------+-+-->
   | |     (1)         |  '- -r--response_file_path-'  |                (1) | |   
   | '-gui-------------'                               '- -DLEGACY=TRUE-----' |   
   '-silent-- -f--response_file_path--+---------------------------------+-----'   
                                      '-| Silent installation options |-'         

>--+----------------------+------------------------------------->
   '- -DDEBUG_LEVEL=level-'   

>--+-------------------------------+---------------------------->
   '- -DDEBUG_FILE=debug_file_path-'   

>--+---------------------------+--+--------+-------------------><
   '- -DLOG_FILE=log_file_path-'  '- -help-'   
Silent installation options

|--+--------------------------+--------------------------------->
   '- -DLICENSE_ACCEPTED=TRUE-'   

>--+---------------------------+--+-------------------+--------->
   '- -DOVERWRITE_PRODUCT=TRUE-'  '- -DPRQCHECK=FALSE-'   

>--+----------------------------+-------------------------------|
   '- -DUSER_INSTALL_DIR=--path-'   

Parameters

You can set properties on the installation command line that are useful for specific environments or installation methods. The values TRUE and FALSE are case-sensitive.

The following table describes the installation application options.
Table 1. Installation options
Option Meaning
-DDEBUG_FILE=debug_file_path Specifies the full path and name of the debug file. If tracing is enabled, the default name and location of the file is /tmp/iad_dbg.log (UNIX™, Linux™) or \tmp\iad_dbg.log (Windows™).
-DDEBUG_LEVEL=level Specifies the level of tracing detail in the debug file. Possible values for level are 1 - 9, with 9 being the greatest level of tracing detail. By default, tracing is disabled.
-DLEGACY=TRUE UNIX, Linux: Extracts the product files from the installation media to create a script-based redistribution to other computers. For instructions, see Redistributing Informix with scripts (UNIX, Linux).
-DLICENSE_ACCEPTED=TRUE Accepts the product license terms during a silent installation instead of indicating acceptance in the response file.
-DLOG_FILE=log_file_path Specifies the full path and name of the installation log file. The default name and location of the installation log file is /tmp/iad_act.log (UNIX, Linux) or \tmp\iad_act.log (Windows).
-DOVERWRITE_PRODUCT=TRUE Specifies to overwrite an existing product installation during a silent installation. Otherwise, the installation application exits if it finds an existing product installation.
-DPRQCHECK=FALSE Specifies to bypass the operating system prerequisites check during a silent installation.
Important: Use with caution. Disabling the prerequisites check might result in an installation that does not function properly.
-DUSER_INSTALL_DIR=install_path Specifies the installation path during a silent installation instead of specifying the path in a response file. Replace install_path with the absolute path to the installation directory.
-help Displays list of supported options and their functions.
-i gui Starts the installation program in GUI mode.
-i console UNIX, Linux: Starts the installation program in console mode.
-i silent -f response_file_path Starts a silent installation that uses an existing response file. The response_file_path specifies the absolute path and file name for the response file.

For instructions, see Running a silent installation.

-r response_file_path Creates a response file that is required for a silent installation. The response_file_path variable specifies the absolute path and file name for the response file. For more information, see Preparing a response file).

Do not name your response file bundle.properties or ids.properties.

Unsupported options

The installation user interface is based on the InstallAnywhere framework; however, the onedb_install command does not support the following options:

  • -add
  • -remove
  • -repair
  • -uninstall

To remove your installation, use the procedures that are recommended for your operating system.