Server uninstallation
A.V.A.T.A.R offers a PowerShell application for automatic uninstallation.
Preparing the uninstaller
- Download A.V.A.T.A.R server zip file from GitHub.
- Click on the
button and
Download zip
.
- Click on the
- Extract the
A.V.A.T.A.R-Server-master.zip
file using "Extract or Extract here" selection. -
Run PowerShell regarding the platform:
- Run PowerShell from "All applications" menu.
- Change to A.V.A.T.A.R-Server-master/ directory.
> cd $env:HOMEPATH\downloads\A.V.A.T.A.R-Server-master
- Open a terminal
- Change to downloads/A.V.A.T.A.R-Server-master directory.
$ cd downloads/A.V.A.T.A.R-Server-master $ pwsh
- Open a terminal
- Change to downloads/A.V.A.T.A.R-Server-master directory.
% cd downloads/A.V.A.T.A.R-Server-master % pwsh
Start the installer
Parameters
Below are the mandatory or optional parameters added to the command:
Parameter |
Windows | linux | macOS | Comment |
---|---|---|---|---|
-uninstall |
![]() |
![]() |
![]() |
mandatory parameter to uninstall the server. |
-directory |
![]() |
![]() |
![]() |
Windows : mandatory parameter. The uninstallation can be made only from a directory.linux and macOS : optional parameter. The uninstallation is made for a server installed with the -directory parameter in this (user home) directory. |
-application |
![]() |
![]() |
![]() |
Windows : Not recognized.linux and macOS : optional parameter. The uninstallation is made for the server application installed with the -application parameter (accessible from the applications). |
Examples
-
Uninstalling the server in a Windows directory:
./installer.ps1 -directory "c:\avatar\server" -uninstall
-
Uninstalling the server installed in a directory in macOS or linux (the path to the user home directory is automatically added):
./installer.ps1 -directory "avatar/server" -uninstall
./installer.ps1 -directory "Desktop/avatar/server" -uninstall
-
Uninstalling the server installed as an application in macOS or linux (The path is automatically set by the applications directory):
./installer.ps1 -application -uninstall
Execution of the uninstaller
Regarding want you want to do, start the installer with its parameters.
For an installation in the c:\avatar\server directory:
> ./installer.ps1 -directory "c:\avatar\server" -uninstall

For an installation as linux application:
> ./installer.ps1 -application -uninstall
For an installation as macOS application:
> ./installer.ps1 -application -uninstall
You can stop or start the installation by answer "Y" or "N" ("N" by default).
Note
The installer warns you with messages if anything might prevent installation.
Uninstallation of the A.V.A.T.A.R. server is automatic and requires no additional input.
End of the uninstallation
At the end of the installation, the following message should appear:
Warning
If this message does not appear, an error has stopped the installation.
You can check the error on the terminal or in the ./server-installer.log file.
Once you've corrected whatever prevented the installation from continuing, you can retrieve the command and run it again.