Soru

Zorluk: OrtaApplication Installation and Configuration Concepts

A desktop technician needs to deploy an enterprise software package packaged as a Windows Installer (.msi) file across several workstation endpoints. To automate the installation via a script, the command must run unattended without any user interface prompts and generate a detailed verbose log file at C:\Logs\app_install.log for auditing purposes. Which of the following command-line executions correctly accomplishes this requirement?

  1. msiexec /i software.msi /qn /L*V C:\Logs\app_install.logCevap
  2. B
    dism /online /add-package /packagepath:software.msi /quiet /logfile:C:\Logs\app_install.log
  3. C
    sfc /scannow /i software.msi /offlogfile=C:\Logs\app_install.log
  4. D
    msiexec /x software.msi /qb /log C:\Logs\app_install.log

Cevap

Executing msiexec /i software.msi /qn /L*V C:\Logs\app_install.log performs a silent installation of the package while generating a verbose log file.
The msiexec command is the standard executable for managing Windows Installer packages. Passing the /i flag initiates installation, the /qn flag sets quiet mode with no user interface, and the /L*V switch turns on verbose logging output to the specified log path.

Adım Adım Çözüm

1
Identify the appropriate Windows command-line utility for interpreting .msi files.
Select msiexec.exe, which is the built-in Windows Installer engine tool.
Standard .msi software installation packages require the msiexec utility to execute installation commands.
2
Determine the required switches for installation mode and user interface level.
Use /i for package installation and /qn for quiet mode (no user interface display).
The /i parameter instructs the tool to install the application, while /qn suppresses all user dialogs and progress windows for unattended scripting.
3
Specify the logging parameter for detailed audit tracing.
Add /L*V followed by the target path C:\Logs\app_install.log.
The /L*V parameter enables verbose logging to capture all status events, parameters, and error codes during deployment.

Anahtar Kavram

Unattended MSI Application Installation and Logging via Command Line
Tahmini Süre:1m 15s
Bu soruyu puanla