SharePoint By Yagya Shree

SharePoint 2007 Features-Batch file to install all features in one go

leave a comment »

SharePoint 2007 Features


–>Download the [All Features in a Single Download]
–>extrace the file under C:\ drive
–>Download the file name Features.doc and change the extention to Features.bat
–>Move this file Features.bat in the same location
–>Open Command prompt by start-run-type cmd
Change the path to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
–>Type Features.bat
–>Press Enter and it done

File: features

@echo off
stsadm -o addsolution -filename c:\Features_Solutions\
stsadm -o deploysolution -immediate -name

stsadm -o addsolution -filename c:\Features_Solutions\AJAX.Config.wsp
stsadm -o deploysolution -immediate -name AJAX.Config.wsp -allowgacdeployment

stsadm -o addsolution -filename c:\Features_Solutions\AnonymousAudience.wsp
stsadm -o deploysolution -immediate -name AnonymousAudience.wsp -allowgacdeployment

stsadm -o addsolution -filename c:\Features_Solutions\ContentTypeHierarchy.wsp
stsadm -o deploysolution -immediate -name ContentTypeHierarchy.wsp

stsadm -o addsolution -filename c:\Features_Solutions\CreateSiteInTargetDB.wsp
stsadm -o deploysolution -immediate -name CreateSiteInTargetDB.wsp -allowgacdeployment

stsadm -o addsolution -filename c:\Features_Solutions\DebugConfigFeature.wsp
stsadm -o deploysolution -immediate -name DebugConfigFeature.wsp -allowgacdeployment

stsadm -o addsolution -filename c:\Features_Solutions\DebuggerFeature.wsp
stsadm -o deploysolution -immediate -name DebuggerFeature.wsp

stsadm -o addsolution -filename c:\Features_Solutions\FBAManagement.wsp
stsadm -o deploysolution -immediate -name FBAManagement.wsp -allowgacdeployment

stsadm -o addsolution -filename c:\Features_Solutions\ManageConfigMods.wsp
stsadm -o deploysolution -immediate -name ManageConfigMods.wsp -allowgacdeployment

stsadm -o addsolution -filename c:\Features_Solutions\ManageHierarchicalStore.wsp
stsadm -o deploysolution -immediate -name ManageHierarchicalStore.wsp -allowgacdeployment

stsadm -o addsolution -filename c:\Features_Solutions\ManageLayoutsSiteMap.wsp
stsadm -o deploysolution -immediate -name ManageLayoutsSiteMap.wsp -allowgacdeployment

stsadm -o addsolution -filename c:\Features_Solutions\MinimalMaster.wsp
stsadm -o deploysolution -immediate -name MinimalMaster.wsp -allowgacdeployment

stsadm -o addsolution -filename c:\Features_Solutions\MinimalPublishing.wsp
stsadm -o deploysolution -immediate -name MinimalPublishing.wsp

stsadm -o addsolution -filename c:\Features_Solutions\PawnContactsList.wsp
stsadm -o deploysolution -immediate -name PawnContactsList.wsp

stsadm -o addsolution -filename c:\Features_Solutions\PlaceHolderMaster.wsp
stsadm -o deploysolution -immediate -name PlaceHolderMaster.wsp -allowgacdeployment

stsadm -o addsolution -filename c:\Features_Solutions\PrintList.wsp
stsadm -o deploysolution -immediate -name PrintList.wsp -allowgacdeployment

stsadm -o addsolution -filename c:\Features_Solutions\RESET_THEME_SOLUTION.wsp
stsadm -o deploysolution -immediate -name RESET_THEME_SOLUTION.wsp

stsadm -o addsolution -filename c:\Features_Solutions\SharePointEventsManager.wsp
stsadm -o deploysolution -immediate -name SharePointEventsManager.wsp

stsadm -o addsolution -filename c:\Features_Solutions\SPGael.CustomFields.CustomRegularExpressionValidator.wsp
stsadm -o deploysolution -immediate -name SPGael.CustomFields.CustomRegularExpressionValidator.wsp -allowgacdeployment

stsadm -o addsolution -filename c:\Features_Solutions\SPGael.CustomFields.VariationLabels.wsp
stsadm -o deploysolution -immediate -name SPGael.CustomFields.VariationLabels.wsp -allowgacdeployment -url <siteURL>

stsadm -o addsolution -filename c:\Features_Solutions\TaskAlert.wsp
stsadm -o deploysolution -immediate -name TaskAlert.wsp -allowgacdeployment

stsadm -o addsolution -filename c:\Features_Solutions\TaskMover.wsp
stsadm -o deploysolution -immediate -name TaskMover.wsp

stsadm -o addsolution -filename c:\Features_Solutions\ThemeChanger.wsp
stsadm -o deploysolution -immediate -name ThemeChanger.wsp -allowgacdeployment

stsadm -o addsolution -filename c:\Features_Solutions\ThemeChangerStaple.wsp
stsadm -o deploysolution -immediate -name ThemeChangerStaple.wsp

stsadm -o addsolution -filename c:\Features_Solutions\ToolbarManager.wsp
stsadm -o deploysolution -immediate -name ToolbarManager.wsp -allowgacdeployment -url <siteURL>

stsadm -o addsolution -filename c:\Features_Solutions\UniqueColumnPolicy.wsp
stsadm -o deploysolution -immediate -name UniqueColumnPolicy.wsp -allowgacdeployment

stsadm -o addsolution -filename c:\Features_Solutions\WindowsLinks.wsp
stsadm -o deploysolution -immediate -name WindowsLinks.wsp

stsadm -o execadmsvcjobs
echo on


Written by Yagyashree

April 16, 2009 at 11:28 pm

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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: