SharePoint Re-Deployment Bat File

A simple bat file that you can use for redeploying your WSPs:

Copy the following text in a notepad and Save As ‘Deployment.bat

stsadm -o retractsolution -name “ProjectA.Deployment.wsp” -immediate -url “http://localhost:2000/
stsadm -o execadmsvcjobs
stsadm -o deletesolution -name “ProjectA.Deployment.wsp”
stsadm -o addsolution -filename “D:\ProjectA.Deployment.wsp”
stsadm -o deploysolution -name “ProjectA.Deployment.wsp” -immediate -allowgacdeployment -url “http://localhost:2000/” -force
stsadm -o execadmsvcjobs
iexplore http://localhost:2000/

Ensure that you modify the filename path in Line 4 to your respective paths and also the Site URL.

  1. Good work!Does SharePoint 2013 has some web part to show a oneNote notebook in a Frame ?So that we can edit a Note while still seineg the quick menu, header and other webparts?Thanks,Gael


  2. I am looking to develop a “solution” (using out of the box web parts or SharePoint Designer) that will allow me to rollup all User Tasks lists from a single site into one List that will still display the title of the task and an active link to the InfoPath form being approved/rejected. We are using MOSS2007, Office 2010, and SharePoint Designer 2007. All workflows are written in SharePoint Designer with NO .net code.A little more about the scenario: We have 8 InfoPath forms published on 4 different “subsites”. I would like to set up a custom home page that would display the logged in users’ outstanding tasks on one site. Currently managers must check 4 different subsites for their tasks or rely solely on the email notifications of tasks (which have been unreliable at best due to an unreliable email server…different issue).I have toyed with a content query webpart and can get the actual tasks to display, but not the links to the actual forms. It’s probably a matter of not knowing how to write the queries… any guidance/advice would be greatly appreciated.


Feel free to leave a reply here...

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: