Using a Command Line to Remove or Repair SharePoint Portal Server Client Components (294236)



The information in this article applies to:

  • Microsoft SharePoint Portal Server 2001

This article was previously published under Q294236

SUMMARY

This article discusses how to use command-line tools to remove or to repair your SharePoint Portal Server client installation.

MORE INFORMATION

NOTE: Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.

You can use Add/Remove Programs in Control Panel to remove or to repair client components of SharePoint Portal Server. Or, you can also use the command line to remove or to repair client components.

NOTE: When you remove the client components, the User's Help file (Webfoldr.chm) is not removed because it replaces the original Web folders Help file.

Command-Line Syntax

To use a command line to remove or to repair the client components:
  1. On the Windows task bar, click Start, point to Programs, point to Accessories, and then click Command Prompt.
  2. Type the appropriate command using the following syntax, and then press the ENTER key

    "filepath\setup.exe" [/x] [/f] "filepath\SPSClient.msi"

    where filepath is the path to the Setup.exe and to the SPSClient.msi files. (These files are in the CD-ROM drive:\Client folder by default, where CD-ROM drive is the drive letter assigned to your CD-ROM drive.)

    You can use the following command options to remove or to repair the client components:
    • Use the /x option to remove the client components.

      For example, if the Setup.exe and the SPSClient.msi files are located in the D:\Client folder, to remove the client components, type:

      "D:\CLIENT\setup.exe" /x "D:\CLIENT\SPSClient.msi"

    • Use the /f option to repair the client components.

      For example, if the Setup.exe and the SPSClient.msi files are in the D:\Client folder, to repair the client components, type:

      "D:\CLIENT\setup.exe" /f "D:\CLIENT\SPSClient.msi"

  3. Type exit, and then press the ENTER key to close the command prompt.

Disabling Prerequisite Checking

If you have removed one or more of the SharePoint Portal Server client prerequisites, you cannot remove or repair the client components unless you disable prerequisite checking. To disable prerequisite checking, add DISABLEPREREQ=1 to the command line. For example:
  • If the Setup.exe and the SPSClient.msi files are in the D:\Client folder, to remove the client components, type:

    "D:\CLIENT\setup.exe" /x "D:\CLIENT\SPSClient.msi" DISABLEPREREQ=1

  • If the Setup.exe and the SPSClient.msi files are in the D:\Client folder, to repair the client components, type:

    "D:\CLIENT\setup.exe" /f "D:\CLIENT\SPSClient.msi" DISABLEPREREQ=1


Modification Type:MajorLast Reviewed:1/3/2003
Keywords:kbhowto KB294236