Installing Archive Search Web Part

To enable users to search Enterprise Vault archives, you need to install the Archive Search Web Part on your SharePoint Servers.

Custom Web Parts are distributed as .cab files. You use the command line tool Stsadm.exe to add Web Parts from a .cab file to one or more virtual servers.

For more information on adding custom Web Parts, see the following article on the Microsoft Web site:

http://www.microsoft.com/resources/documentation/wss/2/all/adminguide/en-us/stswp03.mspx

A custom Web Part for Enterprise Vault Archive Search is included in the Enterprise Vault SharePoint components. This is distributed in multiple language versions. Once installed, the name of the Web Part in the virtual server gallery will be in the language of the package that you have installed. However, in SharePoint site pages the Web Part text will be displayed to users in the language of the SharePoint site, irrespective of the language package installed.

To install the Archive Search Web Part

  1. If the language selected for your SharePoint installation is not English, then you need to copy the appropriate language version of the Web Part package to the folder containing Stsadm.exe before you install the Web Part. (When the Enterprise Vault SharePoint components were installed, an English version of the Web Part was placed in this folder.)

    Copy the Web Part package, EV_SharepointWebPartsCab.cab, from the appropriate language folder under C:\Program Files\Enterprise Vault\Languages\Windows SharePoint Services Web Parts to the folder containing the Stsadm.exe tool. This is typically C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\BIN.

  2. On the SharePoint server open a Command Prompt window.

  3. Use the cd command to go to the directory containing the Stsadm.exe tool and the Web Part CAB file. For example:

    cd "C:\Program Files\Common Files\Microsoft Shared\Web
    Server Extensions\12\BIN"
    
  4. To install the Web Part on every virtual server on a SharePoint server, enter the following command (on one line):

    stsadm.exe -o addwppack -globalinstall -force -filename
    "EV_SharepointWebPartsCab.cab"
    

    To install the Web Part on a particular virtual server, enter the command line:

    stsadm.exe -o addwppack -globalinstall -url
    virtual_server_url -force -filename "EV_SharepointWebPartsCab.cab"
    

    virtual_server_url is the URL of the SharePoint Web application or virtual server on which to install the Web Parts.

    If you specify the URL of a single Web application or virtual server and the -globalinstall parameter, the Web Part will only appear in the Web Part Gallery of the virtual server that you specified. However, the assembly will be installed in the global assembly cache (GAC).

    You should see the following installation message displayed:

    EV_sharepointwebpartscab.cab: Deploying to
    http://sharepoint_server_name
    Operation completed successfully
    

    If an error occurs due to an obvious mistake, such as a typing error, rerun the above command; ensure that the -force switch is included in the command line. This forces the files to be installed over any existing files.