IBM Support

Basic Command Line Installation Syntax Examples

Troubleshooting


Problem

The purpose of this document is to provide some basic examples for customers wishing to utilize the Access for Windows command line install feature.

Resolving The Problem

The purpose of this document is to provide some basic examples for customers wishing to utilize the Access for Windows command line installation feature. We receive many calls requesting assistance with developing the correct syntax to install Access for Windows features. Because the Access for Windows Installation and Setup Guide does not list the commands specifically put together, this document should provide the basic information required for a customer to build the command as needed. This document is intended to be a basis for reference only and is not intended to cover all installation possibilities.

When building a command line installation command, some basic rules apply:

o /s - Suppresses the Setup.exe initialization dialog and the Setup Language Dialog. It does not suppress any dialogs that are defined in the MSI package.
o/v - Used to pass msiexec.exe command line options and values of PUBLIC properties through to the MSI package. If you want to suppress the dialogs that come from the MSI package, specify the /qb or /qn options.
o/qb /qr or /qn options suppress the dialogs that come from the MSI package as follows:

- To start the installation with a reduced user interface level, type setup /v"/qr.
- To start the installation with a basic user interface level, type setup /v"/qb.
- To start the installation with no user interface, type setup /v"/qn.
Important Note: The /qr /qb and /qn options do not suppress the Installation Language selection dialog shown at the beginning of the installation. In order to avoid the Installation Language selection dialog, append the /s parameter as shown in the following example:
setup /v"/qb /s

Some sample installation commands are as follows:
  1. setup.exe /s /v"/qn REMOVE=ALL REBOOTPROMPT=S"
  2. setup.exe /s /v"/qn ADDLOCAL=req,emu"
  3. setup.exe /s /v"CWBPRIMARYLANG=MRI2924 REBOOT=S REBOOTPROMPT=S /qb"

As you can see, the /qr, /qn or /qb command switch can be placed either before individual properties or after; however, they must preceded and followed by double quotes (").

The feature list for the ADDLOCAL PUBLIC property can be found in Table 15 of the System i Access for Windows Installation and Setup Guide:

http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/index.jsp?topic=/rzaij/rzaijprint.htm

Note: These are only examples for reference and are not meant to be specific to any one particular customer scenario.

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]

Historical Number

515762928

Document Information

Modified date:
11 November 2019

UID

nas8N1013159