Add the Web Part (.CAB Solution File)
Follow these steps to deploy your Web Part to Office SharePoint Server 2007.
Make sure you are logged into the server with the service account which has permissions to install the web parts.
For ease of deployment, copy the GoogleSearch.cab file to the following location, where Office SharePoint Server 2007 is installed:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin
This should be the same as the location of Stsadm.exe. Ensure that you update the path on your computer if it does not match the default location.
Click Start, click Run, and then type cmd /admin.
Type cd "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin"
Run the following command to deploy your Web Part:
stsadm -o addwppack -filename GoogleSearch.cab -url http://localhost -globalinstall -force
After the command returns with "Operation completed successfully," run the following command:
iisreset /timeout:0
Go to Solution Management, Deploy the solution to required Web Application.
Activate the feature from the Site Actions >> Site Collection Features
____________________________________________________________
Add, Deploy & Activate the Web Part (.wsp Solution File)
stsadm -o addsolution -filename SharePointVideoPlayer.wsp
stsadm -o deploysolution -name SharePointVideoPlayer.wsp -immediate
-allowgacdeployment -url "[Site Collection URL]"
stsadm -o activatefeature -name SharePointVideoPlayerfeature -url "[Site Collection URL]" –force
Follow these steps to deploy your Web Part to Office SharePoint Server 2007.
Make sure you are logged into the server with the service account which has permissions to install the web parts.
For ease of deployment, copy the GoogleSearch.cab file to the following location, where Office SharePoint Server 2007 is installed:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin
This should be the same as the location of Stsadm.exe. Ensure that you update the path on your computer if it does not match the default location.
Click Start, click Run, and then type cmd /admin.
Type cd "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin"
Run the following command to deploy your Web Part:
stsadm -o addwppack -filename GoogleSearch.cab -url http://localhost -globalinstall -force
After the command returns with "Operation completed successfully," run the following command:
iisreset /timeout:0
Go to Solution Management, Deploy the solution to required Web Application.
Activate the feature from the Site Actions >> Site Collection Features
____________________________________________________________
Add, Deploy & Activate the Web Part (.wsp Solution File)
stsadm -o addsolution -filename SharePointVideoPlayer.wsp
stsadm -o deploysolution -name SharePointVideoPlayer.wsp -immediate
-allowgacdeployment -url "[Site Collection URL]"
stsadm -o activatefeature -name SharePointVideoPlayerfeature -url "[Site Collection URL]" –force
No comments:
Post a Comment