Oh yes you are right. I just tried running a script from shell.
So the culprit is "Installation Utility" which runs the Python script through PyRun_SimpleFile() (
doc here).
Anyway, I'll try urllib.
Edit: well it's only half of the truth.
If I run the installation script below, the "wait 5" works as expected but "wait 10" doesn't.
import os
os.system("wait 5")
def downloadPage(page):
os.system("wait 10")
return True
---SNIP---
processingPage1 = NewPage(PROCESSING)
SetString(processingPage1, "message", "some text")
SetObject(processingPage1, "processor", downloadPage)