Just another WordPress.com weblog

1.Open the run>cmd prompt, and start type the below code

Deploy Solution

@echo off
ECHO Press any key to start automated of your webpart

SET SPAdminTool=%CommonProgramFiles%\Microsoft Shared\web server extensions\12\BIN\stsadm.exe

echo Adding solution….
“%SPAdminTool%” -o addsolution -filename “CustomMenu.wsp”


echo Deploying solution….
“%SPAdminTool%” -o deploysolution -name “CustomMenu.wsp” -immediate -allowGacDeployment -url http://server2/ -force


echo Activate the feature
“%SPAdminTool%” -o activatefeature -name CustomMenu\feature.xml -url http://server2

Retract Solution

echo  Deactivating  Solution….
“%SPAdminTool%” -o deactivatefeature  -name CustomMenu -url http://server2

echo  Retracting  Solution….
“%SPAdminTool%” -o retractsolution -name CustomMenu.wsp -url http://server2

echo Delete Solution…
“%SPAdminTool%” -o deletesolution -name CustomMenu.wsp


Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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

Tag Cloud

%d bloggers like this: