
I have "RequestExecutionLevel admin" at the top of my script, and have also added ClearErrors and SetErrorLevel 0 at the end of the only section in the stub script. The problem still occurs.
It's similar to the problem described here, only a different error.
If I run the main installer (which also has RequestExecutionLevel in it) directly without the Stub, the error does not occur, which leads me to believe it's a problem with the silent install.
Any help would be greatly appreciated, as this problem is driving me nuts.