In this post we will discuss how to deploy sandboxed solution in sharepoint 2010?
Also you can check out:
Apart from Farm solution you can also deploy sandboxed solution using PowerShell command. Only difference is we need to insert User after SP like SPUserSolution. Remember Sandboxed solutions run under the sandboxed worker process which is know as SPUCWorkerProcess.exe.
Below is the full list of command:
Open the SharePoint 2010 Management Shell. You can get to this by going to Start > All Programs > Microsoft SharePoint 2010 Products > SharePoint 2010 Management Shell.
Add a Sandboxed Solution to the site:
Add-SPUserSolution -LiteralPath "C:\Bijay\MyTestSandboxSol.wsp" -Site http://URL
Install Sandboxed Solution:
Install-SPUserSolution -Identity MyTestSandboxSol.wsp -Site http://URL
Uninstall Sandboxed Solution:
Uninstall-SPUserSolution -Identity MyTestSandboxSol.wsp -Site http://URL
Remove Sandboxed Solution:
Remove-SPUserSolution -Identity MyTestSandboxSol.wsp -Site http://URL
Update Sandboxed Solution:
Update-SPUserSolution -Identity MyTestSandboxSol.wsp -Site http://URL MyTestSandboxSolUpgrade.wsp
Remember to add the new upgrade solution (MyTestSandboxSolUpgrade.wsp) before upgrade the solution.