您目前已離線,請等候您的網際網路重新連線

Microsoft Windows 安裝程式工具找出 Msiexec.exe 命令列選項

Windows XP 支援已結束

Microsoft 於 2014 年 4 月 8 日結束對 Windows XP 的支援。此變更已影響您的軟體更新和安全性選項。 瞭解這對您的意義為何且如何持續受保護。

重要:本文是以 Microsoft 機器翻譯軟體翻譯而成,而非使用人工翻譯而成。Microsoft 同時提供使用者人工翻譯及機器翻譯兩個版本的文章,讓使用者可以依其使用語言使用知識庫中的所有文章。但是,機器翻譯的文章可能不盡完美。這些文章中也可能出現拼字、語意或文法上的錯誤,就像外國人在使用本國語言時可能發生的錯誤。Microsoft 不為內容的翻譯錯誤或客戶對該內容的使用所產生的任何錯誤或損害負責。Microsoft也同時將不斷地就機器翻譯軟體進行更新。

按一下這裡查看此文章的英文版本:314881
本文已封存。本文係以「現狀」提供且不會再更新。
本文章的有 Microsoft Windows 2000] 版本請參閱 227091
結論
本文將列出 Windows 「 安裝程式工具找出 Msiexec.exe 的命令列選項。找出 Msiexec.exe 是一種程式,會解譯封裝並安裝產品。
其他相關資訊
這些都是命令列選項可供 Msiexec.exe。您無法執行 Msiexec.exe 程式未指定至少一個選項
   Option  Parameters                               Description   ------------------------------------------------------------------------   /i      Package|ProductCode                      Installs or configures                                                    a product.   /f      [p|o|e|d|c|a|u|m|s|v]Package|ProductCode Repairs a product.                                                     p - Reinstalls a                                                    product only if a                                                     file is missing.                                                    o - Reinstalls a                                                    product if a file                                                    is missing or if an                                                     older version of a file                                                    is installed.                                                    e - Reinstalls a                                                    product if a file                                                    is missing or an equal                                                     or older version of a                                                     file is installed.                                                    d - Reinstalls a                                                    product if a file                                                    is missing or a                                                     different version of                                                    a file is installed.                                                                                                       c - Reinstalls a                                                    product if a file                                                     is missing or if the                                                      stored checksum value                                                     does not match the                                                     calculated value.                                                    a - Forces all files to                                                    be reinstalled.                                                    u - Rewrites all                                                    required user-                                                    specific registry                                                     entries.                                                    m - Rewrites all                                                     required                                                    computer-specific                                                     registry entries.                                                    s - Overwrites all                                                     existing shortcuts.                                                    v - Runs from the                                                     source file and re-                                                     caches the local                                                     package.   /a      Package                                  Administrative                                                    installation option.                                                    Installs a product on                                                     the network.   /x      Package|ProductCode                      Uninstalls a product.   /j      [u|m]Package                             Advertises a product.           or [u|m]Package /t Transform Li          The property values           or[u|m]Package /g LanguageID             used on the command                                                    line are ignored.                                                    u - Advertises a                                                    product to the                                                    current user.                                                     m - Advertises a                                                    product to all users.                                                     g - Language ID.                                                    t - Applies a transform                                                    list to an advertised                                                    package.   /l      [i|w|e|a|r|u|c|m|p|v|+|!]Logfile         Specifies the log                                                     file path and                                                    indicates the flags                                                     to be logged.                                                    i - Status messages.                                                    w - Non-fatal warnings.                                                    e - All error messages.                                                    a - Startup of actions.                                                    r - Action-specific                                                    records                                                    u - User requests.                                                    c - Initial User                                                    Interface (UI)                                                     parameters                                                    m - Out-of-memory.                                                      p - Terminal                                                    properties.                                                    v - Verbose output.                                                    + - Appends to the                                                    existing file.                                                                ! - Clears each line in                                                    the log file.                                                    "*" - Wildcard.                                                    Logs all information,                                                    but the use of the v                                                    option is not included.                                                    To include the v                                                    option, type "/l*v."    /p      Patch/Package                            Applies a patch. To                                                     apply a patch to an                                                     installed Administrator                                                    image, type the                                                     following options:                                                    /p [PatchPackage]                                                    /a [Package]   /q      n|b|r|f                                  Sets the UI level.                                                    q , qn - No UI.                                                    qb - Basic UI.                                                    qr - Reduced UI. A                                                    modal dialog box is                                                    displayed at the end                                                    of the installation.                                                    qf - Full UI. A                                                     modal dialog box is                                                     displayed at the end                                                    of the installation.                                                    qn+ - No UI. However,                                                     a modal dialog box is                                                    displayed at the end                                                    of the installation.                                                    qb+ - Basic UI. A modal                                                    dialog box is displayed                                                    at the end of the                                                     installation. If you                                                     cancel the instal-                                                    lation, a modal dialog                                                    box is not displayed.                                                    qb- - Basic UI with no                                                    modal dialog boxes.                                                     The "/qb+-" switch                                                    is not a supported UI                                                     level.   /y      module                                   Calls the system                                                    Application Program-                                                     ming Interface (API)                                                     DllRegisterServer,                                                    which registers                                                    modules that are                                                    typed on the command                                                     line (for example,                                                    "msiexec /y                                                    my_file.dll").                                                    This option is only                                                     used for registry                                                    information that can-                                                    not be added by using                                                     the registry tables of                                                     the .msi file.   /z      module                                   Calls the system API                                                     DllUnRegisterServer,                                                    to unregister modules                                                     that are typed on the                                                    command line (for                                                     example, "msiexec /z                                                     my_file.dll").                                                    This option is only                                                     used for registry                                                    information that can-                                                    not be removed by                                                    using the registry                                                     tables of the .msi                                                    file.
的相關資訊及範例,請參閱 Windows 安裝程式說明中的 < 命令列選項 > 主題,或請造訪下列 Microsoft 網站:

警告:本文為自動翻譯

內容

文章識別碼:314881 - 最後檢閱時間:12/07/2015 08:26:33 - 修訂: 1.5

Microsoft Windows XP Home Edition (家用版), Microsoft Windows XP Professional

  • kbnosurvey kbarchive kbmt kbenv kbinfo KB314881 KbMtzh
意見反應