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:
- Open a command prompt.
- 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.