How to: Install the ByteBlower GUI/CLT in unattended, quiet or non-interactive mode.
Posted by Tim De Backer, Last modified by Wouter Debie on 21 September 2018 02:50 PM

Introduction

By default, the ByteBlower GUI / ByteBlower CLT is installed interactively. When starting the installer, an installation wizard is presented to the user. By going through this wizard, settings such as the installation directory can be configured.

When a graphical environment is present on the system (e.g. Windows or a desktop version of a Linux distribution), an installer window is shown. In a non-graphical environment, the same questions are asked in the console, where the user can specify custom values.

To easily deploy the GUI application automatically across multiple devices in a controlled environment, a unattended (or non-interactive or quiet) installer is available.

Note: for a similar article about the Tcl API installer, see here.

Unattended mode

To run the installer in unattended mode, simply run the installer executable as a command and add the unattended option.

Linux ByteBlower-GUI(e.g. 64 bit):

$ ./ByteBlower-GUI-linux-x86_64-installer.run --mode unattended
(returns when finished, no output)

Linux ByteBlower-CLT(e.g. 64 bit):

$ ./ByteBlower-CLT-linux-x86_64-installer.run --mode unattended
(returns when finished, no output)

Windows ByteBlower-GUI:

> ByteBlower-GUI-windows-x86-installer.exe --mode unattended
(returns immediately, run in background, no output) 

Windows ByteBlower-CLT:

> ByteBlower-CLT-windows-x86-installer.exe --mode unattended
(returns immediately, run in background, no output)

MacOS ByteBlower-GUI (from 10.6 Snow Leopard on):

$ open ./ByteBlower-GUI-osx-installer.app --args --mode unattended
(returns when finished, no output)

MacOS ByteBlower-CLT(from 10.6 Snow Leopard on):

$ open ./ByteBlower-CLT-osx-installer.app --args --mode unattended
(returns when finished, no output)

Mac OS X (pre 10.6 Snow Leopard):

$ ./Byteblower-GUI-osx-installer.app/Content/MacOS/installbuilder.sh --mode unattended
(returns when finished, no output)

Running the unattended installation has the following effects:

  • default installation directory is used
    • Windows 32-bit: C:\Program Files\Excentis\ByteBlower
    • Windows 64-bit: C:\Program Files (x86)\Excentis\ByteBlower
    • Linux user: ~/Excentis/ByteBlower
    • Linux superuser (system-wide): /opt/Excentis/ByteBlower
    • Mac OS X: /Applications/Excentis/ByteBlower
  • default installation settings are used (e.g. desktop icon)
  • if an existing installation is found at the default directory, it is silently uninstalled!

In exactly the same way, the application can be silently uninstalled. For example for a Linux user-wide installation:

$ ~/Excentis/ByteBlower/uninstall --mode unattended
(returns when finished, no output)

Customization in unattended mode

Sometimes the default installer settings are not desirable. They can be overridden by providing additional command-line arguments to the installer.

The following arguments can be used:

  • --prefix (default the system-default): override the installation directory
  • --create_desktop_shortcut (default 1): disable or enable the desktop shortcut

For example, on a Mac OS X system (from 10.6 Snow Leopard):

$ open ./ByteBlower-GUI-osx-installer.app --args --mode unattended --prefix /opt/Excentis/ByteBlower --create_desktop_shortcut 0
(returns when finished, no output)

Note you can show all command-line options using the --help option.

(0 vote(s))
Helpful
Not helpful

Comments (0)

We to help you!