Scripted Installation for all site templates

Installing fab 40 using a script, is one of the most popular posts here. However, this installation guide covered wsp only and not stp. So here is the scripted installation guide for site template files.

Copy all stp files in a folder – like – C:\SharePointTemplates. Create a batch file in the same folder. Type in this command

for %%f in (*.stp) do stsadm.exe -o addtemplate -filename %%f -title %%f

Save the batch file and run it!

You can download the script from my skydrive.

join our mailing list to get our free newsletter
* indicates required field

2 Comments so far »

  1. SharePoint, SharePoint and stuff : SharePoint Kaffeetasse 28 said,

    Wrote on November 7, 2007 @ 3:16 am

    [...] Scripted Installation for all site templates [...]

  2. ThemePassion - Best stuff about design! » Scripted Installation for all site templates said,

    Wrote on November 16, 2007 @ 10:35 am

    [...] desconocido wrote an interesting post today!.Here’s a quick excerptInstalling fab 40 using a script, is one of the most popular posts here. However, this installation guide covered wsp only and not stp. So here is the scripted installation guide for site template files. [...]

Comment RSS · TrackBack URI

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment:

Microsoft SharePoint 2010 Unleashed