# Installation on Windows¶

Basically, armadito-agent’s installation on Windows can be made offline or online. It means at least two different kind of installers. We provide command line installation examples for both installers. We decided to use Inno Setup also because it is quite simple, open source and well documented. Also, it is a good alternative to Perl Dev Kit (now not available for individual sales) and old school installations with cpan.

Warning

Inno Setup is now well known, but some Antiviruses still have false positives, for example with temporary files created by Inno Setup Installer.

In both cases, installation can be done without providing a good enrollement key, while it is not recommended. Administrators should be able to fastly generate enrollment key(s) from Armadito plugin for GLPI from menu General > Enrollment Keys.

If you installed without a valid enrollment key, no worry, you will still be able to enroll later.

## Offline installer¶

Offline installer’s size is bigger (~80MB) because it includes a strawberry perl distribution and all perl dependencies.

Batch example :

@ECHO OFF
set version=0.10.1
set programpath=%~dp0\..



## Online installer¶

Whereas Online installer is smaller (~0.5MB) but dependencies are downloaded at installtime on a cpan mirror. Furthermore, it allows agent to use already installed local perl distribution. Note that you can use a custom cpan mirror with that installer. CPAN proxy configuration has also been simplified.

### Prerequisites¶

• a recent perl distribution installed on each agent’s computer.

Strawberry Perl is recommanded but not mandatory.

To install Strawberry Perl, see strawberryperl.com.

Batch example :

@ECHO OFF
set version=0.10.1
set programpath=%~dp0\..