# Trust1Connector removal

## Windows

The installer for the Trust1Connector in windows leverages the MSI packaging system. This means that an application can be managed by the windows system.

The uninstall process will remove the Trust1Connector in its entirity. But will run first a migration function that will store some data that can be used across multiple versions.

Uninstalling such application can be done in multiple ways

### Command line

First go to the location of where the MSI file is located and then execute (dont forget to change the filename to the name you have on your system.

```
msiexec.exe /x "trust1connector_x64.msi"
```

### Settings window

Via the windows settings menu you can find the installed applications and search for the Trust1Connector.

![](https://1926565183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLX88XmbsIgpRg1jYeAc8%2Fuploads%2FnDkagNGn4ewP169VMRWp%2Fimage.png?alt=media\&token=c7de5a2e-f773-4232-8a6e-dab6713ed1be)

Click on the 3 dots (windows 11) or on the application and choose uninstall.

![](https://1926565183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLX88XmbsIgpRg1jYeAc8%2Fuploads%2FO2efOB3bchOPrrc2Lvn0%2Fimage.png?alt=media\&token=d60bc7bf-22fd-42fb-9402-045f80b19cea)

This will spawn the same flow as you would have when you double click the MSI file and clikc on the uninstall button.

### MSI file

Via the MSI file you can double click the file and it will spawn a window asking to repair or remove. Here you can opt to remove the application

![](https://1926565183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLX88XmbsIgpRg1jYeAc8%2Fuploads%2FbTL8eh78Wqp1sHEcpcQM%2Fimage.png?alt=media\&token=327f46cf-277c-4e7e-9c94-780792f76ef0)

## MacOS

The uninstall process will remove the Trust1Connector in its entirity. But will run first a migration function that will store some data that can be used across multiple versions.

In MacOS you can remove the Trust1Connector in 2 ways;

### Terminal

First of all open a terminal window

![](https://1926565183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLX88XmbsIgpRg1jYeAc8%2Fuploads%2FvB3DndjwWjYh6rsYxXpM%2Fimage.png?alt=media\&token=52a2399b-4fdf-4f94-9530-3d8e4123315b)

When that has opened you need to change your current directory to the installed location of the Trust1Connector. This is located in your home library and using the command below you will go there;

```
cd ~/Library/Application\ Support/Trust1Team/Trust1Connector/
```

now you are in the folder and can run the uninstall script

```
./uninstall.sh
```

This will output something similar to this, after this you can close the terminal and the Trust1Connector is uninstalled.

```
Uninstalling Trust1Connector
version: 3.6.0
 module: trust1team_launch
  May 24 13:16:04.627 INFO Operating system: macos
  May 24 13:16:04.627 INFO Installation folder: "/Users/gilles/Library/Application Support/Trust1Team/Trust1Connector"
  May 24 13:16:04.627 INFO Starting migration
 module: trust1team_launch::commons
  May 24 13:16:04.627 INFO Migrate Trust1Connector Common
  May 24 13:16:04.627 INFO Stop service Common
  May 24 13:16:04.627 INFO Stop service Common
  May 24 13:16:04.631 INFO No file exchange configuration found; No such file or directory (os error 2)
 module: trust1team_launch
  May 24 13:16:04.631 INFO Launcher ended successfully
The application is not part of the firewall 
The application is not part of the firewall 
The application is not part of the firewall 
Uninstall Trust1Connector Completed with status OK
```

### Uninstall application

Like the Windows counter variant we have a way to uninstall without a command line. In MacOS this is via an application. The logo for that application looks like the image below.

![](https://1926565183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLX88XmbsIgpRg1jYeAc8%2Fuploads%2FkeOLKsXvzqdjOSPtmO3J%2Fimage.png?alt=media\&token=9b58c3e0-0592-4b23-8f71-6a15371a6329)

This application can be found in the `.dmg` file but also in the installed location which can be found in the following location (via terminal)

```
cd ~/Library/Application\ Support/Trust1Team/Trust1Connector/
open .
```

## Uninstall process

the uninstall process is for Windows and MacOS the same, meaning it will first `migrate` the current configuration if there is one. and then continue with the uninstall process.

At this point the migration process only stores the configuration of the File Exchange in the user path as a back-up when installing a new version of re-installing the same version.

![](https://1926565183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLX88XmbsIgpRg1jYeAc8%2Fuploads%2FtBVRUONbs39X3545iRQI%2Fv3_uninstall.jpg?alt=media\&token=c8b45952-7bf1-44f0-9dc7-da8cdf0b41e0)
