[Bug 48658] New: Fix error handling in the WineRun* scripts