windows Installer(msiexec.exe)命令行选项.docx
文本预览下载声明
windows Installer(msiexec.exe)命令行选项Msiexec.exe用来解释和安装windows下的安装程序(*.msi) 。以下适用与3.0以后的版本。一 Msiexec.exe的标准命令行参数,区分大小写。OptionParametersMeaning/help?Help and quick reference option. Displays the correct usage of the setup command including a list of all switches and behavior. The description of usage can be displayed in the user interface. Incorrect use of any option invokes this help option.Example:?msiexec /helpNote??The equivalent Windows Installer Command-Line Option is?/?./quiet?Quiet display option. The installer runs an installation without displaying a user interface. No prompts, messages, or dialog boxes are displayed to the user. The user cannot cancel the installation. Use the?/norestartor?/forcerestart?standard command-line options to control reboots. If no reboot options are specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user.Examples:msiexec /package Application.msi /quietMsiexec /uninstall Application.msi /quietMsiexec /update msipatch.msp /quietMsiexec /uninstall msipatch.msp /package Application.msi / quietNote??The equivalent Windows Installer Command-Line Option is?/qn./passive?Passive display option. The installer displays a progress bar to the user that indicates that an installation is in progress but no prompts or error messages are displayed to the user. The user cannot cancel the installation. Use the?/norestart,?/forcerestart, or?/promptrestart?standard command-line options to control reboots. If no reboot option is specified, the installer restarts the computer whenever necessary without displaying any prompt or warning to the user.Example:?msiexec /package Application.msi /passiveNote??The equivalent Windows Installer Command-Line Option is?/qb!?with?REBOOTPROMPT=S set on the command line./norestart?Never restart option. The installer never restarts the computer after the installation.Example: msiexec /package Application.msi?/norestartNote??The equivalent Windows Installer c
显示全部