Help - Search - Members - Calendar
Full Version: Symantec AntiVirus Corporate 10.0.1.1000
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
Shark007
I'm sorry i've never once looked in the other thread.
This is so simple to install with updated virus definitions i just had to post.

Take three files from the installation distribution.

Data1.cab
Symantec AntiVirus.msi
VDefHub.zip

go to symantec, get the latest definitions
CODE
ftp://ftp.symantec.com/public/english_us_canada/antivirus_definitions/norton_antivirus/

filename is: [date-IS-here]-017-i32.exe

remove VIRSCAN.ZIP from the downloaded update file and rename it to VDefHub.zip
replace the file in your installation folder.

Ok, you're all set. use this command, it installs silent, no reboot
"Symantec AntiVirus.msi /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS

NOTE- the space in the filename may be a problem for you.
I rename mine to sav.msi so i dont have that issue.

Shark
larciel
works perfect! thank you very much
Randy Rhoads
Here is a faster way if you have it installed currently + updated and want to add current virus definitions.

Browse to:

C:\Program Files\Common Files\Symantec Shared\VirusDefs\

You will see folders named as dates like: 20050720.017

That breaks down to 7-20-2005 definitions update.

Do and update to make sure its current and then open the latest dated folder, highlight all files inside that folder and compress them as a zip file. Rename the zip file to VDefHub.zip and replace the old one in your source folder with the new zip.
aspenjim
When I do that, it always shows up to date def's then the next time i run liveupdate, it d/l's like 8 meg and reinstalls the defs. Am I doing something wrong?

aj
Jaf
QUOTE (Randy Rhoads @ Jul 27 2005, 03:10 AM)
Here is a faster way if you have it installed currently + updated and want to add current virus definitions.

Browse to:

C:\Program Files\Common Files\Symantec Shared\VirusDefs\

You will see folders named as dates like: 20050720.017

That breaks down to 7-20-2005 definitions update.

Do and update to make sure its current and then open the latest dated folder, highlight all files inside that folder and compress them as a zip file. Rename the zip file to VDefHub.zip and replace the old one in your source folder with the new zip.
*


I did this and all of the above but when I install the prg it tell's me that it did not find any
dev files.
And that the system is unprotected till it does, after updating the dev files (with live update) it works fine.
what am I doing wring?
blinkdt
Thanks a bunch, Shark007, that works fabulously. yes.gif
Shark007
@larciel , you're welcome

@aspenjim , i cant control the functionality of Symantec update.

@Jaf , follow only the 1st post, i cant control what others post here.

@blinkdt, you're welcome


Shark
Jaf
QUOTE (Shark007 @ Aug 8 2005, 03:05 PM)
@Jaf , follow only the 1st post, i cant control what others post here.


Shark
*


Thanks man got it working
JaSai
You should archive this folder into VDefHub.zip.
CODE
C:\Program Files\Common Files\Symantec Shared\VirusDefs\BinHub

If you use the latest VirusDef, then use LiveUpdate later may need to re-download full VirusDef.
lucisandor
If you choose to create a administrative distribution point (running the installer with the switch /a), virus definitions get unarchived in <install folder>\Program Files\Symantec Antivirus\Virus Defs.
Those can be overwritten with the files archived in the file described in the first post as VirScan.zip, achieving the same effect as described in the first post: LiveUpdate is not triggered, Windows Security Center does not prompt you to update defs.
Yet, if you start the LiveUpdate manually, you wil get some 8 MB defs updates (as described by aspenjim). It seems to be a bug of LiveUpdate.
nmX.Memnoch
The correct way to actually update it without having LiveUpdate issues is to grab the lastest .XDB file from:

ftp.symantec.com/public/english_us_canada/antivirus_definitions/norton_antivirus/xdb/

Place this file in the same folder as your install then add the following commands to your CMD file:

CODE
START "" /WAIT "Symantec AntiVirus.msi" /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS
COPY *.xdb "%ALLUSERSPROFILE%\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5\"
net stop "Symantec AntiVirus"
net start "Symantec AntiVirus"


The net stop/start will restart the SAV service, which forces it to read the .XDB file right away. If you're doing this during an unattended install just leave out the net stop/start because it'll happen automatically when the system is restarted.

This works for all versions from 8.x up.
1chaoticadult
Good job at keeping this current especially for newbies although I talked about this in the long and drawn out Symantec Antivirus thread.
Thauzar
Speaking of newbie... I just got my hand on SAV10 and realised I have v10.0.0.359, and I got lost in the other thread

Is there a way to slipstream an update to 10.0.1.1000 like I used to do on a clean SAV9 installs? And where could that update be cause I looked on symantec's ftp and did not find it in english international nor in english us_canada.

Also, I was wondering if it was the same registry strings we had to use to easily configure an autoliveupdate day and time.

Thank you so much
Thauzar
I looked around searching for a MSP file and found nothing. There is only a Manual folder but no Updates folder sad.gif

And in your instructions you don't mention adding lusetup to the folder is it not necessary until they upgrade it? I'm asking this cause I already setup SAV9 on my ua cd, but i'm trying to switch this for SAV10 the more easily possible.

Can anyone who has done it post a real guide please? With all the files required to install and especially where to get that MSP to upgrade 10.0.0.359 to 10.0.1.1000. For the rest, I presume the lusetup from the cd is what I need.

Moreover are those reg keys still working with SAV 10?

CODE
Windows Registry Editor Version 5.00

;Reglage des options de LiveUpdate
[HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDesk\VirusProtect6\CurrentVersion\PatternManager\Schedule]
"SkipEvent"=dword:00000000
"RandomizeDayOfWeek"=dword:00000006
"MinOfDay"=dword:000000b4
"MissedEventEnabled"=dword:00000001
"LastStart"=dword:00000000
"TimeWindowMonthly"=dword:00000002
"Type"=dword:00000002
"DayOfWeek"=dword:00000004
"TimeWindowWeekly"=dword:00000003
"TimeWindowDaily"=dword:00000004
"RandomizeDayRange"=dword:00000064
"RandomizeWeekStart"=dword:00000004
"RandomizeWeekEnd"=dword:00000006
"RandomizeMinOfDay"=dword:00000031
"Enabled"=dword:00000001
"RandomizeMonthEnabled"=dword:00000000
"RandomizeWeekEnabled"=dword:00000000
"RandomizeDayEnabled"=dword:00000001
"RandomizationGenerate"=dword:00000000
"Created"=dword:41652b11
"RandomizedMinOfDay"=dword:00000067
"RandomizedDayOfWeek"=dword:00000004
"RandomizedDayOfMonth"=dword:00000000
what3v3r
if youre into using the latest virus definitions that symantec puts out, you will want to use this path:

ftp.symantec.com/AVDEFS/symantec_antivirus_corp/rapidrelease/

the rapid release updates are not very well tested (false positives could happen more often) but they are released every hour, and provide the most current protection against viruses.
tkmadison
I have the same version of SAV and use the same switches and it seems to work just great....except for one thing...
...after it's been installed, at each and every logon afterwards, an explorer window open to C:\PROGRA~\Symantec automatically opens up.
I can't figure out where the command to do this is coming from.
Bear in mind I am installing SAV10 as an unmanaged client, not a server install, or server dependent install.
Anyone ever come across this before?
Also, the tray icon seems to have disappeared, although the services are indeed running.
cyberloner
reformat windows should help with that...
what happen to me is ... installing this version
Symantec AntiVirus Corporate 10.0.1.1000
my pc is ok... but use other pc using maxtor 80gb sata drive...
system start up is slow with welcome window.... 10 20 second before get in windows.....

uninstall SAV
maxtor log in windows very fast...
disable start up quick scan won't help....

wonder if somebody know how to get it log in windows faster....

i think it is that slow by using it
cyberloner
corporate 10 is making system more down...
i am going back to nav 2005
nav 2006 is a bad software.... comes with all rubbish protection stuff...
larciel
this is long dead thread, but after running this, when I run liveupdate, update does not install fully. I'll have to run it again and download FULL size definition (around 10MB) for it to work. anyone get same prb?
RyanVM
Yeah, I've been plagued with that problem since day 1. Though I recently slipped the Feb. 19 virus definitions and LiveUpdate seems to play nicely with them (it updated them to Feb. 21 without complaining yesterday).
cyberloner
does anybody know how to get rid the update virus windows box if virus defination is old one month after installation...

i always update this
[HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDesk\VirusProtect6\CurrentVersion]

"NoWarnPattern"=hex:24,02,13,00,00,00,00,00

and check registry

reg query "HKLM\SOFTWARE\Intel\LANDesk\VirusProtect6\CurrentVersion" /v PatternFileDate

But the warning still comes out...
using sav 10.0.2.2000 now....
marko2002
QUOTE (tkmadison @ Oct 25 2005, 09:45 PM) *
I have the same version of SAV and use the same switches and it seems to work just great....except for one thing...
...after it's been installed, at each and every logon afterwards, an explorer window open to C:\PROGRA~\Symantec automatically opens up.
I can't figure out where the command to do this is coming from.
Bear in mind I am installing SAV10 as an unmanaged client, not a server install, or server dependent install.
Anyone ever come across this before?
Also, the tray icon seems to have disappeared, although the services are indeed running.


I know this is quite an old post, but just in case someone else is having the same problem . . .

I had exactly the same problem and it freaked me out no end trying to "google" for the problem cause it don't seem to exist - however the solution if buried deep inside the Symantec web site and is as follows . . .

QUOTE
This can happen if a registry entry that points to a Symantec application is formatted incorrectly.

To format the registry entry correctly

On the Windows taskbar, click Start > Run.
In the Open box, type the following text:

regedit

Click OK.
Go to the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

In the right pane, double-click vptray.
In the Edit String dialog box, add quotation marks around the entire path.
For example, "C:\Program Files\Symantec AntiVirus\VPTray.exe"
Exit the Registry Editor.
Restart the computer.


After fixing the reg setting I just exported it and then import it back at the install stage to make absolutely certain it's there!!!

Hope this helps
Marko
jftuga
I have a Python script that I have been using for over a year that updates the XDB file. It does a lot of error checking, too. smile.gif I have used it for SAV CE 8.x, 9.x and 10.x without any problems.

You would have to install Python from www.python.org, so this may not be practical for everyone. I run this from a scheduled task every afternoon around 5:00 Eastern.

You should verify AVPATH and TMPPATH variables.

-John

CODE
"""

Symantec Antivirus 8.x, 9.x, 10.x Coporate Edition XDB Definition Updater
Mar-17-2005
-John Taylor

Automatically updates XDB virus definitions from Symantec's web site.
Also, restarts services so that the new definition file will take effect.

"""

import sys,re,urllib,urllib2,md5,os.path,os,shutil,time,glob

WEBPAGE="http://securityresponse.symantec.com/avcenter/download/pages/US-SAVCE.html"
TMPPATH=r'C:\Windows\Temp'
AVPATH=r'C:\Program Files\SAV'
URLRE = re.compile("""href="(http://definitions.symantec.com/defs/xdb/.*?)">""",re.IGNORECASE)
MD5RE = re.compile("""href="/avcenter/refa.html#md5">MD5</a>:(.*?)<a""",re.IGNORECASE|re.MULTILINE)

#############################################################################################

def main():
    print
    print "Retrieving:"
    print WEBPAGE

    local_only = 0   # Just for script development & debugging
    def_file = None

    if 1 != local_only:
        try:
            url = urllib2.urlopen( WEBPAGE )
            page = url.read()
        except urllib2.HTTPError, e:
            print
            print e
            print
            sys.exit()
        except:
            print
            print "Error retrieving url:", WEBPAGE
            print
            sys.exit()

        data = page.split()
        for line in data:
            match = URLRE.match(line)
            if None != match:
                def_file_url = match.group(1)
                break

        print
        print "def_file_url:", def_file_url
        slots = def_file_url.split( "/" )
        def_file = slots[-1:][0]
        def_file = TMPPATH + "\\" + def_file
        print "def_file:", def_file
        match = MD5RE.search(page)
        md5sum = match.groups(1)[0].strip()
        print "md5sum:", md5sum

        print
        if os.path.isfile( def_file ):
            print "File already exists:", def_file
            print "Deleting."
            os.unlink( def_file )
        print "Downloading:", def_file_url
        urllib.urlretrieve( def_file_url, def_file )
    else:
        # Just for debugging
        def_file = "vd1cd412.xdb"
        md5sum="52D5B99589D4D2C01E4E29A2ED2EC3B4"

    print "Checking md5:",
    fp = open(def_file,"rb")
    def_file_data = fp.read()
    fp.close()

    m = md5.new()
    m.update( def_file_data )
    digest = m.hexdigest().upper()
    print digest
    if digest == md5sum:
        print "MD5 Hashes match."
    else:
        print "MD5 Hashes DO NOT MATCH."
        print "\t expected: ", md5sum
        print "\t received: ", digest
        sys.exit()

    # stop services
    srv="DefWatch"
    print "Stopping", srv, "service: ",
    cmd = r'C:\WINDOWS\system32\net.exe'
    cmd = '%s stop "%s"' % (cmd,srv)
    rc = os.system( cmd )
    time.sleep(10)
    print rc

    srv="Symantec Antivirus"
    print "Stopping", srv, "service: ",
    cmd = r'C:\WINDOWS\system32\net.exe'
    cmd = '%s stop "%s"' % (cmd,srv)
    rc = os.system( cmd )
    time.sleep(20)
    print rc

    # remove any older .xdb files
    old_xdb_list = AVPATH + r'\*.xdb'
    rm_list = glob.glob( old_xdb_list )
    if len(rm_list) > 0:
        for fname in rm_list:
            try:
                print "Removing old .xdb file:", fname
                os.remove( fname )
            except IOError, e:
                print "IO Error:", e
                print "While attempting to remove %s" % ( fname )
                print

    # move def file to it's final destination

    try:
        shutil.move(def_file, AVPATH)
        time.sleep(2)
    except IOError, e:
        print "IO Error:", e
        print "While attempting to move %s to %s" % (def_file,AVPATH)
        print
    except:
        print "Unknown error while attempting to move %s to %s" % (def_file,AVPATH)
        print
    
    # restart services
    print

    srv="DefWatch"
    print "Starting", srv, "service: ",
    cmd = r'C:\WINDOWS\system32\net.exe'
    cmd = '%s start "%s"' % (cmd,srv)
    rc = os.system( cmd )
    time.sleep(10)
    print rc

    srv="Symantec Antivirus"
    print "Starting", srv, "service: ",
    cmd = r'C:\WINDOWS\system32\net.exe'
    cmd = '%s start "%s"' % (cmd,srv)
    rc = os.system( cmd )
    time.sleep(2)
    print rc

    print
    print "Program finished!"
    print

#############################################################################################

main()

# End of Script
atomicrabbit
Hi all,

I am trying to install sav 10 ce using the method explained by shark, but for some reason I am getting an error saying that "/passive" is an invalid switch... this is the code im using to run the installer:

CODE
START /WAIT "%CDROM%\I386\SVCPACK\Install\Applications\SAV10\Symantec AntiVirus.msi" /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS


Any ideas?? Please advice! TIA!!
cyberloner
QUOTE (atomicrabbit @ Jun 26 2006, 12:31 PM) *
Hi all,

I am trying to install sav 10 ce using the method explained by shark, but for some reason I am getting an error saying that "/passive" is an invalid switch... this is the code im using to run the installer:

CODE
START /WAIT "%CDROM%\I386\SVCPACK\Install\Applications\SAV10\Symantec AntiVirus.msi" /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS


Any ideas?? Please advice! TIA!!


START /WAIT "%CDROM%\I386\SVCPACK\Install\Applications\SAV10\Symantec AntiVirus.msi"<-- Remove this /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS" <--- Put here

working code

START /WAIT "%CDROM%\I386\SVCPACK\Install\Applications\SAV10\Symantec AntiVirus.msi /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS"
atomicrabbit
thanks, I will try that!!
atomicrabbit
Ok I tested the above code and when ran that line, it just opened up another command line window, and nothing happened. Is that what it is supposed to do?

It did not continue with my original batch file until I closed the new opened command line window...

This is my exact line of code:
CODE
START /WAIT "%CDROM%\Apps\Applications\SAV10\Symantec AntiVirus.msi /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS"


Why is it opening a new command line window?? and not doing anything until i close that new window??
cyberloner
QUOTE (atomicrabbit @ Jun 30 2006, 11:08 AM) *
Ok I tested the above code and when ran that line, it just opened up another command line window, and nothing happened. Is that what it is supposed to do?

It did not continue with my original batch file until I closed the new opened command line window...

This is my exact line of code:
CODE
START /WAIT "%CDROM%\Apps\Applications\SAV10\Symantec AntiVirus.msi /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS"


Why is it opening a new command line window?? and not doing anything until i close that new window??


your problem could be Symantec AntiVirus.msi
ren the file name to sav.msi maybe help
atomicrabbit
Thanks, I will try that and get back to you. If I don't reply, it probably worked smile.gif
atomicrabbit
QUOTE (cyberloner @ Jun 30 2006, 05:11 PM) *
your problem could be Symantec AntiVirus.msi
ren the file name to sav.msi maybe help


sad.gif it's doing the same thing sad.gif

I renamed the file to sav.msi and its still opening a blank command window. This is the code I used.

CODE
START /WAIT "%CDROM%\Apps\Applications\SAV10\sav.msi /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS"


Whats going on?? mad.gif
cyberloner
QUOTE (atomicrabbit @ Jul 3 2006, 11:38 PM) *
QUOTE (cyberloner @ Jun 30 2006, 05:11 PM) *

your problem could be Symantec AntiVirus.msi
ren the file name to sav.msi maybe help


sad.gif it's doing the same thing sad.gif

I renamed the file to sav.msi and its still opening a blank command window. This is the code I used.

CODE
START /WAIT "%CDROM%\Apps\Applications\SAV10\sav.msi /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS"


Whats going on?? mad.gif


START /WAIT "%CDROM%\\Apps\\Applications\\SAV10\\sav.msi /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS"

add double slash see.... \\

my code

SAV\\sav.msi /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS
atomicrabbit
can anyone help me with this problem?? Is anyone experienceing the same problem??
Shark007
QUOTE (atomicrabbit @ Jun 26 2006, 01:31 PM) *
Hi all,

I am trying to install sav 10 ce using the method explained by shark, but for some reason I am getting an error saying that "/passive" is an invalid switch... this is the code im using to run the installer:

CODE
START /WAIT "%CDROM%\I386\SVCPACK\Install\Applications\SAV10\Symantec AntiVirus.msi" /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS


Any ideas?? Please advice! TIA!!

1st of all, my instruction applied to a Corporate version, you are using CE.
2nd, the /passive switch requires windows installer 3.0 or greater. If the passive switch isnt accepted by whatever version of windows you are using, try /qb as a replacement.
3rd, I stopped using Symantec because, in my experience, it was a resource hog i could do without. I've personally switched to NOD32 for my antivirus needs.

shark
1chaoticadult
QUOTE (Shark007 @ Jul 17 2006, 01:20 PM) *
QUOTE (atomicrabbit @ Jun 26 2006, 01:31 PM) *

Hi all,

I am trying to install sav 10 ce using the method explained by shark, but for some reason I am getting an error saying that "/passive" is an invalid switch... this is the code im using to run the installer:

CODE
START /WAIT "%CDROM%\I386\SVCPACK\Install\Applications\SAV10\Symantec AntiVirus.msi" /passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS


Any ideas?? Please advice! TIA!!

1st of all, my instruction applied to a Corporate version, you are using CE.
2nd, the /passive switch requires windows installer 3.0 or greater. If the passive switch isnt accepted by whatever version of windows you are using, try /qb as a replacement.
3rd, I stopped using Symantec because, in my experience, it was a resource hog i could do without. I've personally switched to NOD32 for my antivirus needs.

shark


Shark you said symantec was resource hog. I failed to see this. Could you explain this a little more? I'm just curious.
PP the sailor
/passive RUNLIVEUPDATE=0 REBOOT=REALLYSUPPRESS anyone have any experience if this switch will also work for Symantec Client Security?
chon_
PP the sailor:
yes it does
cyberloner
i change my av with kaspersky now.... bye bye symantec ...
give chance to use with this av after norton 2005 cause 2006 sux...
but symantec av or system security is a failure after all ............
detect less... and keep detect the file that is not a virus such as cmdow...
click on spyware also let it install .... firewall that block my msn .... a lot problems than help me........... slow down my system even more....
Shark007
QUOTE (1chaoticadult @ Jul 17 2006, 05:36 PM) *
Shark you said symantec was resource hog. I failed to see this. Could you explain this a little more? I'm just curious.
ok, i'll try. resource hog is probabably not the correct term.. I do an extreme amount of file move / copy / delete operations, and this type of activity seemed slow. once i killed the symantec real time proccesses , this again went smoothly. since i switched to NOD32, i dont expererience these slowdowns which to me, were very annoying. I wont go back to symantec simply because i am quite pleased with NOD32's performance and ability, which, in my opinion, matches symantecs.

shark
Sunil
pretty good post... Unattended dvds saved me a bunch of time while i was doing my final project

smile.gif

Sunil
imdos
I have modified the script from jftuga to my own needs. This is for Linux and Unices only at the moment. You could compare it with the script from jftuga which works on Windows.

CODE
#!/usr/bin/python
"""
Version 1.02

Symantec Antivirus 8.x, 9.x, 10.x Coporate Edition XDB Definition Updater
Mar-17-2005
-John Taylor

Modified by Sander Nieuwenhuizen @ Sep-27-2006

Automatically updates XDB virus definitions from Symantec's web site.
The program checks if the download directory exists. Otherwise it will create the directory from AVPATH.

Checks if it already has downloaded the latest version.


If you would like you could modify the variables WEBPAGE, TMPPATH and AVPATH
"""
WEBPAGE="http://securityresponse.symantec.com/avcenter/download/pages/US-SAVCE.html"
TMPPATH=r'/tmp/'
AVPATH=r'/install/packages/sav-9.0/update/'


"""
DO NOT EDIT BELOW THIS LINE !!!!
"""

import sys,re,urllib,urllib2,md5,os.path,os,shutil,time,glob,errno
URLRE = re.compile("""href="(http://definitions.symantec.com/defs/xdb/.*?)">""",re.IGNORECASE)
MD5RE = re.compile("""href="/avcenter/refa.html#md5">MD5</a>:(.*?)<a""",re.IGNORECASE|re.MULTILINE)

#############################################################################################
def _mkdir(newdir):
    """works the way a good mkdir should :)
        - already exists, silently complete
        - regular file in the way, raise an exception
        - parent directory(ies) does not exist, make them as well
    """
    if os.path.isdir(newdir):
        pass
    elif os.path.isfile(newdir):
        raise OSError("a file with the same name as the desired " \
                      "dir, '%s', already exists." % newdir)
    else:
        head, tail = os.path.split(newdir)
        if head and not os.path.isdir(head):
            _mkdir(head)
        #print "_mkdir %s" % repr(newdir)
        if tail:
            os.mkdir(newdir)

def main():
    
    _mkdir(AVPATH)

    print
    print "Retrieving:"
    print WEBPAGE

    local_only = 0   # Just for script development & debugging
    def_file = None

    if 1 != local_only:
        try:
            url = urllib2.urlopen( WEBPAGE )
            page = url.read()
        except urllib2.HTTPError, e:
            print
            print e
            print
            sys.exit()
        except:
            print
            print "Error retrieving url:", WEBPAGE
            print
            sys.exit()

        data = page.split()
        for line in data:
            match = URLRE.match(line)
            if None != match:
                def_file_url = match.group(1)
                break

        print
        print "def_file_url:", def_file_url
        slots = def_file_url.split( "/" )
        def_file = slots[-1:][0]
    test_file = def_file
        def_file = TMPPATH + def_file
    print "def_file:", def_file
        match = MD5RE.search(page)
        md5sum = match.groups(1)[0].strip()
        print "md5sum:", md5sum
    
    if os.path.isfile( AVPATH + test_file):
        print
        print "File already exists:", test_file, "@", AVPATH
        print
        print "Program is exiting"
        print
        sys.exit()
        print
        if os.path.isfile( def_file ):
            print "File already exists:", def_file
        print "Deleting."
            os.unlink( def_file )
    print "Downloading:", def_file_url
    urllib.urlretrieve( def_file_url, def_file )
    else:
        # Just for debugging
        def_file = "vd1cd412.xdb"
        md5sum="52D5B99589D4D2C01E4E29A2ED2EC3B4"

    print "Checking md5:",
    fp = open(def_file,"rb")
    def_file_data = fp.read()
    fp.close()

    m = md5.new()
    m.update( def_file_data )
    digest = m.hexdigest().upper()
    print digest
    if digest == md5sum:
        print "MD5 Hashes match."
    else:
        print "MD5 Hashes DO NOT MATCH."
        print "\t expected: ", md5sum
        print "\t received: ", digest
        sys.exit()

    # remove any older .xdb files
    old_xdb_list = AVPATH + r'*.xdb'
    rm_list = glob.glob( old_xdb_list )
    if len(rm_list) > 0:
        for fname in rm_list:
            try:
                print "Removing old .xdb file:", fname
                os.remove( fname )
            except IOError, e:
                print "IO Error:", e
                print "While attempting to remove %s" % ( fname )
                print

    # move def file to it's final destination

    try:
        shutil.move(def_file, AVPATH)
        time.sleep(2)
    except IOError, e:
        print "IO Error:", e
        print "While attempting to move %s to %s" % (def_file,AVPATH)
        print
    except:
        print "Unknown error while attempting to move %s to %s" % (def_file,AVPATH)
        print
    
    print
    print "Program finished!"
    print

#############################################################################################

main()

# End of Script



The author of this script is John Taylor as mentioned above i only modified it to my needs. You may modify it to your own needs. And don't blame me if it won't work on your system. whistling.gif
Bilou_Gateux
Updating Symantec AntiVirus Corporate Edition virus definitions without using LiveUpdate

Windows XDBdown.cmd script
QUOTE
@set COPY_XDB_TO="c:\Program Files\SAV\"
@set RAPIDRELEASE=0
@set XDBTEMP=%temp%

@rem ==============================================================================================
@rem Set RAPIDRELEASE=1 to download repidrelease definitions, RAPIDRELEASE=0 for fully QA'd definitions (standard).
@rem Change COPY_XDB_TO= to point to the SAV CE server directory (or where you want the XDB file copied)
@rem you can also run the script directly from the SAV folder and it will copy the definitions there.
@rem XDBTEMP is the temp folder the script will use while downloading definitions, set to %temp% to use system default
@rem ==============================================================================================
@rem Script for downloading virus definition updates for
@rem Symantec Antivirus Corporate Edition version 8.x and 9.x
@rem This unsupported utility is provided for your convenience only.
@rem Symantec Technical Support cannot provide support for the creation,
@rem use, or troubleshooting of Windows scripts.

@rem ==============================================================================================
@echo off


rem ========= check that OS is win2k or better ============
if not "%OS%" == "Windows_NT" goto BADOS
if "%APPDATA%" == "" goto BADOS

rem ========= make sure to be in script directory ============
if exist rtvscan.exe set COPY_XDB_TO=%CD%
for %%i in (%0) do @%%~di
for %%i in (%0) do @cd %%~pi
if exist rtvscan.exe set COPY_XDB_TO=%CD%

rem =========== get name/size of last file from "xdbdown.lastfile" ============
if not exist xdbdown.lastfile goto NOLAST
for /f "tokens=1" %%f in (xdbdown.lastfile) do set lastfile=%%f
for /f "tokens=2" %%f in (xdbdown.lastfile) do set lastsize=%%f
:NOLAST

rem ========= jump to temp dir ============
if not exist "%XDBTEMP%\xdbtmp" md "%XDBTEMP%\xdbtmp"
if exist "%XDBTEMP%\xdbtmp\*.xdb" del "%XDBTEMP%\xdbtmp\*.xdb"
pushd "%XDBTEMP%\xdbtmp"

rem =========== make ftp script for checking xdb directory on ftp ===========
echo open ftp.symantec.com> check.txt
echo anonymous>> check.txt
echo email@address.com>> check.txt
set xdbfolder=xdb
if "%RAPIDRELEASE%" == "1" set xdbfolder=rapidrelease
echo cd AVDEFS/norton_antivirus/%xdbfolder%>> check.txt
echo dir *.xdb chk.lst>> check.txt
echo bye>> check.txt

rem =========== get filename and size from ftp ============
if exist chk.lst del chk.lst
ftp -s:check.txt
if not exist chk.lst goto ERROR
for /f "tokens=9" %%f in (chk.lst) do set xdbfile=%%f
for /f "tokens=5" %%f in (chk.lst) do set xdbsize=%%f
if "%xdbfile%" == "" goto ERROR
if "%xdbsize%" == "" goto ERROR

rem =========== compare ftp name/size to local ============
if not "%xdbfile%" == "%lastfile%" goto DOWNLOAD
if not "%xdbsize%" == "%lastsize%" goto DOWNLOAD
popd
echo.
echo Already downloaded latest %xdbfolder% file: %xdbfile% - size %xdbsize%
echo %date% %time% Already downloaded latest %xdbfolder% file: %xdbfile% - size %xdbsize% >> XDBdown.log
goto END

:DOWNLOAD
rem ========= make ftp script for downloading new xdb file =========
echo open ftp.symantec.com> down.txt
echo anonymous>> down.txt
echo email@address.com>> down.txt
echo cd AVDEFS/norton_antivirus/%xdbfolder%>> down.txt
echo bin>> down.txt
echo hash>> down.txt
echo get %xdbfile%>> down.txt
echo bye>> down.txt

rem ============= download new file =================
ftp -s:down.txt
for %%i in (%xdbfile%) do @set newsize=%%~zi
if not "%newsize%" == "%xdbsize%" goto ERROR
move %xdbfile% %COPY_XDB_TO%
if exist %xdbfile% goto ERRORMOVE
popd
echo.
echo %xdbfile% %xdbsize% > xdbdown.lastfile
echo Downloaded new %xdbfolder% file: %xdbfile% - size %xdbsize%
echo %date% %time% Downloaded new %xdbfolder% file: %xdbfile% - size %xdbsize% >> XDBdown.log
goto END


:ERROR
popd
echo.
echo ERROR: problem downloading %xdbfolder% definition file. xdbfile=%xdbfile% xdbsize=%xdbsize% newsize=%newsize% (lastfile=%lastfile% lastsize=%lastsize%).
echo %date% %time% ERROR: problem downloading %xdbfolder% definition file. xdbfile=%xdbfile% xdbsize=%xdbsize% newsize=%newsize% (lastfile=%lastfile% lastsize=%lastsize%). >> XDBdown.log
type "%XDBTEMP%\xdbtmp\chk.lst" >> XDBdown.log
echo. >> XDBdown.log
goto END

:ERRORMOVE
popd
echo.
echo ERROR: problem moving definition file to SAV folder. COPY_XDB_TO=%COPY_XDB_TO% newsize=%newsize% (lastfile=%lastfile% lastsize=%lastsize%).
echo %date% %time% ERROR: problem moving definition file to SAV folder. COPY_XDB_TO=%COPY_XDB_TO% newsize=%newsize% (lastfile=%lastfile% lastsize=%lastsize%). >> XDBdown.log
goto END

:BADOS
echo.
echo ERROR: this script needs Windows 2000 or better.
echo %date% %time% ERROR: this script needs Windows 2000 or better. >> XDBdown.log
goto END

:END
if exist "%XDBTEMP%\xdbtmp\check.txt" del "%XDBTEMP%\xdbtmp\check.txt"
if exist "%XDBTEMP%\xdbtmp\down.txt" del "%XDBTEMP%\xdbtmp\down.txt"
if exist "%XDBTEMP%\xdbtmp\chk.lst" del "%XDBTEMP%\xdbtmp\chk.lst"
rd "%XDBTEMP%\xdbtmp"
set COPY_XDB_TO=
set RAPIDRELEASE=
set lastsize=
set lastfile=
set newsize=
set xdbsize=
set xdbfile=
set xdbfolder=
set xdbtemp=
1chaoticadult
QUOTE (Shark007 @ Jul 19 2006, 06:45 PM) *
QUOTE (1chaoticadult @ Jul 17 2006, 05:36 PM) *
Shark you said symantec was resource hog. I failed to see this. Could you explain this a little more? I'm just curious.
ok, i'll try. resource hog is probabably not the correct term.. I do an extreme amount of file move / copy / delete operations, and this type of activity seemed slow. once i killed the symantec real time proccesses , this again went smoothly. since i switched to NOD32, i dont expererience these slowdowns which to me, were very annoying. I wont go back to symantec simply because i am quite pleased with NOD32's performance and ability, which, in my opinion, matches symantecs.

shark



I switched to NOD32. Alot better than Symantec. I now see why u switched.
mazin
QUOTE (atomicrabbit @ Jul 17 2006, 06:17 PM) *
can anyone help me with this problem?? Is anyone experienceing the same problem??


I've just started to read this topic, to see if there's something new that I could play with, since I've already had SAV 10!
I can't see what's new here. Silent switches I used for SAV 9 are what I use for 10.

They are the same: /QB RUNLIVEUPDATE=0 REBOOT=ReallySuppress

So, what's different here from the other 13-page thread? tongue.gif

@ atomicrabbit

If you haven't got a solution yet, this works for me:

QUOTE
START "" /WAIT "%CDROM%\Apps\Applications\SAV10\sav.msi" /QB RUNLIVEUPDATE=0 REBOOT=ReallySuppress


It's exactly the same line I used for SAV 9!
owikh84
but the autoupdate still pop up after installation completed...
Floppy
Hey

Does anbody know the size of SymantecAntiVirus 10.1.5.
My old 10.0.1 was 210Mb, but the one I got now (10.1.5) is about 28Mb huh.gif
mazin
QUOTE (Floppy @ Nov 10 2006, 05:23 PM) *
but the one I got now (10.1.5) is about 28Mb huh.gif

Without LUSETUP.EXE, yes!
Floppy
QUOTE (mazin @ Nov 10 2006, 12:22 PM) *
QUOTE (Floppy @ Nov 10 2006, 05:23 PM) *
but the one I got now (10.1.5) is about 28Mb huh.gif

Without LUSETUP.EXE, yes!



And LUSETUP.EXE is what? ph34r.gif




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.