MOSS WSP solution-Stsadm


believe me I suffered alot,our client decided to implement a new menu item via WSP solution,which went into many versions ...and testing it was horrible eveytime I need to go retract ,delete,deactivate the feature and then activate it ...finally I decided that I'll try to find out sts command which really my time and saved me to get mad

I'll start with adding a new template in WSS site

for more technical details
1)CD\
2)CD \Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN
3) stsadm -o addtemplate -filename " E:\PS-Admin-Work \stpfilename" -title "Test Workspace Title"
4)then IISRESET



============== WSP Solution=======================
Activating feature at child site level
Click Here

Cd\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN

Add solution

stsadm -o addsolution -filename "E:\PS-Admin-Work\PWS Helper\icomp.SharePoint.PWSHelper.wsp"

Deploy solution
stsadm -o deploysolution -name icomp.SharePoint.PWSHelper.wsp -url http://p3mtest.icomp.com -immediate -allowgacdeployment

Activate
stsadm -o activatefeature -filename E3ReportEntryHelper\feature.xml -url http://P3MTest.icomp.com

Deactivate the feature
stsadm -o deactivatefeature -filename E3ReportEntryHelper\feature.xml -url http://P3MTest.icomp.com

retract
stsadm -o retractsolution -name icomp.SharePoint.PWSHelper.wsp -url http://P3MTest.icomp.com -immediate


To delete solution:

stsadm -o deletesolution -name icomp.SharePoint.PWSHelper.wsp -override

Comments

Popular posts from this blog