文章編號: 298027 - 上次校閱: 2006年8月29日 - 版次: 4.2

描述之間的差異修復並重新安裝 Office XP 和 2003年中

系統提示本文適用於您使用的作業系統之外的作業系統。與您不相關的文章內容已停用。
本文章的有 Microsoft Office 2000] 版本請參閱 230672? (http://support.microsoft.com/kb/230672/ )

在此頁中

全部展開 | 全部摺疊

結論

當 Microsoft Office 安裝之後,您就會執行 Office 安裝程式時, 您會自動將放入維護模式。維護模式選項是 修復 Office。如果您使用這個選項將 重新安裝或修復 Office 安裝] 對話方塊會出現下列兩個選項:
  • 重新安裝 Office。
  • 偵測並修復錯誤在我的 Office 安裝。

其他相關資訊

沒有這兩個選項之間的細微差異,您會想要確定您選擇適當的選項,根據您的情況。不論是哪一種 Windows 「 安裝 程式/f 指令行選項之所以被稱為。不同的是附加 到/f 切換參數中。

附註您也可以執行一個修復程序從任何 Office 程式按一下 [說明] 功能表上的 [偵測與修復功能。這個程序是相同的程序,當您按一下時執行 偵測並修復的錯誤,在我的 Office 安裝 命令在維護模式。

下表列出當您執行修復或重新安裝時所呼叫 的/f 預設組合:
                               /f combination passed
Mode                           to the Windows Installer
-------------------------------------------------------
Detect and Repair called            /focums
from the Help menu

Detect and Repair errors            /focum
in my Office Installation 
called from Maintenance Mode

Reinstall Office called from        /fecums
Maintenance Mode
					
附註如果您按一下 偵測並修復的錯誤,在我的 Office 安裝還原我開始功能表捷徑 核取方塊,就可以使用,但未選取。如果選取此核取] 方塊,然後/f 參數組合就會變成 / focums 而不是預設值的 / focum

下表列出所有可供使用/f Windows 「 安裝程式參數使用的參數。

Option       Description
------------------------
p            Reinstall only if file is missing, or verify the
             file is present.

o            Reinstall if file is missing, or an earlier version
             is present.

e            Reinstall if file is missing, or an equal or earlier
             version is present.

d            Reinstall if file is missing, or a different version
             is present.

c            Reinstall if file is missing or corrupt. This option
             only repairs files that have msidbFileAttributesChecksum
             in the Attributes column of the File table.

a            Force all files to be reinstalled, regardless of checksum
             or version.

u            Rewrite all required registry entries from the registry
             table that go to the HKEY_CURRENT_USER or HKEY_USERS
             registry keys.

m            Rewrite all required registry entries from the registry
             table that go to the HKEY_LOCAL_MACHINE or
             HKEY_CLASSES_ROOT registry key. Rewrite all information
             from the Class table, Verb table, PublishComponent table,
             ProgID table, MIME table, Icon table, Extension table,
             and AppID table regardless of computer or user assignment.
             Reinstall all qualified components.

s            Reinstall all shortcuts and re-cache all icons,
             overwriting any existing shortcuts and icons.

v            Use to run from the source package and re-cache the local
             package.
					

若要從命令列執行修復/重新安裝程序

您也以手動方式可以執行修復功能] 或 [重新安裝的程序,使用/f 參數的自訂組合。比方說如果您只想要修復或重新安裝 [程式集] 功能表上的 Office 捷徑,請依照下列步驟執行:
  1. 按一下 [開始],然後按一下 [執行]。
  2. 在 [開啟] 方塊中輸入類似下列的指令行:
    path\setup.exe /fs Msifile.msi
    位置 path 是 Setup.exe 檔案所在的資料夾,而 Msifile.msi 則是 *.msi 檔案您正在使用。
  3. 按一下 [確定]

?考

如需詳細資訊,請參閱 Microsoft Office XP 資源工具箱 」 在]:
http://www.microsoft.com/office/ork/xp/default.htm (http://www.microsoft.com/office/ork/xp/default.htm)

這篇文章中的資訊適用於:
  • Microsoft Office Basic Edition 2003
  • Microsoft Office Professional Edition 2003
  • Microsoft Office Small Business Edition 2003
  • Microsoft Office Standard Edition 2003
  • Microsoft Office Students and Teachers Edition 2003
  • Microsoft Office XP Professional
  • Microsoft Office XP Small Business Edition
  • Microsoft Office XP Standard Edition
  • Microsoft Office XP Students and Teachers
  • Microsoft Office XP Developer Edition
關鍵字:?
kbmt kbrepair kbhowto KB298027 KbMtzh
機器翻譯機器翻譯
重要:本文是以 Microsoft 機器翻譯軟體翻譯而成,而非使用人工翻譯而成。Microsoft 同時提供使用者人工翻譯及機器翻譯兩個版本的文章,讓使用者可以依其使用語言使用知識庫中的所有文章。但是,機器翻譯的文章可能不盡完美。這些文章中也可能出現拼字、語意或文法上的錯誤,就像外國人在使用本國語言時可能發生的錯誤。Microsoft 不為內容的翻譯錯誤或客戶對該內容的使用所產生的任何錯誤或損害負責。Microsoft也同時將不斷地就機器翻譯軟體進行更新。
按一下這裡查看此文章的英文版本:298027? (http://support.microsoft.com/kb/298027/en-us/ )
Microsoft及(或)其供應商不就任何在本伺服器上發表的文字資料及其相關圖表資訊的恰當性作任何承諾。所有文字資料及其相關圖表均以「現狀」供應,不負任何擔保責任。Microsoft及(或)其供應商謹此聲明,不負任何對與此資訊有關之擔保責任,包括關於適售性、適用於某一特定用途、權利或不侵權的明示或默示擔保責任。Microsoft及(或)其供應商無論如何不對因或與使用本伺服器上資訊或與資訊的實行有關而引起的契約、過失或其他侵權行為之訴訟中的特別的、間接的、衍生性的損害或任何因使用而喪失所導致的之損害、資料或利潤負任何責任。