Software Rollout
Problem
You like to install a software package on multiple machines
Solution
Script the software for a unattended installation and rollout via Patchall.
For this following steps are required:
Define Software Package:
Create a Software Package: CMDB - Software
Fields:
Examples for download URL:
aria2c "https://patchall.wuinstall.com/download/7Zip.meta4"
Examples:
Download Acrobat Reader from Adobe
aria2c.exe "http://ardownload.adobe.com/pub/adobe/reader/win/AcrobatDC/1801120035/AcroRdrDC1801120035_de_DE.exe" -d "%PATCHALL_WORK%"
%PATCHALL_WORK%\AcroRdrDC1801120035_de_DE.exe /sAll
msiexec /X {AC76BA86-7AD7-1031-7B44-AC0F074E4100} /qn /norestart
Download 7-Zip from Web Storage:
aria2c "https://patchall.wuinstall.com/download/7Zip.meta4"
%PATCHALL_WORK%\7Zip.exe /S
C:\Program Files (x86)\7-Zip\Uninstall.exe /S
With aria2c you have following possibilities for downloading:
- Download a exe or msi file directly
- Download a Metalink file (Metalink on Wikipedia)
- Multiple files can be added to the Metalink
- Checksums
- Multiple download sources with priorities
Example for a Metalink - single exe file
<?xml version="1.0" encoding="UTF-8"?>
<metalink xmlns="urn:ietf:params:xml:ns:metalink">
<published>2009-05-15T12:23:23Z</published>
<file name="7Zip.exe"> <!-- store the file with this filename -->
<identity>7Zip</identity>
<version>18.01</version>
<language>en</language>
<description>7Zip download</description>
<url location="en" priority="1">https://www.7-zip.org/a/7z1801.exe</url>
</file>
</metalink>
Aria2c Parameters:
- Http Basic Authentication:
--http-passwd
=USERNAME --http-passwd=PASSWORD
- Http Proxy without authentication: --http-proxy="http://proxy:8080"
- Http Proxy with authentication: --http-proxy="http://proxy_username:proxy_password@proxy:8080"
Related articles