Author Topic: Some more avast! service questions :-)  (Read 9902 times)

0 Members and 1 Guest are viewing this topic.

Offline Lars-Erik

  • Avast Evangelist
  • Sr. Member
  • ***
  • Posts: 394
    • Lars-Erik Østerud
Re: Some more avast! service questions :-)
« Reply #15 on: April 20, 2005, 04:08:48 PM »
Any how. Where is the XML-data stored?  I tried switch from ODBC to XML to test (I like testing, programmer you know :-)  and I entered all the config stuff over again, BUT I can't find where it is stored (I haven't transferred all settings from the Access database, and would do that, but then I'll need to know were the XML data is stored).

BTW:  What is the downside of using XML?  Nothing can be slower than an Access database through MS ODBC connection, can it :-)
www.osterud.name - ICQ: 7297605 - AIM/Yahoo/Facebook/Skype/Astra: LarsErikOsterud

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re: Some more avast! service questions :-)
« Reply #16 on: April 20, 2005, 04:11:10 PM »
It's stored in <avast>\data\avast4.xml.
The downside is that the XML storage does not currently support saving of virus results but that's a feature you won't need in the Home Edition anyway (I'm talking about on-demand or scheduled scans)
If at first you don't succeed, then skydiving's not for you.

Offline Lars-Erik

  • Avast Evangelist
  • Sr. Member
  • ***
  • Posts: 394
    • Lars-Erik Østerud
Re: Some more avast! service questions :-)
« Reply #17 on: April 20, 2005, 04:13:18 PM »
Exacly, so why not make XML standard for Home?
And get rid of all the MS ODBS and Access stuff :-)
I guess XML would you less CPU and memory too then.
www.osterud.name - ICQ: 7297605 - AIM/Yahoo/Facebook/Skype/Astra: LarsErikOsterud

Offline Lars-Erik

  • Avast Evangelist
  • Sr. Member
  • ***
  • Posts: 394
    • Lars-Erik Østerud
Re: Some more avast! service questions :-)
« Reply #18 on: April 20, 2005, 04:14:20 PM »
Strange, I can't find that file :-/
I find the Avast4.ini and the old Avast4.mdb, but no Avast4.xml
Is it created only when shutting down or...
www.osterud.name - ICQ: 7297605 - AIM/Yahoo/Facebook/Skype/Astra: LarsErikOsterud

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Some more avast! service questions :-)
« Reply #19 on: April 20, 2005, 04:58:36 PM »
Strange, I can't find that file :-/
Is it created only when shutting down or...
Change the storage method and boot.
On Windows 98, could be better, after changing the storage method, shutting down avast to save the changes. Then boot...
The best things in life are free.

Offline Lars-Erik

  • Avast Evangelist
  • Sr. Member
  • ***
  • Posts: 394
    • Lars-Erik Østerud
Re: Some more avast! service questions :-)
« Reply #20 on: April 20, 2005, 05:21:36 PM »
Got it working and tresferred all settings from the Access database.
Wow, the XML file is only 18K (database 464K) and of course the service is not doing i/o all the time anymore. And I think the XML file is easier to look at as well.
www.osterud.name - ICQ: 7297605 - AIM/Yahoo/Facebook/Skype/Astra: LarsErikOsterud

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re: Some more avast! service questions :-)
« Reply #21 on: April 20, 2005, 05:29:48 PM »
The main reason XML is not used by default is that:

  • for avast Pro, XML is a real drag. We need people to use ODBC to take advantage of all these features
  • upgrading from Home to Pro would require us to switch to ODBC - but that would cause loss of all settings
  • we like when people upgrade from Home to Pro

A solution would be to write a migration tool (XML -> ODBC), but it's a lot of work - and simply doesn't exist in the moment.

For the upcoming future, we will probably create yet another storage type - which will overcome the limitations of both of them. :)
If at first you don't succeed, then skydiving's not for you.

Offline Lars-Erik

  • Avast Evangelist
  • Sr. Member
  • ***
  • Posts: 394
    • Lars-Erik Østerud
Re: Some more avast! service questions :-)
« Reply #22 on: April 20, 2005, 05:31:51 PM »
I wasn't that hard to move settings from Access to XML (ok, I'm a programmer), so I guess it isn't that hard the other way either. But a new solution that replaces both would be nice (maybe I'll upgrade).
www.osterud.name - ICQ: 7297605 - AIM/Yahoo/Facebook/Skype/Astra: LarsErikOsterud

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
The best things in life are free.

Offline Lars-Erik

  • Avast Evangelist
  • Sr. Member
  • ***
  • Posts: 394
    • Lars-Erik Østerud
Re: Some more avast! service questions :-)
« Reply #24 on: April 20, 2005, 10:00:10 PM »
When I get som time. Right now I'm writing software for scanning election forms for the norwegian election in september :-)

(more info:  http://datafangst.ergogroup.no/valg.html)
www.osterud.name - ICQ: 7297605 - AIM/Yahoo/Facebook/Skype/Astra: LarsErikOsterud

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11863
    • AVAST Software
Re: Some more avast! service questions :-)
« Reply #25 on: April 20, 2005, 10:11:26 PM »
Sounds interesting, Lars :)

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Some more avast! service questions :-)
« Reply #26 on: April 20, 2005, 11:57:10 PM »
When I get som time.
I really appreciate that...  8) ;)
But, in the past, other users promissed and did not help... I hope you could help me (and all avast users), for sure  :)
The best things in life are free.