Skip to main content

Deploying the Solution







1.Back in PowerShell, type:

Install-SPSolution –Identity .wsp –WebApplication http:// -GACDeployment

2.You’re done. Verify that your assembly is the GAC (C:windowsassembly) and then go activate any features you may have had in your solution.

Quick Overview

Here’s a quick overview of what we’ve learned with a few more tidbit commands you’ll probably need along the way:




Add Solution

Add-SPSolution c:.wsp

Deploy/Install Solution

Install-SPSolution –Identity .wsp –WebApplication http:// -GACDeployment

Update Solution

Update-SPSolution –Identity .wsp –LiteralPath c:.wsp –GACDeployment

Uninstall Solution

Uninstall-SPSolution –Identity .wsp –WebApplication http://

Remove Solution

Remove-SPSolution –Identity .wsp

Comments

Popular posts from this blog

Publishing SharePoint List InfoPath Form to a new location

Needed to move it from Dev to Production. File > Publish > Export Source Files. Close InfoPath Go to folder where Source Files are saved, open Manifest.xsf.  Find all instances of the URL and replace them with the new URL - there should be five. If you have secondary data connections, update those also. I use Notepad++ and “replace all” so it just takes a second.  Save the manifest.xsf file and close. Now right click on the manifest.xsf and select Design to open it back up in InfoPath.  Click on File >Publish and verify the URL is correct in the “Publish form to a SharePoint List” section”.