silent installation with powershell

C++
$process = Start-Process msiexec -ArgumentList "/i .\YourInstaller.msi /qn /norestart /l*v install.log TRANSFORMS=C:\Your\Transform.mst" -Wait -PassThru

Source

Also in C++: