Install/Uninstall >

 

Installation Settings File

 

 

A feature of our installation is to set custom configuration settings using an XML file. At install, add the parameter SETTINGS_FILE=settings_file.xml.

The content of the file should have the minimum of the below values.

 

<?xml version="1.0" encoding="UTF-8"?>

<registry>

          <product name="Pragma TelnetServer"/>

          <k name="HKEY_LOCAL_MACHINE">

                    <k name="SOFTWARE">

                              <k name="PragmaSystems">

                                        <k name="TelnetD">

                                        </k>

                              </k>

                    </k>

          </k>

</registry>

 

Each feature in the configuration is a string value in the registry. For each setting that needs to be changed from the default value it should be added to the file as a v tag with name and value attributes. For example to change the greeting message add the line <v name="GreeetingMessage" value="New Greeting Message" />.

View our default settings file at Default Settings File. Feel free to copy and paste the contents to an installation file and make changes as necessary.

Special Values

The XML is allowed certain values that will be translated at the time of installation so that a file can be used for multiple installations.

$(PragmaInstallDir)- This is installation directory of the product. It can be set in the silent install as a parameter to the executable using the INSTALLDIR=directory. This is helpful for setting log file directories. It is set in the default XML for help file locations.

$(InstallDomain)- This is the domain of the current installation. The install queries for the current domain of the machine and will replace this value with the returned domain.

$(ComputerName) - This is the name of the machine getting installed. This value will be replaced with the actual computer name.

Valid values are defined in Settings File Values.

InetD Settings

The default XML does not include settings for the InetD settings, because it is not recommended to change the default values, but it can be added such as for adding a registration key.

Add the following section to the XML to include Pragma InetD changes.

          

<k name="HKEY_LOCAL_MACHINE">

          <k name="SOFTWARE">

                    <k name="PragmaSystems">

                              <k name="InetD">

                                        <v name="Registration" value="registration_key" />

                              </k>

                    </k>

          </k>

</k>

 

 

Copyright © 2023 Pragma Systems Inc