I'm using the following code for installing msi's, e.g.:

$msi = @('D:\Temp\Pscx-3.2.0.msi', 'D:\Temp\notep.msi')
foreach ($msifile in $msi)
{
    Start-Process -FilePath "$env:systemroot\system32\msiexec.exe" 
-ArgumentList "/i `"$msifile`" /qn /passive" -Wait
}

Stavros

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a7536446-d113-4e6e-b54c-f6b6ed57bb38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to