How to detect antivirus software on a system

How to detect antivirus software on a system

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
How to detect antivirus software on a system chaitu 12-20-2007
Posted by chaitu on December 20, 2007, 4:34 am
If you were  Registered and logged in, you could reply and use other advanced thread options
I am preparing an installer. Pre-requisite for this installer is to
check if any anti-virus software is installed on the machine. If so
then show a message to the user saying - Detected anti-virus software
in the system. please stop the anti-virus software services and then
proceed with the installation.

Does any one know if there is any Windows API or some registry from
which i can know that some anti-virus software is installed on the
system?

The installer i am preparing will be installed on Win2K3 and Win XP
machine.

Thanks...

Posted by Malke on December 20, 2007, 7:38 am
If you were  Registered and logged in, you could reply and use other advanced thread options
chaitu wrote:
> I am preparing an installer. Pre-requisite for this installer is to
> check if any anti-virus software is installed on the machine. If so
> then show a message to the user saying - Detected anti-virus software
> in the system. please stop the anti-virus software services and then
> proceed with the installation.
>
> Does any one know if there is any Windows API or some registry from
> which i can know that some anti-virus software is installed on the
> system?
>
> The installer i am preparing will be installed on Win2K3 and Win XP
> machine.

Are you nuts?!! You want us to *help* you write this?!! I don't think
so. We have enough malware out there already.


Malke
--
Elephant Boy Computers
www.elephantboycomputers.com
"Don't Panic!"
MS-MVP Windows - Shell/User

Posted by on December 20, 2007, 7:44 am
If you were  Registered and logged in, you could reply and use other advanced thread options
> Does any one know if there is any Windows API or some registry from
> which i can know that some anti-virus software is installed on the
> system?

Use the Windows Installer API to enumerate installed products. Compare
that with a source list of known anti-virus products. If a match is
found, then display back to the user. If a match is not found, there
still may be an anti-virus installed that you did not have in the
source list, so display a message letting the user decide if they
should stop services or continue.

Hope that helps,

J Wolfgang Goerlich


Windows Installer Examples: List Products, Properties, Features, and
Components
http://msdn2.microsoft.com/en-us/library/aa369767(VS.85).aspx


> I am preparing an installer. Pre-requisite for this installer is to
> check if any anti-virus software is installed on the machine. If so
> then show a message to the user saying - Detected anti-virus software
> in the system. please stop the anti-virus software services and then
> proceed with the installation.
>
> Does any one know if there is any Windows API or some registry from
> which i can know that some anti-virus software is installed on the
> system?
>
> The installer i am preparing will be installed on Win2K3 and Win XP
> machine.
>
> Thanks...


Posted by Volodymyr Shcherbyna on December 20, 2007, 8:37 am
If you were  Registered and logged in, you could reply and use other advanced thread options
There is no general solution for this. Typically, developers know the names
of antiviruses they are conflicting. So most of the solutions are based on:

1. Identifiying the AV by product name (you can get the list of installed
software via Win32_Product or as it was suggested, by installer api)

2. Identifiying the AV by service names

3. Just telling user that he has to uninstall any antivirus because two AV
can make conflicting situation on computer

--
Volodymyr

>I am preparing an installer. Pre-requisite for this installer is to
> check if any anti-virus software is installed on the machine. If so
> then show a message to the user saying - Detected anti-virus software
> in the system. please stop the anti-virus software services and then
> proceed with the installation.
>
> Does any one know if there is any Windows API or some registry from
> which i can know that some anti-virus software is installed on the
> system?
>
> The installer i am preparing will be installed on Win2K3 and Win XP
> machine.
>
> Thanks...



Similar ThreadsPosted
Keyloggers - does antivirus detect them December 4, 2006, 7:59 pm
Detect what software is blocking connections January 26, 2006, 11:49 am
How to detect keylogging / screen captuer software September 6, 2007, 9:51 pm
Cannot install any antivirus software March 15, 2006, 5:56 am
What's it in for the makers of free antivirus software? March 28, 2008, 9:19 am
Windows XP unable to load Antivirus software June 1, 2006, 10:07 am
detect account type October 5, 2006, 11:07 am
How to detect the signature of a file September 2, 2008, 8:29 am
Detect cookie additions immediately - How to? February 22, 2006, 9:31 am
detect when a computer joins the network January 13, 2007, 8:24 am

The site map in XML format XML site map

Contact Us | Privacy Policy