文章編號: 555175 - 上次校閱: 2006年2月21日 - 版次: 1.0

如何解決 「 Windows Installer 」 常見問題

作者?Yuval Sinay MVP
全部展開 | 全部摺疊

結論

這項知識庫可以協助您來解決常見的 Windows Installer 問題。

徵狀

當您試著安裝 / 解除安裝某些 application / s, 您可能會收到警告訊息類似:
?
「 Windows Installer 服務無法存取 "
?
Windows Installer 服務 couldn?t 是 「 啟動 」
?
在本機電腦 」 無法啟動 Windows Installer 服務。 錯誤 5 是拒絕存取: 」

發生的原因

「 Windows Installer 」 服務失敗安裝的 MSI 封裝 ] 或 [ 停用 ] 之後通常會出現錯誤訊息

解決方案

1 1:Option 選項:?
方法 1
1 1:Option 選項:?
1 1:Option 選項:?
移除註冊 Windows Installer, 並再重新註冊 Windows Installer。 如果要執行這項操作,請依照下列步驟執行。:
?
1. 在 " Start " 功能表, 按一下 [ 執行 ":
?
2. 在 「 開啟 」 ] 方塊中, 鍵入 " msiexec /unreg ", 然後再按 ENTER 鍵
?
3. 在 「 執行 」 按一下 [ 功能表, 「 啟動 」
?
4. 在 「 開啟 」 ] 方塊中, 輸入 「 msiexec / regserver ", 然後再按 ENTER 鍵
?
?
方法 2
1 1:Option 選項:?
再按 [ Windows Installer ", " 3. 及適當的連結 - 您的作業系統。?
升級到 Windows Installer 第 2 版或較新的版本。 如果要執行這項操作,請依照下列步驟執行。:
?
1. 啟動 Microsoft Internet Explorer, 然後再瀏覽至下列 Microsoft 網站:
?
???? http://msdn.microsoft.com/downloads
?
2. 在左窗格樹狀功能表, 按一下 [ " 安裝 [ , 然後再按一下 [ 系統管理安裝程式並 "
?
再按 [ Windows Installer ", " 3. 及適當的連結 - 您的作業系統。
?
4. 按一下 [ Download ] 如果要下載並安裝 Windows Installer 第 2 版或較新的版本
?
?
方法 3
1 1:Option 選項:?
1 1:Option 選項:?
使用 Windows Installer CleanUp 公用程式來解除安裝失敗的產品。
?
說明 Windows Installer CleanUp 公用程式
?
http://support.microsoft.com/default.aspx?scid=kb;en-us;290301
?
?
方法 4
?
1 1:Option 選項:?
Windows Installer 服務可能會在電腦上停用。
?
1. 移至 [ 開始 ] - > 「 執行 」, 輸入 services . msc " " 然後按下 [ Enter ] 按鈕上
?
2. 在名為 「 Windows Installer 」 服務上按兩下。
?
如何啟用 Windows Installer 的記錄功能 如果它目前是設定為 「 停用 「, 那麼這就是

????? 問題。 藉由從下拉式方塊選取 「 手動 」 變更它。
?
?
方法 5
1 1:Option 選項:?
1 1:Option 選項:?
空的使用者及系統 temp 資料夾。
?
1. 清空 " %systemdrive%\temp " 資料夾
?
2. 清空 " %systemdrive%\%windir%\temp " 資料夾
?
3. 清空 " % systemdrive % \Documents and Settings \Temp Settings\%username%\Local "
?
?
方法 6
1 1:Option 選項:?
1 1:Option 選項:?
啟用 Windows Installer 記錄並呼叫到 PSS 支援。
?
如何啟用 Windows Installer 的記錄功能
?
http://support.microsoft.com/default.aspx?kbid=223300
?
如何啟用登入 Windows XP Windows Installer
?
http://support.microsoft.com/default.aspx?scid=kb;EN-US;314852
?
?
方法 7
1 1:Option 選項:?
?
檢查正確 DCOM 和系統使用權限:
?
http://support.microsoft.com/?id=319624
?
?
8 方法
?
?
請檢查安裝路徑長度和環境變數長度, 會執行
?
問題只有在這項升級出現, 請參閱下列知識庫:
?
http://support.microsoft.com/default.aspx?scid=kb;en-us;885894
?
?
9 方法
1 1:Option 選項:?
1 1:Option 選項:?
請檢查安裝路徑長度和環境變數長度, 會執行
?
255 個字元 ?
?
?
10 方法
1 1:Option 選項:?
1 1:Option 選項:?
如果您收到訊息錯誤 Failed to 完整指令碼為基礎的安裝: 錯誤 1628 " "
?
和 didn?t 解決此問題, 上面的指令和它後面以及您只是建立全新的
?
請停用 「 快取本機電腦上安裝 「 安裝藉由使用 InstallShiled 工具, 封包
?
建立程序期間安裝封包選項。
?
?
11 方法
1 1:Option 選項:?
1 1:Option 選項:?
檢查是否有暫止安裝 / s:
?
?
如果您確實知道您正在做什麼 警告: 您應該只能編輯這些登錄項目。 請先備份您的硬碟。??

a. 空 " InProgress " 登錄機碼
?
檢查下列登錄機碼:

HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress

並清除, 您發現任何項目。
?
b . 空 / 重新命名 」 PendingFileRenameOperations " 登錄機碼:
?
檢查下列登錄機碼:

HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

並清除, 您發現任何項目。
?
?
1 1:Option 選項:?
12 方法
1 1:Option 選項:?
1 1:Option 選項:?
取得從軟體製造更新 MSI 套件?
?
?

其他相關資訊

Msiexec . exe 工具為 Microsoft Windows Installer 命令列選項
?
http://support.microsoft.com/default.aspx?scid=kb;en-us;314881
?
Windows Installer 3.1 可供使用
?
http://support.microsoft.com/?id=893803
?
Windows Installer 錯誤訊息
?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/windows_installer_error_messages.asp
?
PRB: 當您試著安裝 Visual Studio . NET 「 安裝程式發現另一個程式需要電腦重新開機, 以 「 錯誤訊息

http://support.microsoft.com/default.aspx?scid=kb;en-us;830608
?

這篇文章中的資訊適用於:
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Media Center Edition 2002
  • Microsoft Windows XP Home Edition
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Small Business Server 2000 Standard Edition
關鍵字:?
kbpubmvp kbpubtypecca kbhowto KB555175 KbMtzh kbmt
機器翻譯機器翻譯
重要:本文是以 Microsoft 機器翻譯軟體翻譯而成,而非使用人工翻譯而成。Microsoft 同時提供使用者人工翻譯及機器翻譯兩個版本的文章,讓使用者可以依其使用語言使用知識庫中的所有文章。但是,機器翻譯的文章可能不盡完美。這些文章中也可能出現拼字、語意或文法上的錯誤,就像外國人在使用本國語言時可能發生的錯誤。Microsoft 不為內容的翻譯錯誤或客戶對該內容的使用所產生的任何錯誤或損害負責。Microsoft也同時將不斷地就機器翻譯軟體進行更新。如果您發現錯誤,並想要協助我們進行改善,請填寫本篇文章下方的問卷。
按一下這裡查看此文章的英文版本:555175? (http://support.microsoft.com/kb/555175/en-us/ )
Community Solutions Content社區解決方案內容免責聲明
Microsoft及(或)其供應商不就任何在本伺服器上發表的文字資料及其相關圖表資訊的恰當性作任何承諾。所有文字資料及其相關圖表均以「現狀」供應,不負任何擔保責任。Microsoft及(或)其供應商謹此聲明,不負任何對與此資訊有關之擔保責任,包括關於適售性、適用於某一特定用途、權利或不侵權的明示或默示擔保責任。Microsoft及(或)其供應商無論如何不對因或與使用本伺服器上資訊或與資訊的實行有關而引起的契約、過失或其他侵權行為之訴訟中的特別的、間接的、衍生性的損害或任何因使用而喪失所導致的之損害、資料或利潤負任何責任。
 

文章翻譯