Install Solution

Install Solution

The deployment of a WSS solution to a front-end Web server or an application server is performed in two phases

1. Add wsp to Solution Store
The solution store is part of the configuration database and stores the
various .wsp files
2. Deploy Solution
Solution can be deployed to one or more WSS Web Server/Application Server

stsadm -o addsolution -filename MKSTest.wsp
stsadm.exe -o execadmsvcjobs

stsadm -o deploysolution -name MKSTest.wsp -url http://xyz.com
Note : Targeting one site collection
stsadm -o deploysolution -name MKSTest.wsp -immediate -allcontenturls -allowGacDeployment -allowCasPolicies
Note: Push  solution to every site collection available within the server farm

stsadm.exe -o execadmsvcjobs
stsadm -o installfeature -name MKSTestFeature  -force
stsadm -o activatefeature -name MKSTestFeature  -force -url http://localhost

Uninstall Solution

stsadm -o uninstallfeature -name MKSTestFeature  -force
stsadm -o deactivatefeature -name MKSTestFeature  -force -url http://localhost
stsadm -o retractsolution -name MKSTest.wsp -immediate -allcontenturls
stsadm.exe -o execadmsvcjobs
stsadm -o deletesolution -name MKSTest.wsp -override

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s