# Product Installation

This topic provides the steps necessary for installing and uninstalling the Spread for WPF product.

## Content

This topic helps you to install and uninstall Spread for WPF on your machine, as well as how to activate the product license to get full access of the product.

## Pre-Installation Instructions

* Installation/uninstallation process involves operations such as registry manipulation, so should be performed by a user with administrative privileges.
* Ensure that Microsoft Visual Studio application is closed before starting the installation or uninstallation process.

## Installation

To install Spread for WPF, follow these simple steps:

1. Download and run the **Spread.NET Installer** from the [official website](https://developer.mescius.com/).
2. In the **Spread Installer** dialog, click the **Add** button for **Spread.NET for WPF** component.
3. Select **Options**.
4. In the **General** tab, accept the default installation path or choose a different location.
    By default, *C:\\Program Files (x86)\\MESCIUS\\* is used.
5. Go to the **Mode** tab and select the desired installation mode.
    For fresh installation, it is recommended to select the **Online** mode.

>type=note
> **Note**: However, if you are installing an older version, must choose Offline mode and follow the below steps:
>
> * Download Spread components to install from the website.
> * Extract downloaded file to directory: %localappdata%\\GcInstaller\\Offline.
> * Select Offline mode in this form.
> * Reopen the web installer to install the product.

1. Close the **Options** dialog.
2. Read and accept the **End User License Agreement**.
3. Click **Install** to begin the installation.
4. Please wait while installation is in progress.
5. Once completed, click **Finish** to exit the setup wizard.

## Uninstallation

If you want to uninstall Spread for WPF from your machine, go to **Control Panel**\\**Programs**\\**Programs and Features** in Windows and uninstall **Spread for WPF [x]**. The [x] part may vary depending on the version of the product you have installed.

>type=note
> **Note**:
>
> * Before uninstalling, make sure to [deactivate the license](/spreadnet/docs/latest/online-wpf/gettingstarted/licenseactivation) using the **MESCIUS License Manager**. If you install the product on another machine without deactivating the license, the message "*<span data-teams="true">Operation Failed (4003) The license has reached the maximum concurrent activation limit</span>*" will be displayed upon activation, and you will not be able to use the product.
> * For the trial version, there is no need to deactivate the license. Just uninstall the product.
> * Files created during or after installation, or items manually added to the Visual Studio Toolbox, will not be deleted during uninstallation. You need to delete these manually, if necessary.

## Install SA3 Client

SA3 provides new client tools to manage licenses for components products. Starting from v19.0, Spread for WPF will use the SA3 Client Tool to activate or deactivate the product.

| **Tool Name** | Supported Platforms | Requirements | **How to Get** |
| --------- | ------------------- | ------------ | ---------- |
| sa3client | Windows 10/11, Linux, MacOS | .NET 6, .NET 8, .NET 10 (requires .NET SDK) | <ul><li>Run `dotnet tool install -g sa3client`</li><li>Download at [sa3client](https://www.nuget.org/packages/sa3client "https://www.nuget.org/packages/sa3client")</li></ul> |
| sa3client-ui.exe | Windows 10/11 | .NET 6, .NET 8, .NET 10 (requires .NET SDK) | <ul><li>Run sa3client one time and will be installed at `%ProgramData%\SA3`</li></ul> |
| sa3client.exe | Windows 7 | .NET Framework 4.6.2 | <ul><li>Installed at `%ProgramData%\SA3\Desktop` by installer</li></ul> |
| sa3client-ui.exe | Windows 7 | .NET Framework 4.6.2 | <ul><li>Installed at `%ProgramData%\SA3\Desktop` by installer</li></ul> |

#### Installation via Installer

The .NET Framework edition of the SA3 Client tool will be automatically installed to `%ProgramData%\SA3\Desktop` along with the Spread.NET installer.

#### Installation via NuGet.org

<span data-teams="true">The .NET edition</span> of the SA3 Client tool will be automatically installed to `%ProgramData%\SA3` along with the Spread.NET NuGet package.
You can run `sa3client --help` to view the general help, or `sa3client <command> --help` to get help for specific commands.