Previous Contents Index Next |
Sun Java Enterprise System 2004Q2 Installation Guide

> ## Appendix C
> Installer Command-line Options

> This appendix describes the command-line options for the following Java Enterprise System programs:

> - Java Enterprise System Installer
> - Java Enterprise System Uninstaller

> ##

> Java Enterprise System Installer

> The installer command has the following format:

> installer [option]...

> The following table lists the options to the Java Enterprise System installer command.

> Table C-1 Java Enterprise System Installer Command-line Options

> Option | Description
> --- | ---
> -help | Displays and defines command line options to the installer.
> -id | Prints a state file ID to the screen.
> -no | Runs the installer without installing software.
> -noconsole | Starts the installer in silent mode, suppressing the user interface. Use this option with -state to run the installer in silent mode.
> -nodisplay | Starts the installer in text-based mode (does not launch the graphical interface).
> -saveState [statefile] | Instructs the installer to generate a state file at the location specified by statefile. State files are used when performing a silent installation. If the specified file does not exist, the command creates it. If you omit the statefile value, the installer writes to the default file, statefile.out. You can specify the same state file in subsequent installation sessions. After the first session, .n is appended to the filename, where n is an integer that is incremented for each session, beginning with zero (0).
> -state statefile | Uses the specified state file to provide input for silent installation. Use this option with -noconsole for starting silent installation.

> The following table summarizes the options used in different types of installation scenarios.

> Table C-2 Use of Installer Options

> Task | Options to Use
> --- | ---
> Run the installer in text-based mode | -nodisplay
> Run the installer in graphical mode | None
> Run the installer without installing software | -no
> Create a state file without installing software | -no [-nodisplay] -saveState [statefile]
> Create a state file while installing software | [-nodisplay] -saveState [statefile]
> Run the installer in silent mode | -nodisplay -noconsole -state statefile

> ##

> Java Enterprise System Uninstaller

> The uninstall command has the following format:

> uninstall [option]...

> The following table lists the options to the Java Enterprise System uninstall command.

> Table C-3 Java Enterprise System Uninstaller Command-line Options

> Option | Description
> --- | ---
> -help | Displays and defines command line options to the uninstaller.
> -id | Prints a state file ID to the screen.
> -no | Runs the uninstaller without removing software.
> -noconsole | Starts the uninstaller in silent mode, suppressing the user interface. Use this option with -state to run the uninstaller in silent mode.
> -nodisplay | Starts the uninstaller in text-based mode (does not launch the graphical interface).
> -saveState [statefile] | Instructs the uninstaller to generate a state file at the location specified by statefile. State files are used when performing a silent uninstallation. If the specified file does not exist, the command creates it. If you omit the statefile value, the uninstaller writes to the default file, statefile.out. You can specify the same state file in subsequent uninstallation sessions. After the first session, .n is appended to the filename, where n is an integer that is incremented for each session, beginning with zero (0).
> -state statefile | Uses the specified state file to provide input for silent uninstallation. Use this option with -noconsole for starting silent uninstallation.

> The following table summarizes the options used in different types of uninstallation scenarios.

> Table C-4 Use of Uninstaller Options

> Task | Options to Use
> --- | ---
> Run the uninstaller in text-based mode | -nodisplay
> Run the uninstaller in graphical mode | None
> Run the uninstaller without removing software | -no
> Create a state file without uninstalling software | -no -nodisplay -saveState [statefile]
> Create a state file while uninstalling software in graphical mode | -saveState [statefile]
> Run the uninstaller in silent mode | -nodisplay -noconsole -state statefile

> Previous Contents Index Next

> Copyright 2004 Sun Microsystems, Inc. All rights reserved.