As Richard pointed out earlier:
 Code:
$test = $oUIResource.ExecuteProgram ($fullnameprog, $packidprog, Not 0)


Although your first MS link points out in C# code that it should be "0" instead of "Not 0". But try both, I'd prefer to use just 0.


Edited by apronk (2010-09-20 09:53 PM)
Edit Reason: Added stuff