IF EXIST('C:\Program Files\Avaya Modular Messaging\Client\vr.exe')

if it is a patch, then yu will need to look in the reg to see if it makes a GUID in the add/remove program key.

Otherwise, you will need to make a tag file or reg value to see if it exists prior to install and then set it afterward
_________________________
How to ask questions the smart way <-----------> Before you ask