Avast WEBforum

Other => General Topics => Topic started by: shgoh on June 25, 2004, 02:00:02 PM

Title: deftask.xml
Post by: shgoh 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
Title: Re:deftask.xml
Post by: Lisandro on June 25, 2004, 05:52:07 PM
Start testing... 8)
Title: Re:deftask.xml
Post by: Vlk 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.. ;)
Title: Re:deftask.xml
Post by: Lisandro 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?
Title: Re:deftask.xml
Post by: shgoh on June 27, 2004, 12:00:25 AM
i guess we need clearer explanation vlk :-\

thanks :D
Title: Re:deftask.xml
Post by: Vlk 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
Title: Re:deftask.xml
Post by: Lisandro 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?
Title: Re:deftask.xml
Post by: shgoh 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?? ???
Title: Re:deftask.xml
Post by: Lisandro on July 09, 2004, 03:50:16 PM
In some way, this thread continues here: http://forum.avast.com/index.php?board=2;action=display;threadid=5795