Installing the Solution

Download the solution file (.wsp) in the downloads section of this project.
Run the following PowerShell script assuming you change the path to where you saved the wsp (L:\temp) and your web application url (http://intranet).
NOTE: You must wait a couple of minutes after you execute the install-solution command and before you run the enable-spfeature command otherwise you will get an error and the feature will not be enabled.

#PowerShell Install Script - Begin
if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null) {

Add-PSSnapin "Microsoft.SharePoint.PowerShell"
add-spsolution L:\temp\NintexCustomWFActions.wsp
install-spsolution NintexCustomWFActions.wsp -GACDeployment
#wait a couple of minutes until the solution has been installed
enable-spfeature NintexCustomWFActions_NintexCustomWFActions -Url http://intranet
#PowerShell Install Script - End

Go to Central Administration -> Nintex Workflow Management -> Managed Allowed Actions and make sure the NintexCustomWFActionsExecutePowerShell item is checked. You should now be able use the custom action.

Please see the main page for instructions on how to use the action as it does require either signing every script or disabling script signing.

If you need help on adding and installing SharePoint solutions you can read the following Deploy solution packages (SharePoint Server 2010).

If you need additional help on activating web application features you can go to Enable-SPFeature (for 2013 but is basically the same as 2010).

Let us know how it goes.

Last edited Jan 16, 2015 at 4:31 PM by ehalsey, version 3