AMT Help Files

Using the AMT Application Installer

The AMT Application Installer can be used to deploy the generated application executables and support files from the source directory to the production directory of your environment. The AMT Application Installer executable (Prodinstall.exe) is situated in the AmtTools\ProdInstall directory of the AMT-COBOL environment. When started for the first time the configuration is empty. It can be filled with data by adding Gensets, Applications and directories in the Application Installer. For applications made before AMT 44, clicking the 'import settings' button will load information about all the applications, generation sets including source and production directories from the Lion.ini file. This information is then used when deploying newer versions of the executables and support files from the source directories to the production directories and saved to the AmtProdInstall.config file.

The application installer is organized in objects, i.e. Forms, Programs, SubPrograms, etc. An object may therefore contain multiple files and when an object is selected for copying to the production folders all the files in that object will be selected for copying.

  • The application installer is also capable of deploying the AmtTools folder to folders on servers that will run e.g. the Control Center and or Application Center.
  • The application installer is capable of deploying any (extra) folder to one or more folders of your own choosing.

Deploying the application


If the application was made pre AMT44, data can also be read from the lion.ini file by clicking the 'import settings' button. 
Modifications to the configuration can also be manually made by changing the config file in any text editor.
An example of a configuration can be found in the sample_AmtProdInstall.config file also located in the AmtTools\Prodinstall directory.

 

Deploying scripts



To deploy the scripts from your application, the tab 'Script' should be set to the correct folders. 
When the Source Directory and the Target folders have been set, the Scripts will be visible as tab and be deployed to the Target folders in the same manner as the other application objects.



In the Source Directory field one folder containing your scripts can be added that should be deployed. Then you can add as many folders on different servers you have access to as needed to copy the scripts to as target folders. Script files that should not be deployed can be added to the 'Skip files' field by entering their filenames, separated by a semi-colon (;).


Deploying the AMT Tools



When the Copy Amt Tools checkbox has been checked and the AMT Tools tab has been selected the dialog below will be shown. This enables you to deploy the AMT Tools to the servers that will run the Control Center, Application Center an the various system services. When the Source Folder and the Target folders have been set, the Amt Tools will be deployed to the Target folders when the Synchronize all button is clicked alongside the deployment of the selected application.



In the Source Folder Pane the folder containing the original Amt Tools should be entered. And in the Target folders pane you can add as many folders on different servers you have access to as needed to copy the Amt Tools to.


Deploying Extra Folders



When the Copy extra folders checkbox has been checked and the Extra Folder has been selected the dialog below will be shown. This enables you to deploy any folders of your own selection to one or more target folders. When the Synchronize all button is clicked all the Source folder shown in the list will be copied to the Target folders alongside the deployment of the selected application.



In the Source folders pane one or more folders can be added that should be deployed. Then for each source folder in the list one or more target folders can be added in the Target folders pane.