We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Web Security Agent
Barracuda Web Security Agent

Automated Deployment of Barracuda WSA

  • Last updated on

This article applies to using the Barracuda Web Security Agent (WSA) with the Barracuda Web Security Service. It is recommended to read How to Install the Barracuda WSA with the Barracuda Web Security Service before proceeding.

Automated Installation

The Barracuda WSA is designed to support automated installation processes in place in many organizations for managing software deployments. The Barracuda WSA installation program is available as an MSI or an EXE file for flexibility in deployment methods. This article explains a method for creating a self-executing zip file using free tools. You can use this file to automatically pass installation parameters to the Barracuda WSA setup program. Similar processes support MSI installation methods. Consult the documentation for your software deployment solution for details on how to use a typical MSI or EXE installation program.

Requirement for Automated Installation

You must have a file archiving utility capable of creating a self-extracting .exe file.

You must have Microsoft .NET framework installed if you choose to install the Barracuda WSA using the MSI installation method. The MSI file does not install the.NET framework for you. If you do not install the .NET framework before you begin installation with the .MSI file, a message appears prompting you to download and install the .NET framework and then install the Barracuda WSA. For Microsoft .NET Framework and Windows version compatibility, see Requirements for the Barracuda Web Security Agent With Windows.

Step 1. Set Up the Directory

To set up the installation directory:

  1. Create a directory for the setup program (For example: c:\BarracudaWSA).
  2. Copy the Barracuda WSA setup file to the directory.

Step 2. Create a setup .bat or .mst file to execute the setup program.

  1. The following tables show examples using the .exe and .msi installation files with various options, and Barracuda WSA configuration options listed in Configuration Options for the Barracuda Web Security Agent.

    The Barracuda WSA uses a Service Host URL provided on the SUPPORT tab of the Barracuda Web Security Service Manager. To find the SERVICE_URL value for the setup.bat installation file, log into the Barracuda Web Security Service Manager, select the SUPPORT tab, and retrieve the Service Host URL.

  2. Put the setup.bat file or .mst file in your setup program directory.

    Table 1. Command line examples with EXE installer

    File Type Example command (type all on one line) Comments
    .exe

    BarracudaWSASetup.exe /s /v” /qb SERVICE_MODE=1 AUTH_KEY=11111111111111  SERVICE_URL=ple1.proxy.purewire.com SERVICE_PORT=8080

    /qb:   Shows the basic web interface installation boxes.
      BarracudaWSASetup.exe /s /v” /qn /lvmo SERVICE_MODE=1

    AUTH_KEY=11111111111111

    SERVICE_URL=ple1.proxy.purewire.com SERVICE_PORT=8080

    /qn:   Doesn’t show web interface installation boxes.

    /lvmo denotes level of logging.(1)

      BarracudaWSASetup.exe /s /v” /qn SERVICE_MODE=1

    AUTH_KEY=11111111111111

    SERVICE_URL=ple1.proxy.purewire.com SERVICE_PORT=8080 USER_MODE=1
    /qn:   Doesn’t show web interface installation boxes.
    USER_MODE=1:   Doesn’t show the icon in system tray (silent operation).
      BarracudaWSASetup.exe  /v” /qn SERVICE_MODE=1

    AUTH_KEY=11111111111111

    SERVICE_URL=ple1.proxy.purewire.com SERVICE_PORT=8080
    /qn:   Doesn’t show web interface installation boxes.
    Removing /s makes the InstallShield Wizard come up and show the “preparing to install” process. The wizard closes automatically.
     

    BarracudaWSASetup.exe /s /v"/lvmo \setup.log /qn AUTH_KEY=122334455667 ALLOW_REMOVE=1 EXCEPTIONS=chrome.exe|safari.exe APPLICATIONS=explorer.exe|firefox.exe BYPASS=11.11.11.0;*.purewire.com;192.168.* ADS=1 PASSWORD=pass"

    ./lvmo sets the level of logging; this example writes a log file to the setup directory called setup.log.

    (1) Note: See Windows InstallShield (.exe) documentation for information about command line options.


    Table 2. Command line examples with MSI installer
    File type Example command (type all on one line) Comments
    .msi, used with GPO msiexec.exe /i BarracudaWSASetup.msi /qn /lvmo SERVICE_MODE=1 SERVICE_URL=ple1.proxy.purewire.com SERVICE_PORT=8080  USER_MODE=1 

    /qn:  Doesn’t show web interface installation boxes.

    USER_MODE=1:   Doesn’t show the icon in system tray (silent operation).

    /lvmo denotes level of logging.(1)

    .msi, stored in an .mst file msiexec.exe /i BarracudaWSASetup.msi TRANSFORMS="myWSAConfig.mst" /qb /qb:   Shows the basic web interface installation boxes. Put the .mst file in your setup program directory.

    (1) Note: See Windows Installer (.msi) documentation for information about command line options.

For a list of configuration options you can control from the command line, see Configuration Options for the Barracuda Web Security Agent.

Step 3. Create a Compressed File

Use Windows Explorer to create a compressed file from the setup program directory that contains the Barracuda WSA setup program and your setup.bat or setup.mst file.

Step 4. Create a Self-Extracting Archive

Use the file archive utility EXE creator to create a self-extracting file of the compressed directory.

Step 5. Deployment

The self-extracting installation program may now be distributed via login script, network share, or other means for automated installation of the Barracuda WSA.

 

Last updated on