KWizCom Support Center

How to deploy .wsp packages to your on-premise SharePoint environment


Deploy solutions using the included PowerShell script:

Included with all KWizCom zip packages is the SP-WSPsInstaller.ps1 script. This Powershell script automates the process of running the Add-SPSolution and Install-SPSolution commands. It will also check if another version of a product is already deployed and retract/remove the previous version of necessary.

1. Have the SP-WSPsInstaller.ps1 script in the same folder as any .wsp packages you intend to deploy in your environment.

2. Open a SharePoint Management Shell window as an administrator. Then navigate to the folder containing the installer script an execute it. Alternatively, you can browse to the folder containing the script and right click “run with PowerShell”.

3. The script will then deploy the .wsp packages in the same folder it is located in.

Manually deploy solutions using PowerShell

Alternatively, you can deploy the product without using the script by manually using PowerShell commands:

1. Open a SharePoint Management Shell window as an administrator

2. Run the command Add-SPSolution -LiteralPath c:\solution_name.wsp

3. Run the command Install-SPSolution -Identity solution_name -GACDeployment

On a scale of 1-5, please rate the helpfulness of this article

Not Helpful
Very Helpful
Optionally provide private feedback to help us improve this article...

Thank you for your feedback!

Last Modified: 2 Years Ago
Last Modified By: dean
Rated 2 stars based on 5 votes.
Article has been viewed 1.7K times.
Also In This Category