AMT Help Files

Updating AMT Software

 While Avanade makes every effort to ensure the quality of the updates provided, our internal regression testing cannot always cover specifics to your own environment's setup.
In order to ensure the correct functioning of your production environment, we recommend creating a backup of the entire AMT installation and applying an update to a separate or actual standalone development or test environment before applying an update to your production environment.

 

AMT Update Releases

The regular release schedule for AMT software updates is every 3 weeks.

AMT software releases are numbered incrementally (AMT99, AMT100, AMT101, etc.) and their respective update files' naming convention, as illustrated below, start with AMT_, followed by the version number, and have the .dat file extension.
In rare cases, a fix to a release will be available that can be recognized by the postfix Fix_# in its filename.

Release Name:  AMT101
Filename:  AMT_101.dat
Filename Fix:  AMT_101_Fix_1.dat

 

Preparation

 

 It is important to first unregister the old ComScript module when updating the AMT software and then register the new version (except when all your scripts are PowerShell scripts). 
 It is also advised to make backup copies of the appsettings.json files of Control Center website (both Web Client and Business Logic side) and of the Application Center. This makes it easier to retrieve any changes made to these files and incorporate these into the new appsettings.json files.

 

Installation

  1. Copy the downloaded Setup.exe and the .dat update file into the Setup directory (the ..\<AMT_Environment>\Setup directory).
  2. After the files have been copied into the Setup directory, run Setup.exe. Setup will first attempt to detect an already installed AMT environment in its directory. The setup log will state "Ready to update Lion" after detection has completed. Select the Upgrade button at the bottom of this window to start the installation.

     
  3. The setup log will state "Update completed OK" and lists the currently installed version when setup has finished successfully.

     
  4. After the update has completed we need to renew the IIS Mappings of the installation by navigating to File > Settings. The window shown in the following image will open.


  5. Check whether the presented IIS Manager mappings settings that will be used are correct. Note: The options Use single application pool and Configure applications are only to be used in simple development environments where Prodinstall.exe is not used.
    • Use single application pool: When checked, all web applications will use a single application pool. The application pools can be selected from the drop down menu. However, this is not advised in a production environment. When one application fails, all other applications using the same pool will fail also.
    • Configure applications: When checked, all selected web applications will be configured inside the IIS Manager. This will only work for development environments where Prodinstall.exe is not used and the applications are directly generated into the Apps directory.

    If this AMT environment needs to make use of the HTTPS protocol for communications to the AMT web applications (AMT Control Center, AMT Application Center, etc.), the full domain name of the server that will host the AMT web applications should be entered as Root URL prefixed by https. For example: https://amt.example.com/ or https://amtweb.contoso.local/.

     Enabling the Https checkbox will configure the web.config files of the AMT web applications correctly for use with HTTPS. However, enabling HTTPS for the IIS Manager web application must be performed manually in addition to setting the correct bindings and adding a valid certificate.

  6. When everything has been configured, select Ok. A prompt will ask you if all the web.config files should be configured. Select Yes.


    After selecting Yes, a second pop up will appear asking if the IIS environment should also be configured. Select Yes.


    After selecting Yes, the progress of configuring the IIS Manager will be shown in the general logging tab.


  7. When the Sync repository button has been enabled (not greyed out) it is necessary to reorganize the repository by clicking this button.
  8. Click Ok to close Setup.

 

Although setup has completed, several more steps are necessary to finalize installing the update.

 

Final Steps

  1. Firstly, reorganize the system database by starting the AmtReorganize.exe found in the ..\<AMT_Environment>\AmtTools\Reorganize directory. Select System as the database to reorganize.
  2. Start the AMT Developer Studio program by running LionDev.exe and start the Generator Service.
    1. Select the button Whole system to generate all applications.
    2. When the whole system generation has completed, the application installer will have to be used to install your application on the production environment.
    3. Reorganize all application databases.

  3. Compare the existing configuration and configuration files with the default/sample or backed up versions to ensure that new or removed sections are reflected in the used configuration and setting files. For example, the web.config files of the web applications or the AmtTools Prodinstall and Reorganize Service configuration files.
  4. Start the application pools for the web application or start the IIS Manager server if it was stopped.
  5. Re-register the AMT COM services if necessary (AMT Com Module and/or AMT ComScript Module).
  6. Finally, start all AMT services. The updated AMT environment is now ready for use.

 

Downgrading


It is possible to downgrade to an older release when an older file version is present in the Setup directory. Note: Setup will install the newest version available in the Setup directory. It is therefore required to move or delete files with versions newer than the version you wish to downgrade to.

To begin, start the Setup by running Setup.exe. The latest version found in the Setup directory (..\<AMT_Environment>\Setup) will be installed. Select the Downgrade button to start the process.

 

AMT component versions

To verify the versions of all AMT component libraries and executables, navigate to the menu File > Versions of the Setup tool.

 

This window shows all the libraries and executables under the directories of their components.

In case a fix has been applied to the AMT environment, the updated component will display a higher version than the rest of the components.
The parent node will show the highest version of the items below it.