http://bugs.winehq.org/show_bug.cgi?id=8945
--- Comment #24 from Jeremy White jwhite@codeweavers.com 2008-02-07 14:53:12 --- I now understand the exit code 4 behavior on Windows; sadly, it does not explain the failure in Wine.
That is, c:\program files\common files\adobe\caps\caps.db is a sqllite3 database. The installer will set a few values into the tables that are clearly needed, and removes them when you cancel the installer.
So the 'child' setup.exe fails on Windows because the test method didn't backup + restore caps.db. If I change that, the exit code 4 goes away.
Unfortunately, the caps.db created by Wine appears to be correct, so this is not the same failure.
It may suggest a point of attack, but it's not as interesting as I first hoped.