Addsolution: Stsadm operation (Office SharePoint Server)

Updated: April 26, 2007

Applies To: Office SharePoint Server 2007

Updated: 2007-04-26

Operation name: Addsolution

Adds a solution file to the solution store.

Syntax

stsadm -o addsolution

   -filename <solution file name>

   [-lcid] <language>

Parameters

Parameter

Value

Required?

Description

filename

Any one of the following formats:

  • *.cab

  • *.wsp

  • *.wpp

Yes

File name on disk

lcid

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

No

By specifying this parameter, you stores the solution as a language pack. If the core neutral solution does not exist, the following error message is displayed:

"Cannot add a language pack resource for the solution without adding the main solution package."

Community Content Add
Annotations FAQ
Bug in filename extension code

NOTE that .wsp extension _MUST_ be lowercase - an *obvious* cheeseball Jr programmer bug

stsadm -o addsolution -filename FunkaDelic.wsp

Also,.. the STSADM.EXE has to be lowercase stsadm no extension or it also gives a syntax error.

may need to add quotes around your solution name

sometimes, for whatever reason you must use quotes like

stsadm -o addsolution -filename "FunkaDelic.wsp"