Search This Blog

Wednesday, December 21, 2011

Deploying a WSP solution to SharePoint 2010

Set up your path in your environmental table… SET PATH=%PATH%;C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN Locate Your DEBUG or RELEASE folder CD\DEPLOY Add your solution stsadm -o addsolution -filename YESPrep_Redirection.wsp Deploy your solution stsadm -o deploysolution -name YESPrep_Redirection.wsp -url http://nav-test.yesprep.local -allowgacdeployment -immediate pause —————— To Remove it before deploying another solution follow the steps below: Set up your path in your environmental table… SET PATH=%PATH%;C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN Locate Your DEBUG or RELEASE folder CD\DEPLOY Remove your solution stsadm -o retractsolution -name YESPrep_Redirection.wsp -URL http://cssp02-staging -immediate Remove your solution stsadm -o deletesolution -name YESPrep_Redirection.wsp Lastly make sure that you add the web part into the gallery (upload the *.webpart file)

No comments:

Post a Comment