Deploy software to your hosts
Install your own installers on Windows hosts from WASViking Infrastructure Defense. Add an .msi or .exe once, choose the hosts and when it installs, approve it, and read on each host whether it installed. Once, at a date and time, in the maintenance window, or every week.
Software Deployment installs your organization's own installers on its hosts through the Sentinel Host agent. You add the installer file to a library once, choose the hosts and when it installs, a person approves it, and each host reports back what the installer answered. By the end of this guide you will have added an installer, deployed it to one host, approved it and read the result.
Open it from Infra → Infrastructure Defense → Software Deployment.
Before you start
- Infrastructure Defense enabled, with the Sentinel Host agent reporting from the Windows hosts you want to install on.
- Sentinel Host 0.1.50 or later on those hosts. A host with an older agent appears in the list with the reason it cannot receive software. Update agents from Infra → Infrastructure Defense → Sentinel Hosts.
- The permissions on Infrastructure Defense:
- Remediate to add or delete software and to plan, cancel, pause or end a deployment;
- Approve to approve a deployment;
- Export to download the CSV record.
The Admin and Manager roles carry all of them by default. - An installer that is digitally signed. Each host checks the signature right before running the file and refuses an installer that is not signed or was altered. Installers published by software vendors are normally signed.
Software Deployment installs on Windows hosts today.
Step 1: add the software to the library
- Open the Software library tab.
- In Add software, choose the installer or drop it on the box. The
file can be a Windows Installer package (
.msi) or an executable installer (.exe), up to 4 GB. - Check the Name and the Version. They are suggested from the file name.
- For an executable, check Silent switches (see the table below). The form fills them when it recognizes the kind of installer. A Windows Installer package already installs silently and needs nothing here.
- Optionally open Proof and limits (recommended, see below).
- Select Add to the library.
The file goes from your browser straight to encrypted storage. The software then shows Checking the file for a moment, while the platform reads the whole file and records its SHA-256 fingerprint, and then Ready. Only software that is Ready can be deployed.
Which file to upload
Nobody is in front of the host during an install, so the file has to install without showing a window or asking a question.
- Prefer the Windows Installer package (
.msi) when the vendor publishes one. It installs silently with no switch at all, and it is the file vendors publish for installing without a person. - An executable installer (
.exe) works when it has silent switches. When you choose the file, the form reads it, says which kind of installer it is and fills the switches of that kind. - An executable the form does not recognize may be an assistant made
for a person to click, for example a small program that downloads the
real installer. On a host it waits until its time limit and installs
nothing. Look for the
.msion the vendor's site. If you keep the file, deploy it to one host first.
Once the software is Ready, its card shows Built with, the kind of installer the platform recognized in the stored file. A card carries a warning when an executable is not of a known kind, or when its switches are not the ones of its kind.
Silent switches
The silent switches are the options that make an executable installer run with no window and no question. Each kind of installer has its own:
| Installer built with | Silent switches |
|---|---|
| NSIS | /S |
| Inno Setup | /VERYSILENT /SUPPRESSMSGBOXES /NORESTART |
| WiX | /quiet /norestart |
| InstallShield | /s /w /v/qn |
The form fills them when it recognizes the installer, and the buttons under the field fill them by hand. For any other executable, the vendor of the software documents the switches.
Switches can hold letters, digits, spaces and / = : . _ * + - \. Quotes
are not accepted.
Proof and limits
| Field | What it does |
|---|---|
| Name in the software inventory | Part of the name Installed Software shows for the program once it is installed. With it, the inventory taken after the install confirms the program is really there, and a host that already has it at this version or a later one can be left out. |
| Publisher expected on the signature | Left empty, any valid signature is accepted. Filled, a host refuses the file unless that publisher signed it. |
| Longest run on a host | How long the installer may run before the host stops it, from 5 minutes to 3 hours. Most installers end in a few minutes, and a short limit frees the host sooner when an installer waits for a click. For an executable it does not recognize, the form suggests 10 minutes. |
An installer in the library never changes. To deploy a newer version, add the new file as a new entry.
Step 2: plan a deployment
- Select Deploy on the software, or New deployment at the top of the screen.
- In Hosts, filter the list and tick one host or many (up to 200 in one deployment). The Ready column says whether each host can receive the software: - Ready: it can. - Already installed: the inventory lists the program. The host can still be ticked; the box under the list decides whether such hosts are left out. - Any other text is the reason the host cannot receive it now, for example no agent reporting, an agent that needs an update, or a deployment of this software already waiting on the host.
- In When, choose one option:
| Option | What happens |
|---|---|
| Once, as soon as it is approved | Each host installs when its environment is approved. |
| Once, at a date and time | Each host installs at the time you give, in one time zone or in each host's local time. |
| Once, in each host's maintenance window | Each host installs when the maintenance window of its policy opens. |
| Every week, on the days you choose | The deployment repeats and keeps the software installed (see Repeating deployments). |
- Optionally open Window, hosts that are off and limits: - The window stays open for: how long a host may pick the install up after the start. Nothing ever installs after the window closes. - A host that is off when the window opens: wait for it inside the window, or skip it. - Hosts at a time and Stop after this many failures: keep a problem small on a large list.
- Fill the Reason, and the Change reference if you use one.
- Check the Summary and select Submit for approval.
Nothing installs at this point. Each host has a job waiting for approval.
Step 3: approve
The page of the deployment opens. In Approval, each environment of the chosen hosts has one line with the approval rule your organization set for it. A person with the Approve permission selects Approve for an environment, and from then on the hosts of that environment install, each one inside the window of the deployment.
A software install never passes on an automatic approval: a person always decides. Approval rules are set in Infra → Infrastructure Defense → Approval Governance.
Step 4: read the result
The page refreshes by itself while hosts are installing. Result by host has one line per host. While a host is installing, its line says for how long, the time limit of the installer and the time the host stops it if it has not finished.
| Column | What it tells you |
|---|---|
| State | Where the host is: waiting for approval, waiting for the host, installing, installed, failed, missed its window, cancelled. |
| Exit code | The number the installer returned. 0 means no error; 3010 and 1641 mean installed with a restart needed. Stopped by the host means the installer did not end within its time limit, and Did not run means the host refused the file before starting it. |
| Signed by | Who signed the file the host actually ran. |
| Inventory | Confirmed by the inventory when the program is listed after the install. Shown only for software with a name in the software inventory. |
When an install fails, the line says why in plain words, and for an installer stopped at its time limit it lists How to make it work. Open Output from the host on a line to read what the installer printed. Export CSV saves the record of the deployment as a file, and Deploy again on the hosts that failed starts a new deployment with those hosts already ticked.
The Deployments tab lists every deployment with its state. A host that installed also shows the program in Infra → Infrastructure Defense → Software.
Repeating deployments
Every week, on the days you choose creates a deployment that repeats. Choose the days of the week and the time of day, and optionally a last day.
- Each time it runs is an occurrence, with its own page and its own result by host.
- When the software has a name in the software inventory, an occurrence installs only on the hosts of the list that do not have the program yet. This is how the schedule keeps the software installed on a group of hosts. Without that name, every occurrence runs the installer on every host.
- The first occurrence waits for approval like any deployment. Once it is decided, the later occurrences start already approved under that decision for 90 days. After that, the next occurrence waits for approval again.
- Pause stops it without losing it, Resume starts it again and End closes it for good. To change the days, the time, the hosts or the file, end it and plan another.
- After three occurrences in a row that failed on every host, the schedule pauses itself and tells the person who started it.
How a host is protected
- The host only runs the exact file you added. It compares the file it downloaded with the SHA-256 fingerprint recorded in the library and stops when they differ.
- The host checks the digital signature of the file and, when you named a publisher, that this publisher signed it.
- The download link is made for that install, lasts a few minutes and works only for your organization.
- Every install is approved by a person and recorded: who asked, who approved, when it ran and what the installer answered.
Troubleshooting
| What you see | What to do |
|---|---|
| The software stays in Checking the file | Large files take a few minutes. If it does not change, delete the entry and add the file again. |
| The software shows Rejected | The file is not a Windows installer of the type its name says. The reason is shown on the entry. |
| A host says Installing from an uploaded file needs the Sentinel Host agent 0.1.50 or later | Update the agent of that host from Sentinel Hosts. |
| Failed, the installer signature is not valid | The installer is not signed or was altered. Get the signed installer from the vendor. |
| Failed, signed by another publisher | The publisher you named does not match the signature. Check the name on the file's signature and add the software again. |
| Exit code 1603 | The installer reported a fatal error. Its own log on the host says which step failed; a missing requirement or a program in use are the usual causes. |
| Exit code 1618 | Another installation was running on the host. Deploy again later. |
| Exit code 1638 | Another version of the product is already installed. Remove it first, or deploy an installer that upgrades it. |
| The software carries a warning that the executable is not recognized | The file may be an assistant made for a person to click. Look for the Windows Installer package (.msi) on the vendor's site and add it as a new software. If you keep the file, deploy it to one host first. |
| A host shows Installing for many minutes | The installer may be waiting for a person. Nothing needs to be done: the host stops it at the time shown on the line, and the line then says how to make it work. |
| Failed, the installer did not finish within its time limit | The installer was waiting for a person, so nothing was installed. Follow How to make it work on the line of the host: look for the vendor's .msi, or for the silent switches of the executable, add the right file as a new software and deploy it to one host first with a short time limit. |
| Missed its window | The host was off, or did not reach the platform, while the window was open. Deploy again on the hosts that failed. |
| Not in the inventory | The installer ended without an error but the program is not listed under the name you gave. Check the name in Installed Software and the host itself. |
| Delete is refused | A deployment of this software is still waiting, running or repeating. Cancel or end it first. |
