A systems administrator is configuring an automated script to silently deploy a critical line-of-business application distributed as an `.msi` package to multiple Windows 11 Enterprise workstations. The corporate deployment policy requires that the installer run completely unattended without displaying a user interface, log all detailed installation events to `C:\Logs\app_deploy.log`, prevent an automatic system restart upon completion, and apply a custom installation transform file named `corporate_defaults.mst`. Which of the following command-line executions correctly fulfills all of these requirements?
- msiexec.exe /i "AppPackage.msi" /qn /norestart /L*V "C:\Logs\app_deploy.log" TRANSFORMS="corporate_defaults.mst"Answer
- Bmsiexec.exe /x "AppPackage.msi" /q /suppressreboot /log "C:\Logs\app_deploy.log" /mst "corporate_defaults.mst"
- Cmsiexec.exe /i "AppPackage.msi" /qb /promptrestart /L "C:\Logs\app_deploy.log" MST="corporate_defaults.mst"
- Dsetup.exe /silent /norestart /logfile="C:\Logs\app_deploy.log" /transform="corporate_defaults.mst"
Answer
The command string `msiexec.exe /i "AppPackage.msi" /qn /norestart /L*V "C:\Logs\app_deploy.log" TRANSFORMS="corporate_defaults.mst"` correctly performs a unattended installation of an `.msi` file while adhering to all logging, restart suppression, and transform configuration requirements.
The correct command utilizes standard Windows Installer (`msiexec.exe`) syntax options: `/i` specifies installation of the target `.msi` file; `/qn` sets the UI level to 'No UI' (completely silent); `/norestart` suppresses automatic system restarts; `/L*V` enables verbose logging to capture all status and error messages into the designated log file path; and `TRANSFORMS=` passes the path to the custom `.mst` configuration file.
Step-by-Step Solution
Key Concept
Windows Installer (`msiexec.exe`) Command-Line Switches for Unattended App Deployment