Export (0) Print
Expand All

Addwppack: Stsadm operation (Office SharePoint Server)

SharePoint 2007

Updated: April 26, 2007

Applies To: Office SharePoint Server 2007

Updated: 2007-04-26

Operation name: Addwppack

Adds a Web Part package to the server Web Part gallery.

Syntax

stsadm -o addwppack

   -filename <file name>

   [-lcid] <language>

   [-url] <URL name>

   [-globalinstall]

   [-force]

   [-nodeploy]

stsadm -o addwppack

   -name <Web Part name>

   [-lcid] <language>

   [-url] <URL name>

   [-globalinstall]

   [-force]

Parameters

Parameter Value Required? Description

filename

Any one of the following formats:

  • *.cab

  • *.wsp

  • *.wpp

For example, “C:\WebParts\SampleWebPart.wpp”

Yes

Specifies the path to the cabinet file that contains the Web Parts and associated resources.

lcid

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

No

Specifies a language for the Web Part package.

url

A valid URL, such as http://server_name

No

Specifies the URL of the virtual server on which to install the Web Parts. To install the Web Parts on every virtual server on a server, omit the url parameter.

globalinstall

<none>

No

Use to install the Web Parts in the global assembly cache (GAC) rather than in the Bin directories of each virtual server. Assemblies installed in the GAC are available to all applications on the server.

force

<none>

No

Overwrites an existing Web Part package with a new version. To repair a Web Part package, you must reinstall it.

nodeploy

<none>

No

Does not deploy any Web Part package from the Web Part gallery.

name

A name of a Web Part that has already been installed on another server in a server farm configuration

Yes

Installs the Web Part package from the configuration database by using the name parameter provided the Web Part package has already been installed on another server in a server farm configuration.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft