Installation Guide for SharePoint Application Templates using STSADM.exe

Tuesday, March 13, 2007, 16:00
This news item was posted in Download, Site News category and has 2 Comments so far.

Just installing the Application Templates that were released last month on a new server farm. Installing these application templates is pretty straight forward. Let me walk you through the installation as there are steps to do, I have broken down the installation into sections:

  • Application Template Core Installation Walkthrough
  • Application Template Install Walkthrough
  • How To Implement Application Templates
  • Application Template Uninstall Walkthrough

Many of the these examples are from the Knowledge Base articles, the documentation from the downloads and also from numerous blog posts. I have linked in as many references and inspirations for this post and I hope you find that its worthwhile to have all the information in one spot.

Application Template Core Installation Walkthrough

Before installing any Application Template, you must first install the Application Template Core (download link below) solution. Launch the command prompt and browse on over to

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN

  1. To add the solution to Solution Management,

    stsadm –o addsolution –filename ApplicationTemplateCore.wsp

  2. Now you want to create a timer job for the Application Template core using

    stsadm –o deploysolution –name ApplicationTemplateCore

  3. Once you have complete the above,

    stsadm -o copyappbincontent

Application Template Install Walkthrough

Here are the steps required to install any of the application templates. You will need to do the following for each application template that you would like to deploy:

  1. Add Application Template to Solution store

    stsadm -o addsolution -filename applicationTemplateName.wsp

  2. Deploy Application Template using a Timer Job

    stsadm -o deploysolution -allowgacdeployment -immediate -name applicationTemplateName.wsp

  3. Once you have deployed all application templates you would like, restart IIS

    iisreset

How To Implement Application Templates

  1. From the Site Actions drop-down menu in the top right, select Site Settings.
  2. Under the Site Administration section, select Sites and Workspaces.
  3. Select the Create button to create a new site using a site template.
  4. Fill in all appropriate information for the new site and in the Template Selection section, select the Application Templates tab, select the template to use for this site and click Create.

That should do the trick. A new site has been created. Now go ahead and play around with it.

Application Template Uninstall Walkthrough

This installation was simple. The uninstallation is just as straight forward.

  1. First and foremost you need to retract a solution (not allow SharePoint sites from using it)

    stsadm –o retractsolution –name ApplicationTemplateCore

  2. To remove a solution from the server

    stsadm –o deletesolution –name ApplicationTemplateCore

  3. The Application Template is now unavailable to SharePoint sites and the solution has been removed from the solution store.

References

Downloads

Related Posts:

  • Top SharePoint Posts for Last Week (03.12.07 - 0.3.18.07)
  • Here are the top posts for last week: SharePoint: The Next Big “Operating System” from Microsoft? There's spectulation on what Microsoft plans on doing with
  • Back into the Sharing Mode
  • The last month I have been extremely busy: work, contracts, community projects and just enjoying the summer. I have quit my full time
  • Unable To Install The Latest 20 Sample SharePoint Applications?
  • Were you unable to install the latest 20 sample SharePoint 2007 applications? Well MVP Dustin Miller was able to post the appropriate installation instructions.
  • Upgrade Toolkit for Windows SharePoint Services Sites and Templates Guide
  • Microsoft officially releases the upgrade toolkit for WSS Sites and Templates guide. They offer quite a bit in this download. The Toolkit serves three main
  • Best SharePoint Posts for March 2007
  • SharePoint Buzz saw 10% growth from February 2007 to March 2007, not nearly the same growth seem from January 2007 to February 2007 which was
    Both comments and pings are currently closed.

    2 Responses to “Installation Guide for SharePoint Application Templates using STSADM.exe”

    1. Alpesh Nakar said on Tuesday, March 13, 2007, 23:23

      Hi Kanwal,

      Very well written. I also like the way you have been referencing. Well done.
      Just to let you and your readers know - I have scripted all of this steps and can be found on my blog

      Once again, well done.
      Cheers!

    2. Ginters said on Friday, March 30, 2007, 4:42

      Can I add a very helpful reference that people may find useful as if you use -immediate it can go a bit Pete Tong. I didn’t write the solution so I’m quoting it verbatim

      From hug…@hotmail.com

      I had this exact same problem and was able to fix it by cancelling the
      deployment. So do the following :-


      1. First fine out the JobID of the deployment. i.e. “stsadm -o
      enumdeployments”
      2. Cancel the deployment i.e. “stsadm -o canceldeployment -id

      3. Confirm it has been removed using the command in step 1.
      4. What I did then is make sure that the Windows SharePoint Services
      Administration service is running. Default install will set this to
      manual startup, so right click on it and start the service.
      5. Rerun the deploysolution command but this time do not use immediate
      but local instead i.e. “stsadm -o deploysolution -name
      ApplicationTemplateCore.wsp -allowgacdeployment -local”
      6. Once completed then run “stsadm -o copyappbincontent”

      That should do it. Run “stsadm -o enumdeployments” to confirm that it
      has been deployed.

      Hope it helps.


      John