Hi all,
I am upgrading Norton 7.x to SAV 8. Im new to writing and using scripts so please be gentle.. When I ran the vplogon.bat it was almost %95 complete and then is said the program is not responding click
cancel or contiune. I selected continue and now i get realtime protection failed to load. So i wrote a script using code from all the specialists here hoping i could get the install working but i now cant install the symantec packager without kix timimg out. I now need to uninstall 7.x, check for os version as Sav 8 does not work on win95 and then remove extend.dat and reg entry.
Can someone help me fix this script especially the install script:
code:
CLS
? "Querying Symantec AntiVirus settings. Please wait...@CRLF"
$NavHomeDir = READVALUE("HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDesk\VirusProtect6\CurrentVersion","Home Directory")
$NavVirusEngine = READVALUE("HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDesk\VirusProtect6\CurrentVersion", "VirusEngine")
$NavVirusEnginePath = $NavHomeDir+"\"+$NavVirusEngine
$FileVer = GETFILEVERSION("$NavVirusEnginePath", "ProductVersion")
$basedir=%temp%
$MinVer="8.0.1.425"
$MinVer2="7.51.0.847"
$tempfile="%WINDIR%\local settings\application data\microsoft\outlook\extend.dat"
;Check os and if file is updated
IF (@inwin <> 1) AND (@dos = "4.10") and ($FileVer)>=$MinVer ; - Windows 98 -
$os="W98"
MESSAGEBOX("Your Symantec Antivirus is up to date.",$OS, 64,15)
exit
;check os, if file is old and ifvptray exists
ELSE IF (@inwin <> 1) AND (@dos = "4.10") and ($FileVer)<=$MinVer2 and exist ($NavHomeDir & "\vptray.exe"); - Windows 98 -
$os="W98"
MESSAGEBOX("Symantec AntiVirus update available.",$OS, 64,15)
MESSAGEBOX($NavHomeDir, "Symantec vptray.",64,15)
run "\\zeolite\VPlogon\remove.bat"
;install sav 8 if not installed
ELSE IF (@inwin <> 1) AND (@dos = "4.10")
MESSAGEBOX("There is a new version of Norton. Your machine will automatically be updated and rebooted.","Symantec Antivirus upgrade",64,15)
if exist($tempfile)
del $tempfile
$ReturnCode =DelValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Exchange\Client\Extensions","LDVP")
Endif
; shell '%COMSPEC% Start /Wait "\\ZEOLITE\VPLOGON\install.bat"'
run "\\kunzite\vphome\clt-inst\WIN32\Setup.exe"
sleep 30
exit
endif
Thanks,
Felice
[ 27. March 2003, 21:50: Message edited by: 90210 ]