// PtAgentSettings.js
//
// Setting veriables determining the behavior of the
// Ericom PowerTerm WebConnect PtAgent installation
//
// The Initial Developer of the Original Code is Ericom Software Ltd.
// Portions created by Ericom Software are Copyright (C) 1993-2003 Ericom Software Ltd.
// All Rights Reserved.

// Address of the WebConnect server
// Leave as is if the WebConnect server is installed on the same computer as the Web server
// Replace with explicit address if WebConnect server is installed on a different computer
//
var server = location.hostname;

// The version of the WebConnect Agent component
// Component will only be downloaded if the online version is newer (higher version number)
// than the Agent already installed
//
var version = "5.7.1.100";

// The location of the PtAgent.zip
// Leave as is if the file is located next to this html file
//
var url = "qterm-wc.zip";

// The local directory in which to install the Agent package
//
var dest = "/opt/WebConnectPtAgent";

// Java Downloader images location (relative to html)
//
var img_path = "../../images/";

// Java Downloader log file path (relative to html)

var log_path = "";

// Java Downloader console. 
// Designates whether the console area is visible inside browser window 

var console = "false";

// Don't change this
var run = "";

// Java Downloader SUN Java Virtual Machine Archive 
// Designates executable archive name for SUN's JVM

var SUN_archive = "../../Downloader_NS6WS_Signed.jar";

// Feature to enable Java Script invocation from Java Downloader
// in order to notify about Java Downloader state changes
var call_js = "false";

// Background image for browser window

var back_img = img_path +  "Background.jpg";

var linux_parameters = " -wc-client ";

var xpi_params = "#/NOSELFUPDATE#/SHORTCUT=BOTH#/AUTOLOGIN=NO";

var parameters = " /NOSELFUPDATE /SHORTCUT=BOTH /AUTOLOGIN=NO";

// Run shell script to create AZ shortcut on the desktop
var add_parameters ="SHORTCUT_DESKTOP";

var install_parameters = "";


