Step 1: Download the agent from Viser.
Step 2: Execute the following commands based on the operating system.
- Windows Systems:
Extract the zip file downloaded from the Viser.
C:\> cd <zip file extracted path>
C:\ SanerNow_DemoAccount > SanerNow-Windows-noui-5.2.exe /S /ACTIVATION_TOKEN=spsaneractivation.conf
/S -> indicates silent installation option
/ACTIVATION_TOKEN -> to specify the path of the conf file, this is a mandatory option.
- MacOS Systems:
unzip SanerNow_DemoAccount_OSX_x64_5.2.zip
cd SanerNow_DemoAccount
/bin/launchctl setenv ACTIVATION_TOKEN “<Path of spsaneractivation.conf>” (This step is not required if the spsaneractivation.conf and the SpSaner-minimal-x64.pkg files are in same location)
installer -pkg SpSaner-minimal-x64.pkg -target /
- Linux Systems (DPKG, RPM, APK):
unzip SanerNow_DemoAccount_<linux flavour>_<arch>_5.2.zip
cd SanerNow_DemoAccount
chmod +x SpSaner-minimal-x64.bin
./SpSaner-minimal-x64.bin -c ‘spsaneractivation.conf’
- Package installation on Linux Devices
DPKG Systems (Debian, Ubuntu, Linux Mint):
Note: To convert the bin file to a .deb or .rpm file run the bin file by passing the conf file using the -c option and -r to specify the path where the package must be created.
unzip SanerNow_DemoAccount_<linux flavour>_<arch>_5.2.zip
cd SanerNow_DemoAccount
chmod +x SpSaner-minimal-x64.bin
./SanerNow-Ubuntu-x64-noui-5.2.bin -c spsaneractivation.conf -r <path to create the package installer>
cd <path of the package installer>
sudo dpkg -i SpSaner-minimal-<arch>.deb
RPM Systems (Redhat, Fedora, CentOS, Oracle Linux, Amazon Linux, AMI, Amazon Linux 2, Alma Linux, Rocky Linux):
unzip SanerNow_DemoAccount_<linux flavour>_<arch>_5.2.zip
cd SanerNow_DemoAccount
chmod +x SpSaner-minimal-x64.bin
./SanerNow-Ubuntu-x64-noui-5.2.bin -c spsaneractivation.conf -r <path to create the package installer>
cd <path of the package installer>
sudo rpm -ivh SpSaner-minimal-<arch>.rpm
ALPINE Systems:
unzip SanerNow_DemoAccount_<linux flavour>_<arch>_5.2.zip
cd SanerNow_DemoAccount
chmod +x SpSaner-minimal-x64.bin
./SanerNow-Ubuntu-x64-noui-5.2.bin -c spsaneractivation.conf -r <path to create the package installer>
cd <path of the package installer>
sudo apk add SpSaner-minimal-<arch>.rpm –allow-untrusted
- To add proxy parameters in Windows, add the following options as provided in the example below.
C:\> SpSaner-minimal-x86.exe /S /ACTIVATION_TOKEN=<path of spsaneractivation.conf> /AUTODETECTPROXY=false /PROXYENABLE=true /PROXYURL=”ProxyServer” /PROXYPORT=”ProxyPort” /PROXYAUTHENABLE=true /PROXYUNAME=”ProxyUserName” /PROXYPASSWORD=”ProxyUserPass”
- Other command line options for silent mode in windows:
/INSTDIR=<install-directory> – Add the path inside double quotes if it contains spaces.
/SANER_FIRST_SCAN=<TRUE|FALSE> – Use is it to enable/disable FIRST SCAN, where FALSE represents disable. By default, scan is enabled.
/SANER_ACTIVATE_OFF=<TRUE> – Mention TRUE if activation is not required after install.
/AUTODETECTPROXY=<true|false> – Detects the system proxy settings and uses them. If this is set, other proxy options from command line are not read.
/PROXYENABLE=<true|false> – If set to ‘true’, ‘PROXYURL’ and ‘PROXYPORT’ MUST be specified.
/PROXYURL=<proxy-url> – Mention the proxy server URL
/PROXYPORT=<proxy-port>
/PROXYAUTHENABLE=<true|false> – If set ‘true’, ‘PROXYUNAME’ and ‘PROXYPASSWORD’ parameters MUST be specified.
/PROXYUNAME=<user-name>
/PROXYPASSWORD=<password>
/D=<install-directory> – Alternative option for specifying install path. If you use this, it MUST be used as the last option on the command line.
***Please note all options and values are case sensitive***
Note: In the case of Linux-based and Mac operating systems, proxy parameters are taken from default system settings.