$ sudo installer -pkg ~/Downloads/qz-tray-x.x.x.pkg -target /
installer: Package name is qz-tray-2.0.0-RC2
installer: Upgrading at base path /
installer: The upgrade failed (The Installer encountered an error that caused the installation
to fail. Contact the software manufacturer for assistance.)
This bug report has been migrated to https://github.com/qzind/tray/issues/11.
When running the silent installer on Mac, it occasionally fails with the following message:
Per https://qz.io/wiki/Deployment#mac
Related: http://stackoverflow.com/questions/10739850/osx-installer-fails-when-run-from-command-line