This section describes the following installation options:
Typically, these options are useful in production systems and for OEM use.
If you are running Windows NT, XP, or 2000, during installation, you can configure JRun servers to run as services or applications. If you choose Windows services, the JRun servers start every time you start your Windows system. Services run as system processes rather than as user processes. You can also use the Services utility to start, stop, and restart the JRun servers.
If you do not run JRun as a Windows service, it runs as an application.
JRun provides a command-line utility that you can use in the Windows environment to install a JRun server as an Windows system service. This section explains the options for this utility.
To run the command-line utility, open a console window, change to the jrun_root/bin directory, and use the following command-line syntax:
jrunsvc [-options]
The following table describes the options:
Silent mode lets the installer run without any user interaction. If you choose this option, there is no console or GUI output during the installation. Silent mode supports the setting of a target directory, shortcuts directory, and components to install using command-line arguments or a properties file.
Silent mode is supported in the installer and uninstaller runtime environments. You can set InstallAnywhere and end-user-defined variables using command-line parameters or a properties file. You can trigger silent mode using a command-line parameter or a properties file.
An installer properties file is an ASCI text file in which you define the parameters for your installation. This is useful when installing for an internal and external audience. You can turn panels on or off, depending on specific needs. In addition, in the properties file, you can define the type of installation, such as console or silent.
You can name the properties files, installer.properties or installername.properties, and save the installer file as installername.exe. However, if properties files with both of these names exist in the same directory as the client executable, JRun reads only the installer.properties file.
Note: Ensure that your properties file ends in .properties, not .txt.
If the properties file is in the same directory as your installer, the installer invokes the properties file automatically. However, if it is in a different directory, use the following command line option:
C:\\ path to the installer -f path to the properties file
The installer.properties file might contain the following properties files variables:
USER_INSTALL_DIR=/opt/jrun4
INSTALLER_UI=mode [gui|console|silent]
USERNAME=(Pre set)
PASSWORD=(Pre set)
RETURN_VARIABLE=(Pre set to the product serial number)
JAVA_EXECUTABLE=/opt/jrun4/jre/bin/java
JAVA_HOME=/opt/jrun4/jre
INSTALLER_LOCALE=en
CHOSEN_INSTALL_BUNDLE_LIST=Applica, Sample, Web Ser, Documen
CHOSEN_INSTALL_SET=CUSTOMIZED_SET
Running a silent install, JRun installs all components by default. To install selected components, specify the variables as follows:
CHOSEN_INSTALL_BUNDLE_LIST to the components you want to install, using their shortnames. All the components available are listed.
CHOSEN_INSTALL_SET to CUSTOMIZED_SET. To run a silent installation from the command line, use the following syntax:
installername -i [-options]
The following table describes the options:
| Option |
Description |
|---|---|
| -i mode |
Triggers the following modes: gui | console | silent |
| -f propertiesfile |
Calls the properties file. You can use the direct or the relative path to the properties file. |
To run a Windows JRun 4 installation in silent mode, use the following command-line syntax:
| Command line argument |
Description |
|---|---|
| /s |
Run silently. |
| /x |
Uninstall. |
| /v "/qn {PROPERTY=VALUE} " |
Run silently while setting internal values. |
You combine the command line arguments with the internal property settings. The following table shows the internal property values for JRun 4:
A typical silent JRun 4 installation command might appear as follows:
jrun-40-win-en.exe /s /v"/qn JVMDIR=C:\Progra~1\IBM\Java13\jre NTSERVICE=0 INSTALLDIR=C:\MyDir"
Note: If a name contains spaces, use quotation marks.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/jrun/4/Installing_JRun/install5.htm
Comments
jrunrandy said on Dec 2, 2003 at 8:11 AM : Busy Bart said on Jan 19, 2005 at 1:50 AM :