Silent installation

You can also run the installer in silent mode. This means that no panels are displayed during the install and there are no prompts for input. As when running the install in graphical mode, there are two ways to run the install silently.

From the jar file
Run the install in the same way as previously described, but append the -silent flag. For example:

On Windows
set classpath=.\setup.jar;%classpath%
jview run -silent 

On Linux, AIX, Solaris, and HP-UX
CLASSPATH=./setup.jar:$CLASSPATH
				export CLASSPATH
				java run -silent
 

From a platform specific launcher
Add the -is:silent -silent flags. For example:

On windows
setup.exe -is:silent -silent

On AIX
Setupaix.bin -is:silent -silent

On Linux
Setuplinux.bin -is:silent -silent

On Solaris
Setupsolaris.bin  -is:silent -silent
 

On HP-UX
Setuphp-ux.bin  -is:silent -silent
 
Note:
If you have not uninstalled old versions of WebSphere MQ Everyplace, a silent install will use your current directory and not the default shown in the following table.

By default the installer installs WebSphere MQ Everyplace in the following directories on each platform:

Platform Default installation directory
AIX /opt/MQe
Linux /opt/MQe
Solaris /opt/MQe
Win32 \Program Files\MQe
HP-UX /opt/MQe

To set a different installation directory for a silent install, append the -P MQe.installLocation flag to the install command as follows:

From the jar file
java run -silent -P MQe.installLocation="C:\my new install directory"
 

From a platform specific launcher
setup.exe -is:silent -silent -P MQe.installLocation=
"C:\my new install directory"
Note:
When using the -P MQe.installLocation parameter to override the install location during silent install, ensure that you specify the full path of the the new destination.

Using options files with silent Iinstalls

When running the install silently you can specify an options file. The options file allows you to:

The following example options file sets the install to run silently, sets the install location to "C:\MQe", and chooses to install all features except the Palm feature.

#specify silent install
-silent
#set features to active
-P Java.active=true
-P Documentation.active=true
-P CBindings.active=true
-P Native.active=true
-P Palm.active=false
#Set the install location
-P MQe.installLocation="C:\MQe"
 

Notes:

  1. Include the "-is:silent" flag in the options file if running the install from a launcher.

  2. Do not leave any blank lines in the options.txt file.

  3. Start all lines with "#" or a valid command.

  4. You can have multiple commands on a single line.

The following examples show how to run the installer with an options file:

From the jar file
java -cp setup.jar run -options C:\options.txt

From a launcher
setup.exe -options C:\options.txt


© IBM Corporation 2002. All Rights Reserved