Page 1 of 1 1
Topic Options
#1148 - 1999-12-12 09:38 PM Auto update Norton Antivirus
Anonymous
Unregistered


Dear all,
I have find the following post from Flavien

posted 25 October 1999 02:11
--------------------------------------------------------------------------------
Simply use
xxxxi32.exe /q
for silent install (works on both OS).
To check which version is installed, insert
a script like this:
[CODE]
If Open(3,"c:\Program Files\Common Files\Symantec Shared\VirusDefs\Definfo.dat")=0
$x=ReadLine(3)
$x=ReadLine(3)
$NAVDefinition=SubStr($x,9,8)
Close(3)
EndIf
[\CODE]
$NAVDefinition returns the date of your current definitions...
------------------------------------------

I am now using NAV 5.01 and NT4.0 SP5, as mentioned above, I can find the Last update info but I can't find the execute file
"xxxxi32.exe", I have try LUall.exe /q & Navlu.exe /q which it does not perform the "slient" installation. Instead it do the same way that ask you to input the device for update, then next>>....
Do anyone know how to auto-update on NAV?

Another question:
How can I map the user with the Home dir? I mean the drive that will appear at @HOMEDIR
as I only got null at this entry.
I just want to map the drive that when I open the windows explorer or CMD, it will direct to that drive.

Thanks you for the attention.

Gilbert Ng

Top
#1149 - 1999-12-13 04:49 AM Re: Auto update Norton Antivirus
Flavien Offline
Getting the hang of it

Registered: 1999-07-21
Posts: 95
Loc: Geneva, Switzerland
gilbertng,

The definition files can be found there:

http://www.symantec.com/avcenter/download.html

As for today, the file is named: 1206i32.exe.

BTW, I've changed the routine a bit:
$X=ReadProfileString("c:\Program Files\Common Files\Symantec Shared\VirusDefs\Definfo.dat","DefDates","CurDefs")
If @Error=0
$DefDate=SubStr($X,1,8)
Else
; NAV is not installed
EndIf

Regards,
Flavien

Top
#1150 - 1999-12-13 08:36 AM Re: Auto update Norton Antivirus
PaulMoxey Offline
Getting the hang of it

Registered: 1999-07-22
Posts: 90
Loc: Villawood, NSW, Australia
I have a couple of different ways of updating Norton's.
I've got a central machine at our primary site which performs silent liveupdate's a couple of times a week in the middle of the night and created a liveupd.hst that was sent to each machine as it was installed. So if they try liveupdate, it pulls it from our local copy.

Generally though, updates take place through the script:

quote:

; Find value of whats version of Norton is installed using a registry check (If it exists at all)
$VIR = READVALUE("HKEY_LOCAL_MACHINE\Software\Symantec\SharedDefs","NAV_50_QUAR")
$VIM = SUBSTR($VIR,(LEN($VIR)-11),8)
$Vins = Existkey("HKEY_LOCAL_MACHINE\Software\Symantec\SharedDefs")

IF $LOCATION="VIL"
; Check File version at Villawood
$VSR = GetFileTime("\\TAUBAUNT01\NavNet32\NAVUP\NavDef4x\naveng32.dll")
ENDIF
IF $LOCATION="HEM"
; Check File version at Hemmant
$VSR = GetFileTime("\\TAUBAUNT02\NavNet32\NAVUP\NavDef4x\naveng32.dll")
ENDIF
IF $LOCATION="GLE"
; Check File version at Glen Waverley
$VSR = GetFileTime("\\TAUBAUNT03\NavNet32\NAVUP\NavDef4x\naveng32.dll")
ENDIF
IF $LOCATION="WA"
; Check File version at Welshpool
$VSR = GetFileTime("\\TAUBAUNT08\NavNet32\NAVUP\NavDef4x\naveng32.dll")
ENDIF

$VSM = SUBSTR($VSR,1,4)+SUBSTR($VSR,6,2)+SUBSTR($VSR,9,2)

if $VSM>=$VIM ; IF $VSM (Source ver) = $VIM (Install ver) do nothing!
color w+/b
CLS
BIG "Anti-Virus"
SMALL
color w+/b
at (8,1) "You have the current version of Norton AntiVirus installed. (Version " + $VSM + ")"
sleep 2
else ; Otherwise, Go and install/update Norton's.
; if val($VIM)>val($VSM) goto veryend
; You've got a later version than the source! Don't overwrite with older.

; rem Norton AntiVirus installation/update
color w+/b
CLS
BIG "Anti-Virus"
SMALL
color w+/b
at (8,1) "You do not have Norton AntiVirus installed, or do not have current updates"
at (9,1) "Correct version: " + $VSM + " Your version: " + $VIM
at (10,1) "Installation should take about 5 minutes. (Up to half an hour for dialin)"
at (11,1) "After Norton AntiVirus is installed/updated it will then scan every file."
at (13,15) "Please wait while this takes place..............."
if $LOCATION="VIL"
run "\\taubaunt01\navnet32\navup\navadmin\navcheck /w32:\\taubaunt01\navnet32\navup\navadmin\custom.nns"
endif
if $LOCATION="HEM"
run "\\taubaunt02\navnet32\navup\navadmin\navcheck /w32:\\taubaunt02\navnet32\navup\navadmin\custom.nns"
endif
if $LOCATION="GLE"
run "\\taubaunt03\navnet32\navup\navadmin\navcheck /w32:\\taubaunt03\navnet32\navup\navadmin\custom.nns"
endif
if $LOCATION="WA"
run "\\taubaunt08\navnet32\navup\navadmin\navcheck /w32:\\taubaunt08\navnet32\navup\navadmin\custom.nns"
endif
endif


A quick description of that. I have 3 primary authentication sites, and each has Norton Network Administrator installed for the purpose of client installation/updates. If the version of Norton's the client has isntalled is older than the source on teh host, they get updated. My next update (when I get around to it) will determine if the user is using RAS, and if so, it'll offer them teh choice of wether to apply updates provided their copy is less than say 1 month old. IT is painful to wait for Norton toupdate over a dialup link, so this gives the user a choice, whilst still maintaining "some" version control.

Currently I only apply updates using NNM about every two weeks because it is so painful for my remote users.

btw, I know I can streamline things with case etc, but I have to maintain some readability for the juniour admins who don't know kix, but can at least understand if...then type statements.

Hope this is of some help.

------------------
Paul Moxey
POS & Senior Network Administrator
Taubmans Pty Ltd
Paul_Moxey@taubmans.com.au

_________________________
Paul Moxey POS & Senior Network Administrator BarloworldCoatings (AUST) Pty Ltd

Top
#1151 - 1999-12-13 08:46 AM Re: Auto update Norton Antivirus
PaulMoxey Offline
Getting the hang of it

Registered: 1999-07-22
Posts: 90
Loc: Villawood, NSW, Australia
Doh! I meant 4 priamry sites above.
The script also allows for consciencious users who use liveupdate or download their own definitions to not be overwritten with older definitions when they login (if I haven't updated the source).

An earlier part of the script defines $location based upon the DC the user is being authenticated on. As such, notebook users who roam different sites get updates from the "local" server, regardless of where they are. (Ahh... The beauty of DHCP )

_________________________
Paul Moxey POS & Senior Network Administrator BarloworldCoatings (AUST) Pty Ltd

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
0 registered and 633 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.048 seconds in which 0.022 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