|
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...
|