Silent App Studio Installation

How to:

After you are familiar with the App Studio installation, you can install in silent mode if you need to reinstall App Studio on several different machines. In a silent installation, dialog boxes do not appear to prompt you for parameters. Instead, you place the parameters in a text file that you specify when launching the silent installation. This is useful for sites where App Studio is installed on many developer machines.

To install in silent mode, you must first extract the installation files, then create a file containing your installation parameters.

The single executable file used for the installation of the software extracts files to a temporary location, which is based on the configuration of the Windows TEMP environment variable.

This, by default, is set to:

%USERPROFILE%\AppData\Local\Temp

where:

%USERPROFILE%

Is used to store per-user data. The typical path is C:\Users\Username.

Note: The temporary files get removed when the installation completes.


Top of page

x
Procedure: How to Extract the Installation Files

To run the silent installation, files must be extracted in a location and saved.

  1. Open a command prompt.
  2. Run the following command
    file_name.exe -extract_all:”path

    where:

    file_name

    Is the name of the installation file. For example, WfAppStudio8105.exe.

    path

    Is the directory path where the files will be extracted.

    An example of the command is below:

    WfAppStudio8105.exe -extract_all:C:\temp

    This process will extract the install files in a sub-folder named disk1. For example, C:\temp\disk1.


Top of page

x
Procedure: How to Create the Installation Parameters File

Create a file in a text editor with the options you wish to use for your installation. The following table explains the options. Place each option on its own line.

Option

Value

Example

-license

Should be followed by the 9-digit App Studio license.

-license 000000000
-installdir

Should be followed by the drive letter or location where you wish to install the root ibi directory. App Studio components are installed into a root ibi directory no matter what you enter. If you enter:

C:\ibi\

components are installed in:

C:\ibi\ibi\
-installdir C:\
–noupgrade

Can optionally appear if App Studio is already installed and you do not want to upgrade it.

–noupgrade
–tomcat

Specify this location, where drive:\ibi\tomcat\ is the location in which App Studio is installed. This ensures that Tomcat is installed in a subfolder under C:\ibi\.

To specify a different location, you can add a path to this installation option (for example, C:\Program Files\tomcat\).

–tomcat drive:\ibi\tomcat\
-config

Can optionally appear to configure Apache Tomcat and Microsoft IIS. It should be followed by one of the following:

tc

Configures Tomcat standalone.

tc_iis

Configures Tomcat and IIS.

Tomcat or IIS must be installed to use this option. You can install Tomcat using the -tomcat option.

-config tc
-jdkupgrade

Can optionally appear to determine whether to install a Java JDK with App Studio. It should be followed by one of the following:

on

The Java JDK included with App Studio is installed unless the exact JDK release is already installed. This is the default if the option does not appear.

off

No Java JDK is installed with App Studio. If Java JDK 1.5 or higher is not already installed, the installation will not complete and an error message will be available in the log file.

-jdkupgrade on

An example of an entire file is the following:

-license 000000000
-installdir C:\
-noupgrade
-tomcat C:\ibi\tomcat
-config tc
-jdkupgrade on

Top of page

x
Procedure: How to Launch a Silent Installation
  1. Open a command prompt and navigate to the directory containing the setup.exe file for the App Studio installation.
  2. Enter the following:
    setup -opt drive:\PATH_TO\optionsFile.txt

    where:

    drive:\PATH_TO\optionsFile.txt

    Is the full path to the text file containing your installation options.

App Studio creates a log file in the following location for Windows 7:

C:\Users\user_id\wf_as_81_inst_date_time.log

where:

user_id

Is your Windows user ID.

date_time

Is the date and time the log file was created.

This log contains important information about the installation process. If the log indicates that the installation did not complete, adjust the options in the file you used to install App Studio. In some cases, an incorrect option setting can prevent the installation from completing.

If you do not choose to have the installation configure Tomcat, you can manually configure web and application servers, as explained in Configuring the Web Server or Application Server.


WebFOCUS