Tags
1. Add the solution
stsadm -o addsolution -filename {WSPFILENAME}
2. Deploy the solution
stsadm -o deploysolution -name {WSPFILENAME} -url {SITEURL}
3. Install the feature
stsadm -o installfeature -filename {FeatureFolder}\feature.xml
4. Activate the feature
stsadm -o activatefeature -id {FEATUREID} -url {SITEURL} -force
5. Deactive the feature
Stsadm.exe -o deactivatefeature -filename “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\ViewFormPagesLockDown\feature.xml” -ur http://servername/
6.Uninstall the feature
stsadm -o uninstallfeature -filename
7.Retract Solution
stsadm -o retractsolution
-name
[-url]
[-allcontenturls]
[-time]
[-immediate]
8.Delete Solution
stsadm -o deletesolution
-name
Pingback: Microsoft SharePoint Articles on 16 Dec 08 | Microsoft SharePoint & Windows (Vista, Azure, 7) Cloud & Social Computing Space
Hopp said:
Hi Ken,
you have typo in deactivatefeature (-ur), should be -url.
Anjali said:
hi,
where do we have to place this wsp file for runnign htese commands
elorg said:
You can place the wsp file anywhere on the server. Just navigate to the location of the wsp file in your command window to run the commands above.
Tom said:
Unless you put the commands above in a batch file, you have to be at C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin to run STSADM commands. If you run them in a batch, you just have to navigate to wherever the batch file is stored, and in the batch file is where the location of the WSP file is specified. Both the batch file and the WSP should be on the SharePoint server. If you’re running straight STSADM commands, you just specify the location of the WSP while entering the command.
Pingback: Hello world! « Jagkon's Blog
GOU said:
Hi,
i need your help, i added a web part to my sharepoint 2007, the web part work normally from the server machine where i installed the sharepoint 2007, the problem that i faced that the web part doesn’t work from my desktop or any external browser outiside the server.
ken zheng said:
You need to use elavated permission in your code. Have a look my blog:
Ivanov said:
But it’s not work! I can’t deploy solution!
Pingback: 2010 in review of My Blog « All About SharePoint
Pingback: SharePoint 2010: Pasos para instalar una solución! « Pasión por la tecnologÃa…
Pingback: SharePoint 2010: Pasos para instalar una solución! - Blog del CIIN
darshana said:
Thanks … these steps were very helpful
Pingback: Sharepoint stsadm | Selenenet
Pingback: wall street news
Pingback: Steps to install WSP file in STSADM « Shrine of Technology
Chani said:
Hi,
After installing a solution that includes a FeatureManifest tag. Do you still need to install the features ?
Many Thanks.
Pingback: wordress plugins
diya said:
a good step by step process for newbie .. 🙂
alex.lopex said:
HOLA SOY NUEVO EN ESTO COMO HACERLE DESDE CERO PARA INSTALAR UNA PLANTILLA HELP DESK WSP EN SHAREPOINT 2010?
BENDICIONES
alex.lopex said:
HELLO I AM NEW IN THIS FROM SCRATCH HOW TO MAKE A TEMPLATE FOR INSTALLING HELP DESK WSP in SharePoint 2010?
BLESSINGS
Peter said:
there is one more step: “upgrade solution”
Garland said:
Have you ever thought about writing an ebook or guest authoring on other websites?
I have a blog based on the same information you discuss and would love to have you share some stories/information.
I know my visitors would appreciate your work. If you are even remotely interested, feel free
to shoot me an e-mail.
szybkie czyszczenie bik said:
Thanks for finally writing about >Steps To Install WSP file in STSADM « All About SharePoint <Liked it!