If you are looking to manually install or uninstall a Web Part, you’re unfortunately unable to simply click the Install button in the Web Part. Before you start to fret, however, don’t worry – there IS a solution for manually installing and uninstalling Web Parts, and working with Windows PowerShell, you can easily manually install or uninstall.
To begin, you will need to extract the Web Part file folder and save it to your hard drive. In this example, we’ll be using the Time Tracking and Management Web Part.
Next, go to Start > All Programs > Accessories > Windows PowerShell. Right-click on Run as administrator.
In PowerShell, change the directory name to the misc folder in the Command Prompt (cd C:UsersspinstallerDesktopSA12A.R.7.SP2010.SLmisc)
Manual Installation:
Type the following command: .ManualInstallation.ps1 and enter the information below:
- Enter the Web Application URL where you need to deploy the solution. In this example, we will be using the server name http://foundloan.
- For the question “Do you want Automatic Feature Activation (Yes or No)?” enter Yes (if you enter no, the Web Part will not automatically activate the feature).
- Press Enter and wait a few minutes. Once finished, you will get the message, Installation Complete and review the result!
After installation has been completed, you can go to SharePoint and start using your newly installed Web Part.
Manual Uninstall:
In PowerShell, change the directory name to the misc folder in the Command Prompt.
Next, type the following command: .ManualUnInstallation.ps1 and enter the information below:
- Press Enter to continue.
- Press Enter and wait a few minutes until you get the message, Press Enter to Exit.
Your solution will now be successfully removed.
Questions? Contact us or check out our online documentation!