ID do artigo: 227091 - Última revisão: quinta-feira, 22 de fevereiro de 2007 - Revisão: 3.5 Parâmetros da linha de comandos para a ferramenta do Microsoft Windows Installer
Para uma versão deste artigo do Microsoft Windows XP, consulte 314881
(http://support.microsoft.com/kb/314881/EN-US/
)
. AvisoEste artigo se aplica ao Windows 2000. Suporte 2000 termina em 13 de julho de 2010.Windows 2000 End-of-Support Solution Center (http://support.microsoft.com/?scid=http%3a%2f%2fsupport.microsoft.com%2fwin2000) é um ponto de partida para planejar uma estratégia de migração do Windows 2000. Para obter mais informações, consulte a Microsoft Support Lifecycle Policy (http://support.microsoft.com/lifecycle/) .SumárioO programa executável do Windows Installer que interpreta pacotes e instala os produtos é Msiexec.exe. Este artigo lista as opções de linha de comando para este programa. Não é possível executar o programa Msiexec.exe sem especificar pelo menos uma opção. Mais Informações
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.
ReferênciasPara obter mais informações e exemplos, consulte o tópico "Opções de linha de comando" na Ajuda do Windows Installer, ou visite o seguinte site:
http://msdn2.microsoft.com/en-us/library/aa367988.aspx
(http://msdn2.microsoft.com/en-us/library/aa367988.aspx)
A informação contida neste artigo aplica-se a:
Tradução automáticaIMPORTANTE: Este artigo foi traduzido por um sistema de tradução automática (também designado por Machine Translation ou MT), não tendo sido portanto traduzido ou revisto por pessoas. A Microsoft possui artigos traduzidos por aplicações (MT) e artigos traduzidos por tradutores profissionais, com o objetivo de oferecer em português a totalidade dos artigos existentes na base de dados de suporte. No entanto, a tradução automática não é sempre perfeita, podendo conter erros de vocabulário, sintaxe ou gramática. A Microsoft não é responsável por incoerências, erros ou prejuízos ocorridos em decorrência da utilização dos artigos MT por parte dos nossos clientes. A Microsoft realiza atualizações freqüentes ao software de tradução automática (MT). Obrigado. Clique aqui para ver a versão em Inglês deste artigo: 227091
(http://support.microsoft.com/kb/227091/en-us/
)
| Outros Recursos Outros Sites de Suporte
ComunidadesTraduções deste artigo
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email


Voltar para o início