Search This Blog

PowerShell: execute a .msi installer

$MSI=AppInst.msi
$LOG=AppInst.log
$MSIArguments = @(
    "/i"
    $MSI
    "/qn"
    "/norestart"
    "/L*v"
    $LOG
)

Start-Process "msiexec.exe" -ArgumentList $MSIArguments -Wait -NoNewWindow



see also

No comments:

Post a Comment