ExMeX Framework Upgrade Guide
Overview
This guide outlines the steps to upgrade the ExMeX Framework to a new version. Follow the instructions carefully to ensure a smooth upgrade process.
Important Notes
- The
-ConnectionNameparameter should match the name of the.jsonfile you created in Step 3 (e.g.,myConnection.json). - Always back up your configuration and database before proceeding with the upgrade to avoid any potential data loss.
Step-by-Step Upgrade Instructions
-
Download the Update Package
First, download the latest version of the ExMeX Framework from the official download link:
-
Extract the Package
Once the file is downloaded, extract it into the root directory of your ExMeX Framework installation.
-
Configure the SQL Server Connection
- Navigate to the extracted files and copy the default SQL Server connection configuration file
etc/config/SqlServerConnection.orig.json. - Rename this file to
etc/config/myConnection.jsonor any other name that suits your setup.
- Navigate to the extracted files and copy the default SQL Server connection configuration file
-
Update the Connection Configuration
Open the newly created
etc/config/myConnection.jsonfile and update the connection details to match your SQL Server configuration. Ensure the following parameters are correctly set:- Server Name and Port
- Database Name
- Authentication Details
This configuration will allow the update script to connect to your SQL Server instance.
-
Run the Update Script in PowerShell
Open PowerShell (pwsh) and navigate to the root folder of the ExMeX Framework. From this directory, execute the following command to initiate the upgrade:
./UpdateExmexFramework.ps1 -ConnectionName myConnection -ReleaseVersion 3.2.0 -Database myExMeXDatabase-ConnectionName myConnectionrefers to the name of the connection profile you created in Step 3 (myConnection.json).-ReleaseVersion 3.2.0specifies the new version you're upgrading to.- 3 is the MAJOR version
- 2 is the MINOR version
- 0 is the PATCH version
-Database myExMeXDatabaseis the name of your ExMeX Framework database.
-
Additional Help
If you need more information or assistance with the upgrade script, you can access the help options by running the following command:
./UpdateExmexFramework.ps1 -Help
By following these steps, you will successfully upgrade your ExMeX Framework to the latest version!