Page 1 of 1 1
Topic Options
#38485 - 2003-03-27 09:31 PM install script does not work--error after login
90210 Offline
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
#38486 - 2003-03-27 10:00 PM Re: install script does not work--error after login
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
What makes you think it is a script problem. In my preliminary tests, I could not get SAV CE 8.0 to install on machines that had NAV CE 7.61 previously without first cleaning out the reg.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#38487 - 2003-03-27 10:05 PM Re: install script does not work--error after login
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Try a few manual installs to test. I pretty much gave up on the idea of scripting an upgrade to SAV. Just as well... I am being forced to switch over to McAfee.

Maybe NTDOC had better luck. What say ye DOC?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#38488 - 2003-03-27 10:15 PM Re: install script does not work--error after login
90210 Offline
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
#38489 - 2003-03-27 10:26 PM Re: install script does not work--error after login
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
I have build packagers for SAV CE 8.0 and they do run without problems. However, I manually deinstalled the present AV software before running the packager. I did not rely on the packager deinstall routine.
_________________________
There are two types of vessels, submarines and targets.

Top
#38490 - 2003-03-27 10:33 PM Re: install script does not work--error after login
90210 Offline
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
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 363 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.197 seconds in which 0.158 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org