Author Topic: deftask.xml  (Read 5545 times)

0 Members and 1 Guest are viewing this topic.

shgoh

  • Guest
deftask.xml
« on: June 25, 2004, 02:00:02 PM »
according to what i found out

Quote
On-demand, the user just need to turn on archive scanning.
On-access, avast! by default doesn't look for viruses in packed files. However, it can be enabled. Look at the deftasks.xml file in the avast! folder. All you need to do to enable scanning of archives on-access is to add the line:

<STANDARD--ScanPackers>EXE;ZIP;MIME;RAR;ARJ;TAR;GZ</STANDARD--ScanPackers>

after the line
<STANDARD--InvalidEntry>1</STANDARD--InvalidEntry>

however the added line disappeared after you reboot...anyone else experience the same thing...let's solve this puzzle ;D

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67195
Re:deftask.xml
« Reply #1 on: June 25, 2004, 05:52:07 PM »
Start testing... 8)
The best things in life are free.

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:deftask.xml
« Reply #2 on: June 25, 2004, 05:53:35 PM »
Yes, the line disappers but do you need it, really? ;D
The settings don't get reset, though.. ;)
If at first you don't succeed, then skydiving's not for you.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67195
Re:deftask.xml
« Reply #3 on: June 26, 2004, 12:38:12 AM »
Yes, the line disappers but do you need it, really? ;D

Well, it is good to set and to save the options...  :-\

The settings don't get reset, though.. ;)

What settings? These ones or the Standard Shield?
The best things in life are free.

shgoh

  • Guest
Re:deftask.xml
« Reply #4 on: June 27, 2004, 12:00:25 AM »
i guess we need clearer explanation vlk :-\

thanks :D

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:deftask.xml
« Reply #5 on: June 27, 2004, 10:11:54 AM »
OK folks it's no magic.

deftasks.xml is not a configuration storage. That is, the configuration is not read from it when being used.

Rather, it's a tool that lets us enforce certain settings to your current config. I.e. it is read and parsed every time avast starts (on system boot, usually), and all settings from it are transfered to the actual config storage.

The reverting-to-the-original-version thing you're seeing is a consequence of the fact that deftasks.xml is normal part of avast installation and therefore the avast auto-repair feature always replaces it to the original version. However, this is not a problem as the "import" procedure from the modified version is already done at that moment.


I hope this clears it a bit. ;)
Vlk
If at first you don't succeed, then skydiving's not for you.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67195
Re:deftask.xml
« Reply #6 on: June 27, 2004, 04:30:41 PM »
This is not a problem as the "import" procedure from the modified version is already done at that moment.

Well, if we set the attribute the default.xml file to 'Read-only' after changing it like stated above (addind lines), will it be imported still changed?
Will this be useful?
From your explanations it seems not but if it's more secure 'import' the default config than do nothing (just read the 'actual' config), why can't we configure default.xml to be and stay at a higher security level?
The best things in life are free.

shgoh

  • Guest
Re:deftask.xml
« Reply #7 on: June 30, 2004, 07:21:34 AM »
thanks vlk...we are much clearer now than before..

but then why can't it be like what technical has suggested?? ???

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67195
Re:deftask.xml
« Reply #8 on: July 09, 2004, 03:50:16 PM »
The best things in life are free.