not sure how hard it can be.
in windows world, version string is a 4-piece string.
so, checking for first, second, third and finally forth should perfectly reveal which is never.
Code:
$NAVHome = ReadValue($RegPath+'HKLM\software\INTEL\LANDesk\VirusProtect6\CurrentVersion\', 'Home Directory')
$NavExecutable = split(GETFILEVERSION($NAVHome +'\vpc32.exe','ProductVersion'),".")
if ubound($NavExecutable)<3
RUN "\\$server_name\vphome\clt-inst\win32\setup.exe /S /v/qn"
else
if 10>$NavExecutable[0] or 1>$NavExecutable[1]
RUN "\\$server_name\vphome\clt-inst\win32\setup.exe /S /v/qn"
else
if 0=$NavExecutable[2] and 394>$NavExecutable[3]
RUN "\\$server_name\vphome\clt-inst\win32\setup.exe /S /v/qn"
else
if 0=$NavExecutable[2] and 394=$NavExecutable[3]
RUN "msiexec /update \\$server_name\netlogon\sav396.msp /passive /qr /norestart"
endif
endif
endif
endif
_________________________
!download
KiXnet