Share via


Automated Installation (AppFabric 1.1 Caching)

Microsoft AppFabric 1.1 for Windows Server enables automated electronic software distribution, also known as automated (or silent) installation or command-line installation. You use automated installation to install AppFabric in an automated way on computers that will have the same configurations after installation. Automated installation lets system administrators who want to install AppFabric on remote computers do so without user intervention. With an automated installation, a user does not have to monitor the installation and provide input.

To perform an automated installation, use the command-line options provided to suppress all interaction. The installation program does not display messages during an automated installation. However, the installation program logs messages to the event log. You can view those messages with the Event Viewer.

After performing an automated installation, you can perform configuration by using either the AppFabric Configuration Wizard or configuration cmdlets.

To perform an automated installation

  1. Click Start, point to All Programs, point to Accessories, and then click Command Prompt.

  2. To start the silent installation, at the command prompt, type setup.exe /<command switch> <options>, using the following command line syntax: setup.exe [/command switch] [option1] [option2]. For example, to install AppFabric with the Hosting Services and Caching Service you would type the following at the command prompt:

    Setup.exe /i WORKER,CACHINGSERVICE

    Tip

    Running automated installation returns control to the command line while setup is still running. If you instead want to wait until setup completes, invoke automated installation using the start /w command of cmd.exe.

  3. Press ENTER.

  4. Check the installation status in the log file.

    Note

    If you run the automated installation command from within a PowerShell script, and the command includes a comma, you must surround the comma with double quotes.

The following table provides a summary of the command switches and options when performing a silent installation of AppFabric:

Command switch Description

/install or /i

Installs the entire product or selected features. Multiple features can be specified as a comma-delimited parameter list. If no parameters are specified, all features will be installed. If not specified, the dependent features will be installed automatically.

If another version of AppFabric is already installed and the version of setup.exe is newer than the installed version, an error is logged.

  • HostingServices – Installs the Hosting Services components required to reliably host and manage applications.

  • CachingService – Installs the Caching Service and related components to prepare this host to use the AppFabric Caching Service.

  • CacheClient – Installs the client libraries to use cache functionality in your applications.

  • CacheAdmin – Installs components to administer a cache cluster.

  • HostingServicesAdmin – Installs components to administer the hosting services.

Note

For example, to install the Hosting Services and Caching Service features in unattended mode, type the following from a command prompt and press ENTER:

Setup.exe /i HostingServices,CachingService

Note

The command setup /i HostingServices will also install HostingServicesAdmin.

/gac

Places all assemblies related to the selected features into the Global Assembly Cache (GAC). Without this switch, each feature determines whether its associated assemblies are installed into the GAC.

/path or /p

Specifies the installation path for Microsoft AppFabric 1.1 for Windows Server.

/remove or /r

Uninstalls the entire product or selected features. Multiple features can be specified as a comma-delimited parameter list. If no parameters are specified, all installed features will be uninstalled. If the version of setup.exe is different than the version of the installed product, an error is logged.

If another version of AppFabric is already installed and the version of setup.exe is newer than the installed version, it logs an error.

  • HostingServices – Removes the Hosting Services components required to reliably host and manage applications.

  • CachingService – Removes the Caching Service and related components to prepare this host to use the AppFabric Caching Service.

  • CacheClient – Removes the client libraries to use cache functionality in your applications.

  • CacheAdmin – Removes components to administer a cache cluster.

  • HostingServicesAdmin – Removes components to administer the hosting services.

Note

For example, to remove the Hosting Services and Caching Service features in unattended mode, type the following from a command prompt and press ENTER:

Setup.exe /r HostingServices,CachingService

Note

The command setup /r HostingServicesAdmin will also remove HostingServices.

/upgrade or /u

Performs the upgrade steps if the version of setup.exe is higher than the version of the installed product. The upgrade steps are applied only to features that are already installed. Otherwise, an error is logged.

/help or /? or /h

Displays a list of command-line help options.

/logfile or /l

String: file path and file name. The file path where the log should be created, and the name of the log file.

Important

A file name must be included with the /logfile or /l switch, or the AppFabric installation process will fail.

  2012-09-12