Running Command Line or Silent Installations

Oracle Smart View for Office can be installed from the command line.

Additionally, administrators can enable silent installations—installations that do not require settings to be specified each time—for Smart View and Smart View extensions. The silent installation command can be included in scripts to automate installation.

Related Topics:

Before You Begin

  • Complete steps 3 and 4 in Installing from My Oracle Support or Oracle Technical Resources to download the Smart View installation zip file and unzip it to the folder you will be working in.

  • Oracle recommends ensuring that all Microsoft Office processes are terminated on the machines where a silent installation or upgrade will be running. In Windows Task Manager, the Office processes to check for and terminate are Excel, Word, PowerPoint, and Outlook.

Command Line and Silent Installation Options

Use the options in Table 2-4 to install Smart View from the command line and for silent installations.

Table 2-4 Options for Command Line and Silent Installations of Smart View

Option Usage

/v "command line options"

Specifies command line options to be passed to the Smart View MSI installer.

For example, to specify the installation directory, use:

/v "INSTALLDIR=<target_path>"

To enable logging, use:

/v "l*v <log_file_path_and_name>"

Unless the /v parameter contains any /q specifier, the wrapper passes /qb+ to the MSI.

/s

Runs the Smart View installer in silent mode.

The /s flag is converted to /qn and passed to the MSI. There is no need to specify the /qn parameter if /s is already present in your script.

INSTALLDIR=<target_path>

Specifies the installation directory.

Note:

Oracle recommends installing in the default location or in a location that does not contain any spaces in the installation path. For example, Oracle advises that you do not install in C:\Program Files or C:\Program Files (x86).

/v"l*v <log_file_path_and_name>"

or

/v "l*v <log_file_path_and_name>"

Enables logging.

Unless the /v parameter contains any /q specifier, the wrapper passes /qb+ to the MSI.

Note:

This command may be used with or without a blank space after the initial /v argument, depending on what works in your environment.

/a

Extracts the MSI file.

/i

Specifies the path to the extension installer:

i <path to the extension installer>

For example:

svlaunch.exe /i C:\Oracle\SmartView\extensions\SVFMJournalInstaller.svext

See Installing Smart View Extensions Silently.

/extensionupdatelist=

Path to UpdateList.xml.

/x

Uninstalls Smart View.

Use this command to uninstall Smart View when it has been installed or upgraded using the command line or silent installer.

If Smart View was installed using the wizard (described in Installing from My Oracle Support or Oracle Technical Resources), then follow the procedure in Uninstalling Smart View.

Note:

  • The silent installer wrapper follows these rules:

    • It passes the value of the /v parameter intact to the MSI.

    • The /s flag is converted to /qn and passed to the MSI. There is no need to specify the /qn parameter if /s is already present in your script.

    • Unless the /v parameter contains any /q specifier, the wrapper passes /qb+ to the MSI.

  • Silent installations are only supported for admin users.

Installing Using Command Line or Silent Install Options

To perform command line or silent installations:
  1. Open a command prompt using the "Run as administrator" option.
  2. Navigate to the directory of the Smart View installer.
  3. Run the installation commands in Table 2-4; for example:
    • To install in the default directory, run:

      Silent:

      SmartView.exe /s

      Command line:

      SmartView.exe
    • To install in another directory, run:

      Silent:

      SmartView.exe /s /v "INSTALLDIR=<target_path>"

      For example:

      SmartView.exe /s /v "INSTALLDIR=D:\SmartView"

      Command line:

      SmartView.exe /v "INSTALLDIR=<target_path>"

      For example:

      SmartView.exe /v "INSTALLDIR=D:\SmartView"
    • To specify the location of UpdateList.xml, run:

      Silent:

      SmartView.exe /s /extensionupdatelist=<path to UpdateList.xml>

      Command line:

      SmartView.exe /extensionupdatelist=<path to UpdateList.xml>
    • To install Smart View and log the installation sequence:

      Silent:

      SmartView.exe /s /v"/L*v <log_file_path_and_name>"

      For example:

      SmartView.exe /s /v"/L*v C:\install.log"
      SmartView.exe /s "/v/qn /L*v C:\install.log"
      SmartView.exe /s /v"/qn INSTALLDIR=C:\Oracle\SmartView /L*v c:\install.log"

      Command line:

      SmartView.exe /s /v"/L*v <log_file_path_and_name>"

      For example:

      SmartView.exe /s /v"/L*v C:\install.log"
      SmartView.exe /v"/qn INSTALLDIR=C:\Oracle\SmartView /L*v C:\install.log
      SmartView.exe /v" INSTALLDIR=C:\Oracle\SmartView /L*v C:\install.log"
    • To uninstall and log the uninstall sequence:

      Silent:

      SmartView.exe /x /s "/v /L*v C:\Share\uninstall.log"

      Command line:

      SmartView.exe /x "/v /L*v C:\Share\uninstall.log"