I was seeing this problem with 2022 as well. I found that enabling "Run installation and uninstall program as 32-bit process on 64-bit clients" is another workaround.
Keep in mind if you're copying "LoginDialog.xml" to Program Files, this will cause it to be redirected to Program Files (x86). To fix that, use the environmental variable %ProgramW6432%.
It's been 3+ years but here's to hoping the Vectorworks devs fix this some day.