Microsoft KB Archive/294281

= How to Use Windows Installer to Repair the SharePoint Portal Server Client Components =

Article ID: 294281

Article Last Modified on 2/28/2007

-

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\ (for example,  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 &quot;D:\SharePoint Portal Server\ClientDrop\Languages\enu\SPSclient.msi&quot;



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 &quot;D:\SharePoint Portal Server\ClientDrop\Languages\enu\SPSclient.msi&quot;

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.

Additional query words: sps

Keywords: kbinfo KB294281

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.