安裝軟體出現 Please wait while the installer finishes determining your disk space requirements

Author: Eric  //  Category: Free Teaching

一早起來安裝我最喜歡的 PDF-XChange Viewer,卻出現 Please wait while the installer finishes determining your disk space requirements。
// 另一個好用的 PDF Reader 軟體是 PDF Foxit Reader

Google 一下就有解決方法了,用的是 msiexec /Option <必要的參數> [選擇性參數]

01. 開始 -> 執行
// 如果整串都沒有空白(white space),可省略 " "
// 嫌麻煩就把 white space 去掉XD

msiexec /i "X:\檔案所在位置\fileName.msi"
msiexec /package "X:\檔案所在位置\fileName.msi" /qr
msiexec /i X:\檔案所在位置\fileName.msi
msiexec /package X:\檔案所在位置\fileName.msi /qr

eg:
msiexec /package "D:\Download\PDF-XChnage Viewer\PXCViewer.msi" /qr
msiexec /package D:\Download\PXCViewer.msi /qr

02. 如果用 CMD 命令提示字元
a. 用cd 切換到軟體所在位置,然後用下面指令其中一個即可
// 如果 fileName.msi 間有空白 -> "fileName.msi"

    msiexec /i fileName.msi
    msiexec /package fileName.msi /qr
    

b. 直接貼上步驟 01 所用的指令

03. 把下面指令存成 *.bat,然後點兩下

@echo off
regsvr32 c:\windows\system32\msi.dll
regsvr32 c:\windows\system32\msisip.dll
regsvr32 c:\windows\system32\msihnd.dll
%Windir%\system32\msiexec /unregserver
%Windir%\system32\msiexec /unreg
%Windir%\system32\msiexec /regserver
regedit /s "Installer2Manual.reg"
RMDIR /S /Q %TEMP%
MD %TEMP%
del /q %systemdrive%\temp\*.*
del /q %systemdrive%\%windir%\temp\*.*
pause
exit

04. 參考用

msiexec /Option <必要的參數> [選擇性參數]

安裝選項
  </package | /i> <Product.msi>
    安裝或設定產品
  </uninstall | /x> <Product.msi | ProductCode>
    解除安裝產品
顯示選項
  /quiet
    安靜模式,不需使用者互動
  /passive
    自動安裝模式 - 只有進度列
  /q[n|b|r|f]
    設定使用者介面層級
    n - 無 UI
    b - 基本 UI
    r - 精簡 UI
    f - 完整 UI (預設值)
  /help
    說明資訊

更多 msiexec /Option <必要的參數> [選擇性參數] 可用的參數,請參考 開始->執行->msiexec

Ref:
01. Windows Installer doesn’t finish determining disk space requirements

Tags: ,

Leave a Reply