BarTender silent installation Follow

Avatar
Jasper Wen

BarTender Content Team


Overview

You can automate the installation process of the BarTender suite by running the BarTender installer with various Windows command parameters.

Using command line parameters like the ones seen below, scripts can be built to install components of the BarTender Application Suite.

For more information on silent installs please review the following:

Example Installation Scripts

These are just some of the options available when using the silent install option.

To perform a silent installation of the BarTender Suite, excluding Print Portal:
setup.exe FEATURE=BarTender
To install and activate the BarTender Suite, excluding Print Portal:
setup.exe FEATURE=BarTender PKC=xxxx-xxxx-xxxx-xxxx
To install BarTender to an alternative installation directory, C:\My BarTender Software:
setup.exe FEATURE=BarTender INSTALLDIR="C:\My BarTender Software"
To perform a silent uninstall of BarTender:
setup.exe REMOVE=ALL

Overview

You can automate the installation process of the BarTender suite by running the BarTender installer with various Windows command parameters.

Using command line parameters like the ones seen below, scripts can be built to install components of the BarTender Application Suite.

For more information on silent installs please review the following:

Example Installation Scripts

These are just some of the options available when using the silent install option.

To perform a silent installation of the BarTender Suite, including all Companion Applications:
setup.exe /s /v"/qn"
To install the BarTender Suite and activate the software:
setup.exe /s /v"/qn PKC=xxxx-xxxx-xxxx-xxxx"
To install BarTender and Print Station to an alternative install directory, C:\My BarTender Software:
setup.exe /s /v"/qn ADDLOCAL=BarTender,PrintStation INSTALLDIR=\"C:\My BarTender Software""

 

Note: The command SLS_PRIMARY does not function in BarTender 2016 and may cause your script to fail. This issue was fixed in BarTender 2019.

The SLS_PRIMARY key is used to set the Seagull License Server (SLS) addressing information in a Silent Install. However, since this key is broken, you can instead use a licensing file written by the System Service and copy it to new installs. This information is stored in C:\ProgramData\Seagull\BarTender\BTLM.ini

First, you'll want to create a BTLM.ini file with all the SLS information filled out in the proper fields. To do this, please do the following:

  1. Install one BarTender client using the installation wizard. Activate the software and connect it to the Seagull License Server on your network.
  2. Stop the BarTender System Service in the Windows Services list.
  3. Navigate to C:\ProgramData\Seagull\BarTender and copy BTLM.ini to a location you can access  for the silent installs.
  4. Start the BarTender System service.

Now that you have a BTLM.ini file, proceed with the silent installs for the clients. Do not include the SLS_PRIMARY key as it may cause the script to fail. Ensure that you are activating the software during the install as well.

You can do the following in a batch script or some equivalent script of your choosing to set the SLS information without any user interaction. Here's what you need to accomplish:

  1. Stop the BarTender System service
  2. Copy the BTLM.ini from your shared location to C:\ProgramData\Seagull\BarTender\ and replace the file there.
  3. Start the BarTender System Service.

Do you have feedback or questions on this article? We encourage you to post them on our Community Forums