Share via


Deletesolution: Stsadm operation (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.

 

Topic Last Modified: 2015-03-09

Operation name: Deletesolution

Description

Removes a Windows SharePoint Services Solution Package (*.wsp) from the solution store. The user who executes this command must have privileges to remove the solution. This command supports removing only one file from the solution store at a time.

If an administrator cannot remove a currently deployed solution, the following message will be displayed:

“The solution <file name> is deployed on the farm. Use the retractsolution operation to reverse the deployment. You can also use the -override parameter to forcibly remove the solution, but you will not be able to retract the solution deployment.”

If a solution has language packs that have been deployed, the administrator cannot remove the solution. The following message will be displayed:

"The solution <file name> has one or more language packs deployed in the farm. Use the retractsolution operation to reverse the deployment of these language packs."

Syntax

stsadm -o deletesolution

-name <name>

[-override]

[-lcid] <language>

Parameters

Parameter

Value

Required?

Description

name

A valid name of the solution in the solution store, such as “SampleSolution.wsp”

Yes

Name of the solution

override

<none>

No

Specifying this parameter forcibly removes the solution from the store even if it is deployed. However, note that the solution deployment is not retracted.

lcid

A valid language locale, such as "1033" for English

No

Language locale ID