Tuesday, 30 April 2013

WSP Installation forcefully PowerShell Commands

ForceFully install WSP using PowerShell Commands

1. If WSP already installed on server, then please retract it or Remove it using Central Admin site.

go to Central admin -> System Settings -> Manage Farm Solution ->click your WSP file -> Remove Solution

2. Add Solution:

STSADM.EXE -o addsolution -filename D:\FileLocation\FileName.wsp

3. Deploy Solution

STSADM.EXE -o deploysolution -name FileName.wsp -url http://www.deployhere.com -allowgacdeployment -local -force

4. Copy AppBin content

STSADM.EXE -o copyappbincontent

No comments:

Post a Comment