How to Use Windows Installer to Repair the SharePoint Portal Server Client Components (294281)



The information in this article applies to:

  • Microsoft SharePoint Portal Server 2001

This article was previously published under Q294281

SUMMARY

If you are experiencing problems after you repair the client components for SharePoint Portal Server by using normal procedures, you can use Windows Installer from a command line to repair the client components.

To use Windows Installer from a command line, follow these steps:
  1. Open a command prompt.
  2. In the command window, type msiexec /f[p][o][e][d][c][a][u][m][s][v] (path to package_name), and then press ENTER.
NOTES:
  • In this example, /f enables one or more of the following command-line options:

    p - Reinstall only if the file is missing.
    o - Reinstall if the file is missing or if an older version is installed.
    e - Reinstall if the file is missing or an equal or older version is installed.
    c - Reinstall if the file is missing or the stored checksum does not match the calculated value.
    d - Reinstall if the file is missing or a different version is installed.
    a - Force all the files to be reinstalled.
    u - Rewrite all the required user-specific registry entries.
    m - Rewrite all the required computer-specific registry entries.
    s - Overwrite all the existing shortcuts.
    v - Run from source and recache the local package.

  • In this example, Package_name is the name of the Windows Installer package file. The SPSClient.msi package will be found on the drive the SharePoint Portal Server program files were installed to, in the directory SharePoint Portal Server\ClientDrop\Languages\3-letter language code (for example, enu is the code for U.S. English).

    For example, on an English server where the program files reside on drive D, you can repair the installation package using the following command, which enables the p, e, c, m and s options:

    msiexec /fpecms "D:\SharePoint Portal Server\ClientDrop\Languages\enu\SPSclient.msi"

Usage Tips

Windows Installer command-line switches are not case-sensitive.

For most problems, using the /feumsv switch should be sufficient. If this switch does not solve the problem, then try the /faumsv switch. The /v switch can probably be omitted in most cases.

If your operating system is Microsoft Windows 98 or Microsoft Windows Millenium Edition, and Windows Installer is present, include the path to msiexec.exe. For example, if msiexec.exe is located in C:\Windows\System, type:

C:\Windows\System\msiexec /fpecms "D:\SharePoint Portal Server\ClientDrop\Languages\enu\SPSclient.msi"

You can also add the directory that contains msiexec.exe to the system path.

WARNING: Avoid using the /a switch unless absolutely necessary, because it may overwrite newer versions of files if found.

MORE INFORMATION

Windows Installer is a component of the Microsoft Windows 2000 operating system that simplifies the process of installing programs.

Windows Installer manages the installation and removal of programs by applying a set of centrally defined setup rules during the installation process. These setup rules define the installation and configuration of the installed program. In addition, you use this service to modify, repair, or remove an existing program. The Windows Installer technology consists of the Windows Installer service for the Windows operating systems and the package (.msi) file format used to hold information regarding the program setup and installations.

Modification Type:MinorLast Reviewed:4/25/2005
Keywords:kbinfo KB294281