https://bugs.winehq.org/show_bug.cgi?id=46638
--- Comment #6 from Hans Leidekker hans@meelstraat.net --- Created attachment 63565 --> https://bugs.winehq.org/attachment.cgi?id=63565 patch
Here's a patch that moves cache initialization to ACTION_PerformAction, i.e. the first opportunity before ACTION_HandleStandardAction disables redirection.
It looks somewhat out of place here but we can't do it any earlier. Some installers drive the install sequence themselves via MsiDoAction.