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?
- msiexec /i software.msi /qn /L*V C:\Logs\app_install.logAnswer
- Bdism /online /add-package /packagepath:software.msi /quiet /logfile:C:\Logs\app_install.log
- Csfc /scannow /i software.msi /offlogfile=C:\Logs\app_install.log
- Dmsiexec /x software.msi /qb /log C:\Logs\app_install.log
Answer
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.
Step-by-Step Solution
Key Concept
Unattended MSI Application Installation and Logging via Command Line
Estimated Time:1m 15s