连续6年不跑路的安全速度最适合国人VPN
msi.dll 丟失會導致與 windows installer 相關的所有安裝、更新和卸載操作失敗。解決方法包括重新註冊 msi.dll 文件、從 microsoft 網站或另一臺計算機下載 msi.dll 文件、使用 sfc 修復損壞的文件、從 wim 文件提取 msi.dll 及重置 windows installer。
msi.dll 丟失怎麼辦
問題:msi.dll 丟失會怎樣?
回答:msi.dll 丟失會導致與 Windows Installer 相關的所有安裝、更新和卸載操作失敗。
解決方法:
1. 重新註冊 msi.dll 文件:
- 以管理員身份打開命令提示符。
-
輸入以下命令:
regsvr32 msi.dll
登錄後複製 - 按下 Enter 鍵。
2. 從 Microsoft 網站下載 msi.dll 文件:
- 訪問 Microsoft 下載中心:https://www.microsoft.com/en-us/download/details.aspx?id=8301
- 下載並安裝適用於特定 Windows 版本的 msi.dll 文件。
3. 從其他計算機複製 msi.dll 文件:
- 從另一臺安裝了相同 Windows 版本且 msi.dll 文件完好的計算機上覆制 msi.dll 文件。
-
將文件粘貼到以下目錄中:
C:WindowsSystem32
登錄後複製
4. 使用系統文件檢查器 (SFC) 修復損壞的文件:
-
在命令提示符中輸入以下命令:
sfc /scannow
登錄後複製 - 按下 Enter 鍵。
- SFC 將掃描您的系統並替換任何損壞的文件,包括 msi.dll。
5. 從 Windows 映像 (WIM) 文件提取 msi.dll:
-
對於 Windows 7、8 和 8.1:
dism /online /cleanup-image /restorehealth /source:wim:[install.wim path] /index:[wim index]
登錄後複製 -
對於 Windows 10:
dism /online /cleanup-image /restorehealth /source:wim:[install.wim path] /index:1
登錄後複製將 [install.wim path] 替換爲 install.wim 文件的路徑,將 [wim index] 替換爲映像的索引號。
6. 重置 Windows Installer:
- 這是一個最後的手段,可能會導致丟失安裝信息。
-
在命令提示符中輸入以下命令:
msiexec /unregistermsiexec /regserver
登錄後複製 - 按下 Enter 鍵。
執行這些步驟後,請重新啓動計算機。這應該解決因 msi.dll 丟失導致的任何問題。
以上就是msi.dll丟失怎麼辦的詳細內容,更多請關注本站其它相關文章!