Jump to content











Photo
- - - - -

Avira AntiVir Free


  • Please log in to reply
39 replies to this topic

#1 billonious

billonious

    Silver Member

  • .script developer
  • 528 posts
  • Location:greezeland
  • Interests:curiosity

Posted 06 February 2009 - 10:22 PM

  • for LiveXP (for vistape use nightman's)
  • no program files are included in the script. Everything is downloaded at the first time. Internet connection needed.
  • updates can be downdloaded either at built time or at will (prior to the built)
  • two archieves, installer & updates, are stored in workbench for later use
  • a radio button switches between common/workbench and livexp/workbench for global settings or not
  • takes up to 40 mb fully deployed in the bootdisk
  • runs from cd. In the near future, running from ramdisk will be added
  • unpack command is used instead of the oldie ShellExecute,Hide,#$q%Tools%\7z.exe....

testers & bug catchers needed. any comment wellcome

download script :cheers:

homepage B)

edit: Script updated (9 Feb 09) to fix configuration panel, to add right click contex menu, and some registry fixes

:cheers:

Edited by billonious, 16 March 2009 - 06:28 PM.
added Lancelot's mods (16.Mar.09)


#2 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 07 February 2009 - 02:24 AM

I haven't tried it yet, and may not be able to in the next few days.

Have you tried it without FBWF? I've got a version that looks much like yours and works in both LiveXP and VistaPE as long as it's running from a writable directory. (Must run from RAM in VistaPE)

I notice you aren't setting any of the update dates in the registry. Does Avira display the correct virus update date when you run it in LiveXP?

#3 billonious

billonious

    Silver Member

  • .script developer
  • 528 posts
  • Location:greezeland
  • Interests:curiosity

Posted 07 February 2009 - 07:47 AM

it seems I catched you before you publish your own avira script. :poke:

I tried it with active FBWF as long as I take it for granted that a writeable root is used by everybody in the modern times of api 27, wb76, no-licensed fbwf files ... and blah blah. On the other hand, ( I suppose) that any project doesn't use fbwf would be a minimal one, but neither antivirus nor RAM-hungry software is to run in which. In other words, who doesn't use any root-writing method, and if he does not (for his own reasons), why running a ram-consuming avira program?

I am going to make a self-exe of avira files so running from ramdrive at all, but I stopped as the script is already very complexful, and I am looking for bugs.

I notice you aren't setting any of the update dates in the registry. Does Avira display the correct virus update date when you run it in LiveXP?

As far as i know (I may make a mistake), avira program is reading a bunch of files (these ones included in ivdf definitions) directly for update dates but not registry entries.

But in this point i want your help, because I noticed a very strange problem.
In Vmware, it displays dates correctly,
in MS virtua PC too,
in Virtual Box works,
but in qemu it does not, so I though it has to do with qemu, not with script. Maybe qemu virtual bios has a malfunction in clock ("use local time" is checked). does it work for you?

cheers, bill petris

#4 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 07 February 2009 - 02:14 PM

You can add some registry entires that define the last update as a Unix time stamp. NightMan's script does, and when Avira starts it always complains that the defintions are too old. So when those registry entries are present it doesn't read the files. I assumed it never read the files, just updated the registry when it updated the files, so I wrote a simple AutoIT script that writes a Unix time stamp to an INI file and my script can then read it. See HKCU\Software\Avira\AntiVir PersonalEdition Classic\LastUpdate. I'll have to try it without those entries. I'll also try it in qemu.

I like to know the limitations of scripts. I don't know how many people use FBWF. Maybe most people do. I would still like to know if FBWF is required. It isrequired for my script, so if yours somehow avoids that need I would like to know how it does it.

#5 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 07 February 2009 - 02:55 PM

OK, with those registry entries removed from my script it says last update "not performed" in VirtualPC. I'l lhave to try your script.

#6 billonious

billonious

    Silver Member

  • .script developer
  • 528 posts
  • Location:greezeland
  • Interests:curiosity

Posted 07 February 2009 - 05:44 PM

. It isrequired for my script, so if yours somehow avoids that need I would like to know how it does it.

Yes, it needs fbwb, though I haven't tried without.

An approach without fbwb is packing avira files in a self-exe & extracting fully in ramdisk. What do you feel for that?

About updates (definitions) date... Extract avira (antivir_workstation_winu_en_h.zip) in a folder . Drop in this folder the contents of update-pack (ivdf_fusebundle_nt_en.zip). When launching program, notice that the last update of virus definition files is newer.

But I face a bug that I can't see how to deal with. Despite I recorded every single registry change in a virtual machine during avira installation, I can't make scheduler start in pe. Without scheduler loaded, no live update can run.

:poke:

#7 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 07 February 2009 - 07:14 PM

Yes, it needs fbwb, though I haven't tried without.

OK.

An approach without fbwb is packing avira files in a self-exe & extracting fully in ramdisk. What do you feel for that?

I think that the best solution is to have a front-end for Avira that allows one to copy it to a RAMdisk or even a local hard disk at startup time if it can't be updated in-place. See my Spybot script in the download center for an example of this. But I'm unlikely to get to doing this for Avira in the near future.

About updates (definitions) date... Extract avira (antivir_workstation_winu_en_h.zip) in a folder . Drop in this folder the contents of update-pack (ivdf_fusebundle_nt_en.zip). When launching program, notice that the last update of virus definition files is newer.

I'm still experimenting ...

But I face a bug that I can't see how to deal with. Despite I recorded every single registry change in a virtual machine during avira installation, I can't make scheduler start in pe. Without scheduler loaded, no live update can run.

I think the scheduler is runing in my version ... I can't test right now. Try my Avira JonF. If you've downloaded it before, download it again ... I just uploaded a slightly modified version.

#8 billonious

billonious

    Silver Member

  • .script developer
  • 528 posts
  • Location:greezeland
  • Interests:curiosity

Posted 08 February 2009 - 07:05 AM

1. JohnF Avira script (bug catched)

Try my Avira JonF. If you've downloaded it before, download it again ... I just uploaded a slightly modified version.


Hey jonh, I get the following error with your script
FileCopy - Failed to copy [%BaseDir%\Workbench\Common\Avira\avipbb.inf] to: [%BaseDir%\Target\LiveXP\Windows\Inf]

It is caused by this line:

FileCopy,%GlobalTemplates%\%ProgramFolder%\avipbb.inf,%TargetDir%\Windows\Inf


Since there is no Windows folder in livexp but i386 and since you target in a cross-project script, I suggest you change Windows entry to %Target_Win%.

2. About avira's scheduler

I think the scheduler is runing in my version

I just have tested it. No it doesn't work. :poke: Neither Nightman's script (after syntax modifications for xp) launches avirScheduler in livexp

News: avira's scheduler runs as service in windows. But in my Livexp project, avira's scheduler service is in the mysterious state of "eternal" starting but not started or stoped. It can't either start or stop because buttons are disabled for sheduler only. Any idea ? Do i make something wrong? Run my script to check if scheduler works in your project.





Regards,
Bill Petris

#9 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 08 February 2009 - 01:57 PM

I missed that "WIndows" error. Thanks.

I ran your script and the service didn't run. I'll try mine again.

#10 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 08 February 2009 - 03:35 PM

The Avira scheduler service is running ... I wonder if it needs the WIndows scheduler service.

#11 billonious

billonious

    Silver Member

  • .script developer
  • 528 posts
  • Location:greezeland
  • Interests:curiosity

Posted 08 February 2009 - 06:19 PM

The Avira scheduler service is running ... .


do you mean that live update does work? Do u tested it in livexp or you work on vista?

avira schedule is at "starting" mode but is is fault because it should be "started"

I wonder if it needs the WIndows scheduler service


no, it does not.
Proof is that avira shows two scheduled tasks (daily update, weekly scan) but windows tasks show a big nothing

#12 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 08 February 2009 - 08:15 PM

Hum ... I thought I had the scheduler runing, but now it starts and stops immediately.

#13 billonious

billonious

    Silver Member

  • .script developer
  • 528 posts
  • Location:greezeland
  • Interests:curiosity

Posted 08 February 2009 - 09:18 PM

Hum ... I thought I had the scheduler runing, but now it starts and stops immediately.

I had the same experience. I had many hours today digging pe registry & (virtual machine) xp registry, looking for details, bugs & tricks.

Though I am not sure, it may depends on windows (pe) schedule service (u agree with) that is disabled (? neither am I sure) in pe. Ask Odin (Peter :poke: ) as hojope is his child.
:poke:

#14 billonious

billonious

    Silver Member

  • .script developer
  • 528 posts
  • Location:greezeland
  • Interests:curiosity

Posted 09 February 2009 - 09:48 PM

You can add some registry entires that define the last update as a Unix time stamp. NightMan's script does, and when Avira starts it always complains that the defintions are too old. So when those registry entries are present it doesn't read the files. I assumed it never read the files, just updated the registry when it updated the files, so I wrote a simple AutoIT script that writes a Unix time stamp to an INI file and my script can then read it. See HKCU\Software\Avira\AntiVir PersonalEdition Classic\LastUpdate. I'll have to try it without those entries. I'll also try it in qemu.

I like to know the limitations of scripts. I don't know how many people use FBWF. Maybe most people do. I would still like to know if FBWF is required. It isrequired for my script, so if yours somehow avoids that need I would like to know how it does it.


in the file build.dat is what you are looking for.

#15 bmcclurg

bmcclurg

    Newbie

  • Members
  • 17 posts
  •  
    United States

Posted 15 February 2009 - 08:06 PM

I think there's a little bug- it won't create a startmenu shortcut. It seems there should be another '%' after 'checkbox4' and before the comma (line 28) in avira.Script.

#16 billonious

billonious

    Silver Member

  • .script developer
  • 528 posts
  • Location:greezeland
  • Interests:curiosity

Posted 15 February 2009 - 08:23 PM

fixed.
have you succeed in running live-update ?
:poke:

#17 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 16 March 2009 - 04:29 PM

Hi billonious

i cannot make test(s) but after reading topic, i made some minor changes to your script, i hope you like that:

added:
[Verify]

If {%Avira_4Free_billonious:Main.Selected%}

& !{%Boot SDI:Main.Selected%}

& !{%Create ISO:Interface.pCheckBox2%} Then

"Avira_4Free_billonious requires BootSDI or Create ISO FBWF"
added:
Contact=http://www.boot-land.net/forums/index.php?showtopic=7008
added-changed:
If,%pRadioButton2%,Equal,True,Set,%MyWorkbench%,"%BaseDir%\Workbench\Common\Avira_4Free_billonious"
added:
[Interface]

...

note_TextLabel1="Note: writable %SystemDrive% is necessary via either FBWF on CreateISO script or BootSDI script",1,1,240,280,290,29,8,Bold
changed: "Run from ram (boot.wim)" changed to "Run from ram" because LiveXP now supports "run from ram" (ps: reminding not tested with your script)

http://lancelot.winb..._billonious.rar

#18 billonious

billonious

    Silver Member

  • .script developer
  • 528 posts
  • Location:greezeland
  • Interests:curiosity

Posted 16 March 2009 - 06:30 PM

thank you Lancelot, I have just updated with your mods on the 1st post links.

#19 Van

Van
  • Members
  • 1 posts

Posted 17 March 2009 - 03:23 AM

Thanks for the script.
I'd like to report that while Avira works nice, the manual update (via fresh ivdf_fusebundle_nt_en.zip) does not. It just reports that the ivdf file is corrupt, even though that same file works just fine when used to update the Avira in my standard WinXP machine.
I guess it's not too much hustle to build a new ISO with updated AV every now and than... but I'd sure like to know if it's possible to update within the LiveXP via manual update.

#20 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 19 March 2009 - 01:17 PM

Thre's a new version of Avira Free, including spyware/adware detection and removal. I think that's unique in a free AV.

http://www.free-av.c..._antivirus.html

#21 dietlmann

dietlmann

    Newbie

  • Members
  • 12 posts

Posted 20 March 2009 - 10:35 AM

But now it's difficult to make a script for this new version because it needs Microsoft Visual C++ 2008 Redistributable for working.

#22 maanu

maanu

    Gold Member

  • Advanced user
  • 1134 posts
  •  
    Pakistan

Posted 30 August 2009 - 09:57 AM

@ billonious , JonF

hi ,

i have been digging into avira ( 7 , 8 , 9 ) . i have tried almost all the scripts that were made for the livexp .

http://www.boot-land...?showtopic=8671

but neither of them actually started the well known scheduler service

well actually in jonF's version , service starts and stop right at the spot . while in billonious , it dies not start at all .

BUT

when i tried avira 7 from an old ubcd4win (3.30 i guess or whatever before 3.50 ) , the scheduler service DID run . i forgot what i edited in the inf , but anyhow the scheduler service did start .

now thing is , when i fired up avira 7 , it does report that " scheduler service has been started " ok fair .

BUT

when i press on " update " , the module did not load at all . while i could see in services tab , scheduler service was running .

Medevil told me to register dll's in system 32 , but still the service did not work .

v 9 from latest ubcd4win did not even start up in livexp . but v 7 worked , scheduler service started ,but the moduler did not load up .

Created by Rdsok for UBCD4Win


so now we know , that avira update works in ubcd4win registry , but not in livexp .

now all we need is an expert of both world to cross link what livexp's registry needs that ubcd4win already have :frusty:

#23 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 30 August 2009 - 12:49 PM

Come on Guys you can do it your own :rofl:

All reqiured Registry stuff (and much more) is already inside the ubcd4win Plugin :frusty:

Microsoft Visual C++ 2008 Depencys
%windir%\WinSxS\Manifests\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e.cat

%windir%\WinSxS\Manifests\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e.manifest

%windir%\WinSxS\Manifests\x86_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_405b0943.cat

%windir%\WinSxS\Manifests\x86_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_405b0943.manifest



%windir%\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\msvcp90.dll

%windir%\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\msvcr90.dll

%windir%\WinSxS\x86_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_405b0943\mfc90u.dll

Also the service doesn't start isn't a real information, he usually gives an hint what's wrong :frusty:

#24 maanu

maanu

    Gold Member

  • Advanced user
  • 1134 posts
  •  
    Pakistan

Posted 30 August 2009 - 01:23 PM

@ jfx

not sure how to use it , i mean with whitch script i need to use it ? coz im sure it contains only registry entries ,No ?

it seems u have decided to leave that offer which u mentioned in my avira thread for coding a autoit script for downloading full updates while in pe mood .

good to hear that u r taking interest in making the 1ST fully working avira script . (i hope im not too much excited )

#25 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 30 August 2009 - 01:39 PM

I'm looking into it.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users