|
Parameter (short name)
|
Value
|
Required?
|
Description
|
|---|
|
name
|
A valid name of the solution in the solution store, such as “SampleSolution.wsp”
|
Yes
|
Enables the administrator to specify the name of a solution inside of the solution store.
|
|
url
|
A valid URL, such as http://server_name
|
No
|
URL location of a virtual server
|
|
allcontenturls
|
<none>
|
No
|
Equivalent to deploying the package to all nonadministrative virtual servers that are in the farm.
|
|
time
|
A valid date:time format that is culture-specific to the administrative language, such as “2/16/2007 12:15:12”
|
The time parameter is not required if either the immediate or local parameter is specified. Otherwise, the time parameter is required.
|
Enables the administrator to schedule the time that the deployment should occur.
If the date time does not parse correctly, the following error message is displayed:
"‘<time user entered>’ is not a valid time format. Deployment was not initiated."
|
|
immediate
|
<none>
|
No
|
Causes the deployment to occur immediately after the command is executed.
|
|
local
|
<none>
|
The local parameter is not required if either the immediate or time parameter is specified. Otherwise, the local parameter is required.
|
Deploys the solution synchronously on the local computer only. The timer service is not used.
A developer must specify the immediate, local, or time parameter. If one of these is not specified, the following error message is displayed:
"Deployment type was not specified. You must specify a deployment to just this server (-local), to all servers in the farm (-immediate), or a delayed deployment to all servers in the farm (-time)."
|
|
allowgacdeployment (allowgac)
|
<none>
|
No
|
If the solution contains assemblies that need to be put in a global assembly cache (GAC), this parameter must be specified. Otherwise, the following error message is displayed:
"The solution '<solution name>' needs to install assemblies in the Global Assembly Cache (GAC). If you fully trust this solution, use the -allowgacdeployment parameter to deploy."
|
|
allowcaspolicies (allowcas)
|
<none>
|
No
|
If the solution contains Code Access Security (CAS) policies, this parameter must be specified. Otherwise, the following error message is displayed:
"The solution '<solution name>' needs to add Code Access Security policies. If you fully trust this solution, use the -allowcaspolicies parameter to deploy."
|
|
lcid
|
A valid locale ID, such as "1033" for English
|
No
|
Specifies a language for the Web Part package when a Web Part package is deployed. If this parameter is not specified, zero ("0") is assumed. A zero means that the Web Part package should be deployed as being language agnostic.
|
|
force
|
<none>
|
No
|
Forces deployment of a solution that, when deployed, will overwrite files that have been written by a solution that has a different recorded solution ID.
|