Maybe?
 Code:
$test = $oUIResource.ExecuteProgram ('"' + $fullnameprog + '"',$packidprog)