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.
Inno Setup is now well known, but some Antiviruses still have false positives, for example with temporary files created by Inno Setup Installer.
About Enrollment Key(s)¶
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 or Online : https://github.com/armadito/armadito-agent/releases
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\.. %programpath%\out\Armadito-Agent-%version%-Setup-Offline.exe ^ /SP- /VERYSILENT /LOG=%programpath%\out\setuplog.txt /KEY=AAAAE-AAAAD-AAAAF-AAAAZ-AAAA5
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.
- 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\.. %programpath%\out\Armadito-Agent-%version%-Setup-Online.exe ^ /SP- /VERYSILENT /LOG=%programpath%\out\setuplog.txt /KEY=AAAAE-AAAAD-AAAAF-AAAAZ-AAAA5 /PERLPATH=C:\strawberry
Because it is open-source, and because we provide packaging scripts, you can create custom installers by yourself.