Soru

Zorluk: ZorApplication Installation and Configuration Concepts

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?

  1. msiexec.exe /i "AppPackage.msi" /qn /norestart /L*V "C:\Logs\app_deploy.log" TRANSFORMS="corporate_defaults.mst"Cevap
  2. B
    msiexec.exe /x "AppPackage.msi" /q /suppressreboot /log "C:\Logs\app_deploy.log" /mst "corporate_defaults.mst"
  3. C
    msiexec.exe /i "AppPackage.msi" /qb /promptrestart /L "C:\Logs\app_deploy.log" MST="corporate_defaults.mst"
  4. D
    setup.exe /silent /norestart /logfile="C:\Logs\app_deploy.log" /transform="corporate_defaults.mst"

Cevap

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.

Adım Adım Çözüm

1
Identify the executable tool required for Windows Installer (.msi) packages
`msiexec.exe` with the `/i` switch is required to initiate an installation.
Standard `.msi` installation packages rely on the native Windows Installer engine.
2
Determine the parameter for unattended (silent) execution
The `/qn` switch sets the user interface level to 'No UI'.
Corporate unattended scripts require zero user interaction and no modal pop-ups.
3
Identify parameters for verbose logging, reboot suppression, and modification transforms
`/L*V` generates verbose logs, `/norestart` prevents automated reboot, and `TRANSFORMS="file.mst"` passes custom property values.
These exact switch definitions match official CompTIA A+ command-line syntax standards for `msiexec`.

Anahtar Kavram

Windows Installer (`msiexec.exe`) Command-Line Switches for Unattended App Deployment
Bu soruyu puanla