Select the product you need help with
「 Microsoft Windows 安裝程式 」 工具的命令列參數文章編號: 227091 - 檢視此文章適用的產品。 注意事項這份文件適用於 Windows 2000。Windows 2000 支援的結束 2010 7 月 13,Windows 2000 End-of-Support Solution Center
(http://support.microsoft.com/?scid=http%3a%2f%2fsupport.microsoft.com%2fwin2000)
是規劃您的遷移策略,從 Windows 2000 的起點。如需詳細資訊請參閱 Microsoft Support Lifecycle
Policy
(http://support.microsoft.com/lifecycle/)
]。結論Windows 「 安裝程式可執行程式,會解譯封裝並安裝產品是找出 Msiexec.exe。本文列出此程式的命令列參數。您無法執行 Msiexec.exe 程式而不需指定至少一個參數。 其他相關資訊
Switch 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 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 List The property values used
or[u|m]Package /g LanguageID 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 installation,
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 Programming
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 cannot be added
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 cannot be removed
using the registry
tables of the .msi file.
?考如需詳細資訊和範例,請參閱 Windows 安裝程式說明中的 < 命令列選項 > 主題,或請造訪下列 Microsoft 網站:
http://msdn2.microsoft.com/en-us/library/aa367988.aspx
(http://msdn2.microsoft.com/en-us/library/aa367988.aspx)
屬性文章編號: 227091 - 上次校閱: 2007年2月22日 - 版次: 3.5 這篇文章中的資訊適用於:
機器翻譯 重要:本文是以 Microsoft 機器翻譯軟體翻譯而成,而非使用人工翻譯而成。Microsoft 同時提供使用者人工翻譯及機器翻譯兩個版本的文章,讓使用者可以依其使用語言使用知識庫中的所有文章。但是,機器翻譯的文章可能不盡完美。這些文章中也可能出現拼字、語意或文法上的錯誤,就像外國人在使用本國語言時可能發生的錯誤。Microsoft 不為內容的翻譯錯誤或客戶對該內容的使用所產生的任何錯誤或損害負責。Microsoft也同時將不斷地就機器翻譯軟體進行更新。 按一下這裡查看此文章的英文版本:227091
(http://support.microsoft.com/kb/227091/en-us/
)
Microsoft及(或)其供應商不就任何在本伺服器上發表的文字資料及其相關圖表資訊的恰當性作任何承諾。所有文字資料及其相關圖表均以「現狀」供應,不負任何擔保責任。Microsoft及(或)其供應商謹此聲明,不負任何對與此資訊有關之擔保責任,包括關於適售性、適用於某一特定用途、權利或不侵權的明示或默示擔保責任。Microsoft及(或)其供應商無論如何不對因或與使用本伺服器上資訊或與資訊的實行有關而引起的契約、過失或其他侵權行為之訴訟中的特別的、間接的、衍生性的損害或任何因使用而喪失所導致的之損害、資料或利潤負任何責任。 | 文章翻譯
|




回此頁最上方








