Home > Uncategorized > Feature Deployment Batch Files

Feature Deployment Batch Files

November 27th, 2006 Leave a comment Go to comments

In case you use them on regular basis as I do and until the final version of VS.NET extension is released:


 


Deploy.cmd:
———–
@echo off


SET SPDIR=”C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12″


iisreset /stop


xcopy /d /y /e MOSSDev %SPDIR%TEMPLATEFEATURES


iisreset /start


 


InstallFeature.cmd:
——————-


SET SPDIR=”C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12BIN”


%SPDIR%stsadm -o installfeature -n MOSSDev -force


 



ActivateFeature.cmd:
——————–


SET SPDIR=”C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12BIN”


%SPDIR%stsadm -o activatefeature -n MOSSDev -url http://moss.litwareinc.com


Categories: Uncategorized Tags:
  1. No comments yet.