Export (0) Print
Expand All

Installing from a command prompt - specifying parameters

 

Applies to: Forefront Protection for SharePoint

Topic Last Modified: 2011-01-14

importantImportant:
The account used to install Forefront Protection 2010 for SharePoint (FPSP) should be entered using the Domain\Account format when the server is part of a domain. Specify the computer name (Computer\Account) rather than the domain name if you are installing to a non-domain joined computer. This account must be a member of the Local Administrators group on the SharePoint server and have SharePoint Farm Administrators privileges. If SharePoint is configured to connect to the database using Windows authentication, this account must also be a member of the SQL Sysadmn role on the database server.

The following table summarizes the parameters that can be used when launching the extracted installer package (setup.exe) from a command prompt:

 

Parameter

Description

Requirements

/q

Silent installation – no output to screen

Requires /a, /c optional

/p

Passive installation – no prompts but displays progress

Requires /a, /c optional

/a PathtoAnswerFile

Specifies required answer file

Answer file required. Only valid with /q or /p parameters.

[/c PathtoConfigFile]

Specifies optional configuration file

Configuration file required. Only valid with /q or /p parameters

importantImportant:
When running an unattended (silent or passive) installation, you must add the domain to the account name (domain\account). In addition, you can script the license activation by calling the Set-FSSPLicensing cmdlet after running the scripted FPSP installation. Otherwise, you can activate the product manually, following the steps in About product licensing.

Before performing a silent or passive installation, you must extract setup.exe by typing the following command:

forefrontsharepointsetup.exe /x: extractpath

noteNote:
If you are typing an extract path containing spaces, you must surround the path with quotation marks. For example:
forefrontsharepointsetup.exe /x:"c:\Forefront\Install Files"

The silent installation enables the use of scripting when installing Microsoft Forefront Protection 2010 for SharePoint (FPSP). This type of setup produces no visible progress reports during the installation. All output is directed to the installation log, program log, or event log as appropriate. You can use the silent installation in order to run unattended and distributed installations on SharePoint servers. The silent installation requires an answer file to be provided via the /a parameter. A template answer file that you can modify to suit your environment is provided in the installation package together with an XML schema (.xsd) that can be used to validate the resulting answer file. If a valid answer file is not provided, the installation terminates, and errors are logged. To view a sample answer file, see Sample answer file for unattended installations.

After extracting the setup package (For more information, see Unpacking the installer), you can launch the silent installation with an answer file by typing the following:

setup.exe /q /a PathtoAnswerFile

The answer file contains answers to all questions presented during the installation. It is a required parameter. Optionally, you can specify the /c parameter, which additionally lets you import configuration settings to the server after the installation is complete. These are settings that were exported from another server. The syntax is:

setup.exe /q /a PathtoAnswerFile /[c PathtoConfigFile]

noteNote:
The answer file contains sensitive information that should be protected by an access control list (ACL) that can only be viewed by the system administrator. When the answer file is deployed to a remote server, it should be transferred by using a secure method such as Internet Protocol Security (IPsec). After the installation is complete, the administrator should delete the answer file from the target computer in a secure manner.

After you have installed FPSP, it is recommended that you read the Release Notes file and perform the configuration steps described in Performing your initial configuration.

The passive installation works in the same manner as the silent installation, except it includes a progress bar that shows the status of the installation as it is running.

After extracting the setup package (For more information, see Unpacking the installer), you can launch the passive installation with an answer file by typing the following:

setup.exe /p /a PathtoAnswerFile

The answer file contains answers to all questions presented during the installation. It is a required parameter. (To view a sample answer file, see Sample answer file for unattended installations.) Optionally, you can specify the /c parameter, which additionally lets you import configuration settings to the server after the installation is complete. These are settings that were exported from another server. The following is the syntax:

setup.exe /p /a PathtoAnswerFile /[c PathtoConfigFile]

noteNote:
The answer file contains sensitive information that should be protected by an access control list (ACL) that can only be viewed by the system administrator. When the answer file is deployed to a remote server, it should be transferred by using a secure method such as Internet Protocol Security (IPsec). After the installation is complete, the administrator should delete the answer file from the target computer in a secure manner.

After you have installed FPSP, it is recommended that you read the Release Notes file and perform the configuration steps described in Performing your initial configuration.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft