Ok,
I have been trying to get my login script to run a check of the Norton antivirus version, then either install or upgrade to 10.1.0.394. On the next running of the script it should install a patch to 10.1.0.396. It works sometimes, but not always.
Here is the portion of the script that I am trying to make work:
;Norton Install and Upgrade
$NAVHome = ReadValue($RegPath+'HKLM\software\INTEL\LANDesk\VirusProtect6\CurrentVersion\', 'Home Directory')
$NavExecutable = GETFILEVERSION($NAVHome +'\vpc32.exe','ProductVersion')
Select
Case $NavExecutable < "10.1.0.394" or ""
RUN "\\$server_name\vphome\clt-inst\win32\setup.exe /S /v/qn"
Case $NavExecutable = "10.1.0.394"
RUN "msiexec /update \\$server_name\netlogon\sav396.msp /passive /qr /norestart"
Case 1
EndSelect
? "TestNav complete..."
Sleep 2
:Norton Upgrade ends
Anyone see anything that would cause this NOT to run.
All users are accessing the script from the server (W2K). All user machines are either W2K or WXP. All users have permissions to the netlogon folder and are administrators on their local machines.
The rest of the script runs as advertised...
Thanks for any suggestions.
_________________________
If you're not livin' on the edge, you're takin' up too much space!