The QSS script stuff is actually deprecated and should be totally removed, the workflow(s) that use it replaced, and documentation updated.
QtIFW 4.0.0 added a CLI feature.
./OpenStudioApplication-x.y-z.exe --accept-licenses --default-answer --confirm-command --root ${installDir} install