> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/install.md).

# Install or upgrade DATRAN VI

Install DATRAN VI on a new server or upgrade an existing one, choose the components, set the service account, and plan Windows updates.

The installation process is a simple and reliable process built using a standard Windows installer package. Please log in to the Software Maintenance Agreement (SMA) holder section of the QTech website to download this software. The DATRAN VI Server installation can be used for installing a DATRAN VI Server from scratch, upgrading the currently installed DATRAN VI Server from a previously installed version, and modifying the components installed in an existing DATRAN VI Server.

{% hint style="info" %}
**Applies to:** DATRAN VI. Upgrading to V6.78? Read [Upgrade to DATRAN VI V6.78](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/install/upgrade-to-v6-78.md) first.
{% endhint %}

## Before you start

* **Read the release notice.** There are many new features and enhancements which are defined in the Release Notes documentation. Please forward a copy of the release notice to your IT/IS Supervisor. See [Release notes](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/release-notes.md).
* **If your current installation is older than v6.52,** please contact us as there are additional tasks required to perform the migration.
* **It is important that any sites that have RTUs with firmware older than v7.0 do not have any point count values of 255.** If they do, then either disable the site, upgrade the firmware, or set the point count value to 254.
* **Back up** the TBD files, any SQL database data files, any DLP/ASM files, and any HMI configuration files for GUI applications such as InTouch or DATRANVue. See [Backup, restart and disaster recovery](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/backup-and-restart.md).
* **Close the client programs.** The installation package attempts to close all DATRAN user interface applications and stop all DATRAN services before installing the new version of DATRAN. Occasionally it is not possible to do this automatically and the installation will require a reboot on completion. This can be avoided by manually stopping any connected user interface components such as DATRAN Console, DATRAN Diagnostics and DATRAN Browser before proceeding with the installation. If a reboot is required, any current alarms will be re-paged and or re-texted after the reboot.
* **Upgrade the related software** too. It is recommended to update all related available DATRAN VI Software when updating DATRAN VI.

QTech’s Technical Support Team are happy to work with your IT department to ensure a clean installation, please contact us with your requirements. Email <techsupport@qtech.co.nz>.

### Prerequisites for a new installation

| Prerequisite                                               | Needed for                                                                                                                                                                                                                                                                             |
| ---------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| .NET 4.8                                                   | Required for the latest updates of DATRAN VI as well as associated Runtime Applications.                                                                                                                                                                                               |
| Microsoft Database Access Component (MDAC) v2.6 or greater | ADODCM, the database connectivity module, requires it to be installed beforehand. Please contact our Tech Support team for a copy of the software (if required).                                                                                                                       |
| Wonderware InTouch                                         | The Suitelinks user interface connectivity module requires Wonderware InTouch to be installed beforehand. Please keep in mind that SuiteLinks are associated with older Wonderware Software and for the newer Wonderware Software, the DATRAN OPC-UA Server/Client Module is required. |

## Server or client installation

| Installation     | Use it on | What it contains                                                                                                                                                                                                                                   |
| ---------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| DATRAN VI Server |           | This screen allows you to choose which DATRAN components will be installed.                                                                                                                                                                        |
| DATRAN VI Client |           | A DATRAN VI Browser, and may also include some DATRAN VI Services running locally. A DATRAN VI Client requires that there is a DATRAN VI Server installed elsewhere on the network as it will share the Treebase Database on the DATRAN VI Server. |

## Run the installer

1. **Software License Agreement:** Read through the license agreement and click on the **I accept the agreement** radio button. Click **Next**.
2. **Select Destination Location:** This screen allows you to change where DATRAN will be installed. By default, it is installed in `C:\Program Files(x86)\DATRAN`. Note: If you are upgrading an existing version of DATRAN then this location cannot be changed. Click **Next**.
3. **Select Components:** This screen allows you to choose which DATRAN components will be installed. If you are performing an upgrade, then the currently installed components will already be ticked. If you are adding or removing components the list represents the components you wish to be part of your DATRAN system. Click **Next**.

   ![The Select Components page of the DATRAN Server installer](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FCkhUgfBwc3vq0lOHsdgh%2Fdatran-vi-installer-select-components.jpg?alt=media)
4. **Account Configuration:** DatranService is the name of the user account that is created for all DATRAN Services installed on the computer. Some networks have a constraint whereby the password needs to be more complex (e.g. include numerics or symbols). This screen allows you to change (for upgrades) or set the password used for this account. Click **Next**.
5. **Select Start Menu Folder:** This screen allows you to change where the DATRAN icons appear in the Start menu. By default, they are installed in the DATRAN VI Folder. Click **Next**.
6. **Select Additional Tasks:** If you would like a desktop icon, then ensure the **Create a desktop icon** box is ticked. When DATRAN installation is complete it will restart all of the DATRAN services. If you are installing on a DATRAN fail over or backup server then you should ensure that the **Start DATRAN Services after install** is not ticked. Click **Next**.

   ![The Select Additional Tasks page, with the desktop icon and Start DATRAN Services after install options](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FZqVqoTIH1Wcdc9FX6xc4%2Fdatran-vi-installer-additional-tasks.jpg?alt=media)
7. **Ready to Install:** This screen shows you a summary of the components that will be installed. Click back to change your settings or Click **Install** to continue. Installation should complete within a minute. Click **Finish**.

## After installing

1. **License new components.** If you have installed a fresh installation of DATRAN or installed any new components during your DATRAN upgrade, then these components will require a license key to be installed in order to activate them. Unlicensed components are detected when DATRAN Browser is started, and a message box is displayed. See [Licensing](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/licensing.md).
2. **Check the service start order.** It is recommended that DATRAN Services are started after SQL Server has restarted. See [Start the services in the right order](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/backup-and-restart.md#start-the-services-in-the-right-order).
3. **Check the service account.** The Datran Server Account (e.g. DatranService) which is used to install Datran must have ACL privileges (read/write) to access the persistent queue folders and subfolders. For systems with the DATRAN and SQL server located on separate machines and using a domain controller, create an account for DATRAN with domain privileges and access to SQL Server. XDI needs internet access: on installation it is installed the same as the other services with a logon username of .\DatranService, a local user that will not have internet access. It needs to be changed from Control Panel, Services to a domain user that does have access. See [Text replies don't reach DATRAN](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/troubleshooting/text-replies-not-received.md).
4. **Check that data is logging.** Ensure that Data from the Out Stations are being written to MSSQL with no errors. See [Backup, restart and disaster recovery](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/backup-and-restart.md#after-a-restart-check-it-is-working).

## Other DATRAN software

There are various additional supporting and demonstration software that can be utilised in conjunction with the DATRAN VI Server/Client installations. These include the following QTech software:

* DATRAN Trending
* [DATRAN Supervisor](https://help.qtech.co.nz/datran/datran-vi-scada/datran-supervisor/install.md)
* DATRAN Reporting
* DATRANVue
* DATRANVue Designer (recommend running on a separate PC)
* DATRAN DLP\_IDE (recommend running on a separate PC)

For installation of any of these packages refer to their own user guides.

## Windows updates and SQL Server changes

When an update of DATRAN VI software is released, it provides a cumulative update of one or more DATRAN Services. It is tested with a system which is up to date with the latest relevant Windows patches at that time. In most systems, DATRAN VI software works in conjunction with MS SQL Server, which is not a QTech product. Should changes be made to the SQL Server on site you must consider the impact on DATRAN VI (and vice versa). Currently we test with the 2019 edition of MS SQL Server and we suggest that if the customer upgrades SQL server, they check in with us.

The following is highly recommended:

* Take note when Windows/Service updates are done (especially ones which are sometimes done in the background) i.e. changes to Security (domain) policies has an impact on how operators access critical data from the SCADA Software and these are often done automatically.
* It is recommended that the computer/s or virtual machine/s running the DATRAN services and/or SQL server have automatic restarts and automatic updates disabled, as this can cause DATRAN services to start out of order which can affect connectivity with the SQL server. See [Backup, restart and disaster recovery](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/backup-and-restart.md).
* Ensure that hardware in the field is also kept up to date with the latest hardware and firmware versions. Not only does this ensure that the end hardware has all the latest features and updates available for the end client to stay up to date with the latest standards, but it also ensures that equipment is on par with software updates at the base station.
* **Make changes Monday to Thursday.** Upgrades to Server hardware and/or software should be done between Monday - Thursday, preferably in the mornings. The golden rule of thumb is to never do any changes on either Fridays, just before public holidays or over the Christmas Period.

If you need more information or want to discuss upgrade paths, please [get in touch](mailto:sales@qtech.co.nz).
