Does KAV support environment variables such as %PROGRAMFILES% and %WINDIR% ? I could not find mention of this in the KAV user guide or the Kaspersky documentation on their website. Also, I'm assuming KAV runs as a 32-bit process on a 64-bit system, so when that process calls %PROGRAMFILES%, does it resolve to "C:\Program Files (x86)" or "C:\Program Files"? According to wikipedia's Environment variables page, http://en.wikipedia.org/wiki/Environment_variable, a 32-bit process supposedly resolves to the correct Program Files folder. In theory, when KAV sees "%PROGRAMFILES%\Malwarebytes' Anti-Malware" it resolves that as C:\Program Files (x86)\Malwarebytes' Anti-Malware (the correct folder) and not C:\Program Files\Malwarebytes' Anti-Malware (the 64-bit program files folder)? Has anyone tried this?
KAV does support environment variables. You're correct about KAV 2010 seeing %ProgramFiles% as C:\Program Files (x86)\ on 64bit systems. As indicated in the wikipedia page, you should be able to use either the %ProgramFiles(x86)% or %ProgramW6432% variable to specify which Program Files folder to use.