# Desktop Installation

DD-STAT requires that the following items be installed:&#x20;

1. VSCode&#x20;
2. Required extensions for VSCode (see below)&#x20;
3. FDI Package IDE (see installation guide)&#x20;
4. The DD-STAT application and the DD-STAT VSCode extension&#x20;

## Install and Configure VSCode on Windows

Download and install your VSCode program using the link below. It supplies instructions for getting started using the IDE.&#x20;

* [Getting started with Visual Studio Code](https://code.visualstudio.com/docs/introvideos/basics)&#x20;

## Install Required VSCode Extensions

DD-STAT application uses two third-party extensions for VSCode to enhance user experience. These are:&#x20;

* [Microsoft live  preview](https://marketplace.visualstudio.com/items?itemName=ms-vscode.live-server) extension for viewing HTML code.&#x20;
* [EDDL](https://marketplace.visualstudio.com/items?itemName=AndreasJagiella.eddl) extension for syntax highlighting of HART of EDDL source code.&#x20;

You can install these extensions by following the [guidance here](https://code.visualstudio.com/docs/editor/extension-marketplace).&#x20;

## DD-STAT Components

The following components are supplied:

<table><thead><tr><th width="208">File</th><th>Description</th></tr></thead><tbody><tr><td>ddstat.msi  </td><td>Installer for command line automation components</td></tr><tr><td>ddstat.vsix</td><td>Visual Studio code extension component </td></tr><tr><td>EULA</td><td>End user license agreement</td></tr><tr><td>Sample_HART7</td><td>The standard HART sample configured in an EDD submission folder.</td></tr></tbody></table>

## Install the DD-STAT Application

Double-click the installer **ddstat.msi** file to install the application. &#x20;

This will install a DDSTAT folder in the C:\HCF folder alongside the HART library and other HART applications.&#x20;

## Install the DD-STAT License

DD-STAT provides a new FieldComm Group license manager, with unified license management for FieldComm Group and FDI products. This license manager is improved to allow the user to install either via a license key or a license file.&#x20;

{% hint style="info" %}
Internet access is required to activate DD-STAT.  This feature allows licenses to be automatically updated as part of a license renewal.
{% endhint %}

Launch the License Manager from the start menu. Search for the FieldComm Group folder and choose the License Manager. You will see a pop-up asking which style of license you wish to provide. DD-STAT users are issued a serial number for a license. In the drop-down select ' Enter a serial number' and paste your provided serial number into the UI.

Once you have installed the license for DD-STAT there is no need to remove it for future software updates to DD-STAT. The license should persist within the License Manager, and renewal of the license is performed via the Internet by clicking the 'Update' button next to the DD-STAT license.

<figure><img src="/files/mRhlcA9ohPaYU67QKCrP" alt=""><figcaption><p>License Manager - Enter a Serial Number</p></figcaption></figure>

## Install the DD-STAT VSCode Extension

{% hint style="info" %}
DD-STAT VS Code extension will be available in the VS Code Marketplace at a later date.  Until then, please install manually using the provided file.
{% endhint %}

Install the ddstat.vsix file as follows:&#x20;

* In VSCode, go to the Extensions View by clicking on the Extensions icon on the left-hand sidebar (the one that looks like four squares).&#x20;
* In the Extensions panel, click the More Actions button (three dots) in the top-right corner. From the dropdown, choose Install from VSIX....&#x20;
* A file dialog will open. Navigate to the location where you downloaded the .vsix file, select it, and click Open.&#x20;
* VSCode will install the extension, and once it's done, you’ll see it appear in your list of installed extensions. You might be prompted to reload VSCode for the extension to activate, so just click Reload if that happens.&#x20;

{% hint style="info" %}
After installation, this extension may recommend you install 2 additional extensions from the VS Code Marketplace.  These extensions provide a means to display html test reports and provide basic highlighting for EDD source code file.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fieldcommgroup.org/dd-stat-documentation/documentation/images-and-media.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
