Windows Install script fails due to long pathname

I’m running OH3 on a Intel NUC platform with Windows 10 Pro and Zulu JRE 11 (32-bit version). Although I have patched registry for Windows to use long pathname the install script update.ps1 fails due to exactly this issue.
There’s a PR on Githubhttps://github.com/openhab/openhab-distro/pull/1353 describing a patch for the backup.ps1 script which has the same problem and I have tested this successfully.
However for updating (e.g. milestones) there seems to be no solution currently - or does anybody know a way to teach Win 10 Pro to support long pathname?