Skip to main content

Executing a Client-Side Script-Based Verification

What

The "verify" option of the fwGUI client application allows you to run a "verify" from the client programmatically.

When/Why

We are going to use this option whenever we want to get "immediate" feedback from a client.  For instance, as a post-installation script, calling a verify would immediately make the client report updated inventory rather than waiting (up to 24 hours, default) for the next "regular" verify.

How

The verification is called as a command-line option to the fwGUI app on either a Windows or macOS client as follows. The first table is for FileWave 16.0.3+ and the second table is for 15.5.x and below. Please note that 16.0.1 and 16.0.2 did not have this command.

  Windows Client macOS Client
Path to FileWaveKiosk: "C:\Program Files\FileWave\client\kiosk\"

/usr/local/bin/FileWave.app/Contents/MacOS/FileWave\ Kiosk.app/Contents/MacOS/

App to call: FileWaveKiosk.exe FileWave\ Kiosk
Command Line options: --verify

Sends a verification (w/dialog by default...useful for troubleshooting)
--verify

Sends a verification (w/dialog by default...useful for troubleshooting)
  --silent

Used with --verify, sends verification without user dialog
--silent

Used with --verify, sends verification without user dialog
Script examples: Windows Batch Example

@echo off
 
"C:\Program Files\FileWave\client\kiosk\FileWaveKiosk.exe" --verify --silent
 
exit 0
macOS Bash Example

#!/bin/bash
 
/usr/local/bin/FileWave.app/Contents/MacOS/FileWave\ Kiosk.app/Contents/MacOS/FileWave\ Kiosk --verify --silent
 
exit 0

On FileWave version 15.5.x or lower these are the paths and executables;

  Windows Client macOS Client
Path to fwGUI "C:\Program Files\FileWave\client\kiosk\" /usr/local/sbin/FileWave.app/Contents/Resources/
App to call: fwGUI.exe fwGUI.app
Command Line options: --verify

Sends a verification (w/dialog by default...useful for troubleshooting)
--verify

Sends a verification (w/dialog by default...useful for troubleshooting)
  --silent

Used with --verify, sends verification without user dialog
--silent

Used with --verify, sends verification without user dialog
Script examples: Windows Batch Example (FW 15.5.x)

@echo off
 
"C:\Program Files\FileWave\client\fwGUI.exe" --verify --silent
 
exit 0
macOS Bash Example

#!/bin/bash
 
/usr/local/sbin/FileWave.app/Contents/Resources/fwGUI.app/Contents/MacOS/fwGUI --verify --silent
 
exit 0