$filename=$args[0] write-host $filename $windowsInstaller = New-Object -ComObject WindowsInstaller.Installer $SummaryInfo = $windowsInstaller.SummaryInformation("$filename",1) $SummaryInfo.Persist() [System.Runtime.Interopservices.Marshal]::ReleaseComObject($windowsInstaller)| Out-Null