For Vectorworks 2022, the process has changed:
1) The UserName and CompName arguments are no longer supported.
2) The installdir argument is no longer required.
3) For Windows, you no longer uncompress the install executable, but a ~4GB file called "dist" that has no file extension. I used 7-Zip to do this.