Commands to CMD install script:
set custommerMasterPassword=
set custommerName=
if exist "c:\program files\inpadi\GMSClient\gms-client.exe" goto EXIT
if exist "c:\program files\tachodata\GMSClient\gms-client.exe" goto EXIT
if exist "c:\program files (x86)\inpadi\GMSClient\gms-client.exe" goto EXIT
if exist "c:\program files (x86)\tachodata\GMSClient\gms-client.exe" goto EXIT
md "%ProgramFiles%\inpadi\GMSClient"
cd /d "%ProgramFiles%\inpadi\GMSClient"
set p1=-urlcache -split -f
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set p2="https://v.inpadi.dk/Patch/GMSClient/windows/amd64/gms-client.exe"
if not "%PROCESSOR_ARCHITECTURE%"=="AMD64" set p2="https://v.inpadi.dk/Patch/GMSClient/windows/386/gms-client.exe"
set p3=gms-client.exe
certutil.exe %p1% %p2% %p3%
if not "%errorlevel%"=="0" @powershell -NoProfile -ExecutionPolicy unrestricted -Command "Invoke-WebRequest -Uri %p2% -OutFile %p3%"
if not "%errorlevel%"=="0" @powershell -NoProfile -ExecutionPolicy Bypass -Command "(New-Object System.Net.WebClient).DownloadFile('%p2%', '%p3%')"
echo [Config] > gms.ini
echo Username=%custommerName%\%COMPUTERNAME% >> gms.ini
echo Password=%custommerMasterPassword%>> gms.ini
sc create GMSClient binPath= "%ProgramFiles%\inpadi\GMSClient\GMS-Client.exe" start= auto
sc start GMSClient
goto EXIT
:EXIT
All inpadi Agent versions download links:
OSX x86: https://gms.inpadi.dk/Patch/GMSClient/darwin/386/GMS-Client
OSX x64: https://gms.inpadi.dk/Patch/GMSClient/darwin/amd64/GMS-Client
Linux x86: https://gms.inpadi.dk/Patch/GMSClient/linux/386/GMS-Client
Linux x64: https://gms.inpadi.dk/Patch/GMSClient/linux/amd64/GMS-Client
Linux arm: https://gms.inpadi.dk/Patch/GMSClient/linux/arm/GMS-Client
Linux arm64: https://gms.inpadi.dk/Patch/GMSClient/linux/arm64/GMS-Client
Windows x86: https://gms.inpadi.dk/Patch/GMSClient/windows/386/GMS-Client.exe
Windows x64: https://gms.inpadi.dk/Patch/GMSClient/windows/amd64/GMS-Client.exe
inpadi Agent - Run on linux - Use at your own risk...
Download gms-client for the correct Linux/CPU mix and add in /etc/crontab add the folowing line:
* * * * * root ps ax |grep -v "grep" |grep gms-client || /gmsclient/gms-client &