Software Templates

Software Templates are similar than jobs. You can program, just like in a script, that you want to download something and install it for example. You can schedules it and select which device it should run on.

Overview Templates

Create Templates

Schedule Templates

If you like to install a software package on multiple machines, you can Script the software for a unattended installation and rollout via Patchall.

Examples

Install Firefox

  1. Download from mozilla.org directly URL: https://download.mozilla.org/?product=firefox-latest-ssl&os=win64&lang=de Download Dialog Since you need always the same filename for the setup, enter firefox.exe as Filename after download. Else you would get a file with version number etc. Download Dialog
  2. Execute Setup in silent mode
    • Select Local (work) Directory. This directory contains the currently downloades firefox.exe file.
    • firefox.exe is the executable. It's the name you have entered in download dialog above.
    • /S for silent installation (no user interaction required) Execute Dialog
  3. Upload Software Inventory to XEOX Force the upload of the software Inventory to see the result immediately in XEOX software report. Else you would see it after the next daily search job of the hardware (most of the time 1-3 days later)

Uninstall Firefox

Uninstall Since the XEOX Agent is 32 Bit and you have installed a 64 Bit Firefox, the directory for Firefox would be %ProgramW6432%\Mozilla Firefox Uninstall

Download Acrobat Reader from Adobe

Download: http://ardownload.adobe.com/pub/adobe/reader/win/AcrobatDC/1801120035/AcroRdrDC1801120035_de_DE.exe

Execute: %PATCHALL_WORK%\AcroRdrDC1801120035_de_DE.exe /sAll

Creating an Unistall Job for Acrobat Reader

Execute: msiexec /X {AC76BA86-7AD7-1031-7B44-AC0F074E4100} /qn /norestart

Download 7-Zip from Web Storage:

Download https://patchall.wuinstall.com/download/7Zip.meta4

Execute %PATCHALL_WORK%\7Zip.exe /S

Create an Uinstall Job for 7zip

Execute 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 (Documentation 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"