Wiki - Deployment

Compatibility

Objective

Perform a silent, unattended or slipstream installation of QZ Tray, such as in a corporate environment.

Steps

Windows

We use NSIS (Nullsoft Scriptable Installer System) for Windows.

Linux

We use Makeself for Linux.

Mac

We can use the installer command on Mac to silently install QZ Tray via the command line. Type (or click here): man installer on the command line for more examples.

Automatic Launch

QZ Tray 2.1 automatically launches for all users after computer restart or login/logoff. For versions 2.0 and older, the user must click "Automatically Launch" in the tray icon, which may not be desired for corporate environments.

There are several methods for making an application launch automatically on various desktops, however to mimic the technique used by QZ Tray 1.9 - 2.0 is:

Windows Autolaunch

  1. First, uncheck "Automatically start" and close QZ Tray.

  2. Run the following command through a Command Prompt window. Administrative access is not required.

    reg.exe add HKCU\Software\Microsoft\Windows\CurrentVersion\Run\ /v "QZ Tray" /d "%programfiles%\QZ Tray\qz-
    tray.exe" /f
    • For white-label customers, replace QZ Tray with the name of your application, e.g. Acme Printing, etc.
  3. Re-launch QZ Tray and verify the "Automatically start" option has been reselected.

    screen shot 2017-12-18 at 12 52 33 pm

  4. To secure this change (user cannot disable) requires modifying registry permissions using regini and a separate .reg file which can have other negative side-effects and is out of scope of this tutorial.

Edit this page