cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 17

How to enable Auto Updates for SuperDAT file

Jump to solution

Hiii,

May you please help me find How to enable Automatic Update for SuperDAT file instead of manual download,

Here my Scenario:

From SECURITY UPDATES i download the latest sdat5885.exe in addition to update.ini  files.

Moreover, from resperatory updates i am downloading URL path from: update.nai.com/Products/commonupdater

and Replication UNC path: ( \\ServerName\Shared_Folder) with port = 80

Download credentials( Anonymous) and  Replication credentials ( Domain )  are both valid

Waiting your support as soon as possible,

Thanks for your coopertion.

1 Solution

Accepted Solutions
rmetzger
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 15 of 17

Re: How to enable Auto Updates for SuperDAT file

Jump to solution

ksamir wrote:

may you provide me with the batch file code.

thanks for your efforts rmetzger

Though I could provide you the Source Code to my Batch file, I believe it is beyond the perview of this forum to provide these solutions intact. Further, I would need to modify it for your custom use. At some point, you would need to change it for your needs. At that point, you would need to learn Batch file coding and all the nuances and idiosynchrasies of MS batch commands. Again, I do not think this is the right place to do this training.

However, I did provide the one area that had me stumped originally. Parsing gdeltaavv.ini was the key to automating the process, as the sdat file changes name daily.

The strategy provided earlier is:

  1. Download gdeltaavv.ini from:   http://update.nai.com/products/commonupdater/gdeltaavv.ini
  2. Parse gdeltaavv.ini for the latest sdat number using the command: 

for /F "usebackq skip=2 delims== tokens=1,2*" %%m in (`Find /I  "CurrentVersion" gdeltaavv.ini`) do set Curr=%%n

  3.  Use the latest sdat number (%Curr%) to download the latest sdat%Curr%.exe from:

http://download.nai.com/products/licensed/superdat/english/intel

I hope this is enough to get you started.

Let us know if you need more details (related to McAfee VSE) and how things are going.

Ron Metzger

Thanks,
Ron Metzger

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

View solution in original post

16 Replies
JoeBidgood
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 17

Re: How to enable Auto Updates for SuperDAT file

Jump to solution

This is not possible, I'm afraid - there is no automated mechanism for downloading superdats.

Regards -

Joe

Former Member
Not applicable
Report Inappropriate Content
Message 3 of 17

Re: How to enable Auto Updates for SuperDAT file

Jump to solution

May you provide me with the steps to enable the automated mechanism for downloading superdats.

Regards.

JoeBidgood
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 4 of 17

Re: How to enable Auto Updates for SuperDAT file

Jump to solution

Sorry, I think you have misunderstood. This is not possible: there is no automated mechanism.

Regards -

Joe

apoling
Level 14
Report Inappropriate Content
Message 5 of 17

Re: How to enable Auto Updates for SuperDAT file

Jump to solution

Hi,

not sure entirely of your intention, but as for ePO master repositroy update, it seems you can use selective updating to download the superdat. Edit your ePO server task (Automation) which controls the master repository pull and in step Actions you can choose Seleced packages under Package types, press Select packages button and check the Superdat checkbox.

This downloads the superdat to the master repository.

This might - just might - allow you setting another checkbox under the client update task in Package types\Selected packages\Select packages button (there might be here a new checkbox for the superdat. We do not download superdat to master repository, so this second statement is a theory only.)

It is worth a try.

Attila

JoeBidgood
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 6 of 17

Re: How to enable Auto Updates for SuperDAT file

Jump to solution

Er - unfortunately that's not correct. The superdat package is not posted to the commonupdater download sites.

The option you describe would download a superdat package if one were present in the source repository - so if you were pulling from a source controlled by another ePO server that had a superdat checked in, then it would work - but the original poster is (I believe) looking for a way to automatically download the superdat each day from McAfee.

Regards -

Joe

Former Member
Not applicable
Report Inappropriate Content
Message 7 of 17

Re: How to enable Auto Updates for SuperDAT file

Jump to solution

Dear Friends, i am facing a serious problem and i am looking forward on a way how to automatically download superdat each day from mcafee.

which means i dont wanna download it manually eveyday.

please provide me with the suitable solution may fit.

Regards.

JoeBidgood
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 8 of 17

Re: How to enable Auto Updates for SuperDAT file

Jump to solution

As I've said, I'm afraid there is no way to do this in ePO. You will need to find another method - a scheduled batch job using command-line ftp or wget, for example.

Regards -

Joe

Former Member
Not applicable
Report Inappropriate Content
Message 9 of 17

Re: How to enable Auto Updates for SuperDAT file

Jump to solution

do you think it is usefull to try it from mcafeehttp: update.nai.com/Products/commonupdater

friends i need a solution not a problem

rmetzger
Reliable Contributor
Reliable Contributor
Report Inappropriate Content
Message 10 of 17

Re: How to enable Auto Updates for SuperDAT file

Jump to solution

ksamir wrote:

do you think it is usefull to try it from mcafeehttp: update.nai.com/Products/commonupdater

friends i need a solution not a problem

For the SDATxxxx.exe file, try:

http://download.nai.com/products/licensed/superdat/english/intel

Within that directory will reside the SDATxxxx.exe file. xxxx will change day to day, and 'todays' version can be found by parsing another file:

http://update.nai.com/products/commonupdater/gdeltaavv.ini.

gdeltaavv.ini will list the current production release of the SDAT file. The first 4 lines look something like this:

[Contents]
LastIncremental=1382
Created=Sat Feb 06 11:11:04 2010
CurrentVersion=5884

Where CurrentVersion lists the latest SDAT file that can be found, that was Created on the previous line.

Like Joe Bidgood said, you can use wget to retrieve these files, though I use cURL. In any case, you will need to code your own batch file and then figure out how to schedule it to run 'automatically.'

First, download gdeltaavv.ini, parse it for the current version, then download the sdat file.

A snippet of batch file code to parse gdeltaavv.ini:

for /F "usebackq skip=2 delims== tokens=1,2*" %%m in (`Find /I "CurrentVersion" gdeltaavv.ini`) do set Curr=%%n

Now, %Curr% should contain the value of the SDat file. Note: This line requires Windows 2000 and above and assumes that gdeltaavv.ini is in the current directory.

Ok, you are now ready to download the SDAT file. Whether you use cURL or wget is entirely up to you. Please read the documentation of each product and decide for yourself how you want to proceed. I will leave this coding to you.

I usually check to see if I have already downloaded this file prior to downloading it again. No need in wasting Internet bandwidth.

Post back how you are doing and with any questions.

Have fun,

Ron Metzger

Message was edited by: rmetzger on 2/9/10 3:52:35 PM GMT-05:00

Message was edited by: rmetzger (removed link to commonupdater2 as this does not currently provide gdeltaavv.ini.) on 2/10/10 3:32:32 PM GMT-05:00
Thanks,
Ron Metzger

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community