Commands to Deactivate, Uninstall, Install and Activate Features in SharePoint (MOSS)

I created a batch file that every time I have to update my particular feature, it eases the job.

One can create such file to speed up the development process:

My Installfeature.bat contents look like this:

set folderpath = "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\"

%folderpath%BIN\stsadm -o deactivatefeature -name MyProject -url http://test.mysharepintsite.com

%folderpath%BIN\stsadm -o uninstallfeature -name MyProject

%folderpath%BIN\stsadm -o installfeature -name MyProject

%folderpath%BIN\stsadm -o activatefeature -name MyProject -url http://test.mysharepintsite.com

iisapp.vbs /a "DefaultAppPool" /r

Comments

Popular posts from this blog

Unable to delete Shared Services Provider in SharePoint (MOSS)

The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.

Cannot add a SimpleContent column to a table containing element columns or nested relations