Thank you for that.
I did not use the -x switch because I assumed that if the .exe created launches and runs without any error messages, then it's fine.
Anyway, I now ran pp with -x
and the problem went away. I can't see this mentioned in the bug reports you linked, so I'm guessing you know this from personal experience...?
I digged around in the .exe files generated by pp, and found that the MANIFEST files are different. Specifically, the one made with -x
contains the following entries, which are missing from the one made without -x
Obviously, this must be the explanation. I guess the lesson is to always use -x