# This file is managed by chef.
# Wowza Streaming Engine 4 silent install
# Windows usage: <installer filename> --optionfile <path\to\wse4.opt>
# Linux usage: sudo <installer filename> --optionfile <path/to/wse4.opt>
# OS X usage: sudo <installer bundle>.app/Contents/MacOS/installbuilder.sh --optionfile <path/to/wse4.opt>
mode=unattended

# The silent install key is mandatory and is provided by Wowza Media Systems.
silentInstallKey=<%= node['wowza']['aws']['silentInstallKey'] %>

# The prefix entry is mandatory for Windows. It is ignored for Linux and OS X.
# Change it to the folder where you want to install the Wowza Streaming Engine software.
prefix=C:\Program Files32\Wowza Media Systems\Wowza Streaming Engine

# Set verbose logging
debuglevel=4

# The license key supplied by Wowza Media Systems. This must be a 4.x key for Wowza Streaming Engine software to work properly.
licensekey=<%= node['wowza']['aws']['LicenseKey'] %>

# User Name for the Admin account being created. The username can only contain alphanumeric, at sign (@), period (.), and underscore (_) characters.
username=<%= node['wowza']['aws']['webusername'] %>

# Password for the admin account being created. The password can only contain alphanumeric, at sign (@), period (.), underscore (_), and hyphen (-) characters.
password=<%= node['wowza']['aws']['webpassword'] %>

# Select the Wowza media server software version to be active and usable.
#
# newVersion - set up the system to use the version being installed and stop/disable
#              the services for the previous version
#
# prevVersion - install the new version, including the services, but don't set the
#              environment variables, don't start the services, and change the configuration of
#              the previous version
#
# If there is not already a version of either Wowza Streaming Engine or Wowza Media
# Server software installed on the system, this parameter is ignored.
activeVersion=newVersion

# Select whether to automatically start the services at the end of the installation
# and on subsequent restarts.
#
# 0 - don't start the services
#
# 1 - start services.
#
# If there is a previous version of Wowza Streaming Engine or Wowza Media Server software installed and activeVersion is set
# to 'prevVersion', this parameter is ignored.
startService=1