Select the product you need help with
Microsoft Windows 安裝程式工具找出 Msiexec.exe 命令列選項文章編號: 314881 - 檢視此文章適用的產品。 結論本文將列出 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.
http://msdn2.microsoft.com/en-us/library/aa367988.aspx
(http://msdn2.microsoft.com/en-us/library/aa367988.aspx)
屬性文章編號: 314881 - 上次校閱: 2007年1月18日 - 版次: 1.5
機器翻譯 重要:本文是以 Microsoft 機器翻譯軟體翻譯而成,而非使用人工翻譯而成。Microsoft 同時提供使用者人工翻譯及機器翻譯兩個版本的文章,讓使用者可以依其使用語言使用知識庫中的所有文章。但是,機器翻譯的文章可能不盡完美。這些文章中也可能出現拼字、語意或文法上的錯誤,就像外國人在使用本國語言時可能發生的錯誤。Microsoft 不為內容的翻譯錯誤或客戶對該內容的使用所產生的任何錯誤或損害負責。Microsoft也同時將不斷地就機器翻譯軟體進行更新。 按一下這裡查看此文章的英文版本:314881
(http://support.microsoft.com/kb/314881/en-us/
)
Microsoft及(或)其供應商不就任何在本伺服器上發表的文字資料及其相關圖表資訊的恰當性作任何承諾。所有文字資料及其相關圖表均以「現狀」供應,不負任何擔保責任。Microsoft及(或)其供應商謹此聲明,不負任何對與此資訊有關之擔保責任,包括關於適售性、適用於某一特定用途、權利或不侵權的明示或默示擔保責任。Microsoft及(或)其供應商無論如何不對因或與使用本伺服器上資訊或與資訊的實行有關而引起的契約、過失或其他侵權行為之訴訟中的特別的、間接的、衍生性的損害或任何因使用而喪失所導致的之損害、資料或利潤負任何責任。 | 文章翻譯
|




回此頁最上方








