#38485 - 2003-03-27 09:31 PM
install script does not work--error after login
|
90210
Fresh Scripter
Registered: 2003-03-27
Posts: 5
|
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 ]
|
|
Top
|
|
|
|
#38488 - 2003-03-27 10:15 PM
Re: install script does not work--error after login
|
90210
Fresh Scripter
Registered: 2003-03-27
Posts: 5
|
The problem for me is the install routine. If I can get the setup to install even on a clean win98 machine, that would make me happy. The rest of my script works, but once i call the login script upon logon, the setup runs , symactec packager begins to install and then it says another process has started do you want to cancel or continue
|
|
Top
|
|
|
|
#38490 - 2003-03-27 10:33 PM
Re: install script does not work--error after login
|
90210
Fresh Scripter
Registered: 2003-03-27
Posts: 5
|
my packager runs fine too if i dont go through the login script. Does anyone have a script to install the SAV 8 packager via login? Im testing the install on win98 without nav, so its not an upgrade. When i use: run "\\kunzite\vphome\clt-inst\WIN32\Setup.exe"
the login script begins, the symantec box comes up and begins to install. After about 30 seconds, another box comes up that says " another package has interupted the install, do you wish to continue or cancel. If i do continue, it installs, but i dont want users to interact with the install and errors.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 363 anonymous users online.
|
|
|