Manual Installation and Removal

  • To install the Web Part on to SharePoint manually first install using the Manual option to obtain the Web Part CAB and WSP files.

  • The Web Part CAB and WSP files are then available in the Web Part Files folder in the programs installation directory

  • SharePoint 2010

The web part should be installed using the Pentalogic.PivotPoint.WebPart.WSP file.

This example shows how to add the solution file and then deploy it to all sites on a local server using STSADM :-

    SET PATH=%PATH%;"c:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\"

    CD "C:\Program Files\Pentalogic\PivotPoint Web Part\Web Part Files"

    STSADM.EXE -o AddSolution -filename Pentalogic.PivotPoint.WebPart.wsp

    STSADM.EXE -o DeploySolution -name Pentalogic.PivotPoint.WebPart.wsp -allcontenturls -immediate -force -allowCasPolicies

    STSADM.EXE -o execadmsvcjobs

This example shows how to retract and then delete the solution file :-

    SET PATH=%PATH%;"c:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\"

    STSADM.EXE -o RetractSolution -name Pentalogic.PivotPoint.WebPart.wsp -allcontenturls -immediate

    STSADM.EXE -o execadmsvcjobs

    STSADM.EXE -o DeleteSolution -name Pentalogic.PivotPoint.WebPart.wsp -override

For more information on how to install the web part on a server farm or to individual sites please consult the SharePoint documentation.

The above commands will install the web part to the servers bin directory and automatically setup the Code Access Security (CAS) permissions as detailed above.

 
  • WSSv3 or Microsoft Office SharePoint Server 2007

The web part should be installed using the Pentalogic.PivotPoint.WebPart.WSP file.

This example shows how to add the solution file and then deploy it to all sites on a local server using STSADM :-

    SET PATH=%PATH%;"c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\"

    CD "C:\Program Files\Pentalogic\PivotPoint Web Part\Web Part Files"

    STSADM.EXE -o AddSolution -filename Pentalogic.PivotPoint.WebPart.wsp

    STSADM.EXE -o DeploySolution -name Pentalogic.PivotPoint.WebPart.wsp -allcontenturls -immediate -force -allowCasPolicies

    STSADM.EXE -o execadmsvcjobs

This example shows how to retract and then delete the solution file :-

    SET PATH=%PATH%;"c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\"

    STSADM.EXE -o RetractSolution -name Pentalogic.PivotPoint.WebPart.wsp -allcontenturls -immediate

    STSADM.EXE -o execadmsvcjobs

    STSADM.EXE -o DeleteSolution -name Pentalogic.PivotPoint.WebPart.wsp -override

For more information on how to install the web part on a server farm or to individual sites please consult the SharePoint documentation.

The above commands will install the web part to the servers bin directory and automatically setup the Code Access Security (CAS) permissions as detailed above.

 
  • WSSv2 or SharePoint Portal Server 2003

The web part and its associated files are stored in Pentalogic.PivotPoint.WebPart.CAB and a SharePoint Administrator may chose to perform an installation using the STSADM tool or another SharePoint Administration tool.

To install using STSADM execute the following command

    SET PATH=%PATH%;"c:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN\"

    CD "C:\Program Files\Pentalogic\PivotPoint Web Part\Web Part Files"

    STSADM.EXE -o addwppack -filename Pentalogic.PivotPoint.WebPart.cab -globalinstall

to remove

    SET PATH=%PATH%;"c:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN\"

    STSADM.EXE -o deletewppack -name Pentalogic.PivotPoint.WebPart.cab

CAS Settings

The web part requires the following permission set to operate.

It is highly recommended that for WSSv2/SPS2003 you install web part into the Global Assembly Cache (GAC) using the -globalinstall option as then you will NOT need to manually edit your web.config files to add the following permission set :-

<PermissionSet class="NamedPermissionSet" version="1" Description="Minimum permission set for Pentalogic PivotPoint web part to run">
<IPermission class="System.Web.AspNetHostingPermission, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1" Level="Minimal" />
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1" Flags="Execution" />
<IPermission class="Microsoft.SharePoint.Security.WebPartPermission, Microsoft.SharePoint.Security, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
version="1" Connections="True" />
<IPermission class="Microsoft.SharePoint.Security.SharePointPermission, Microsoft.SharePoint.Security, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
version="1" ObjectModel="True" />
</PermissionSet>