Trying to build a report that shows when one application is installed but not another, such as computers with Acrobat Pro but not InDesign. I use the following to find installed software but can't figure out to add the exception. Also looking to have it report last time it checked in the the NS, but that is not absolutely neccessary. Thanks in advancce to all the SQL pros out there.
SELECT DISTINCT vc.Name AS ComputerName, arp.DisplayName, arp.DisplayVersion, vu.Name AS UserName, vu.[Given Name], vu.[Display Name], vu.Department, [IP Address]
FROM vComputer vc
RIGHT JOIN (SELECT DISTINCT Name FROM vComputer) AS vc1
ON vc1.Name = vc.Name
INNER JOIN Inv_AddRemoveProgram arp ON vc.Guid = arp._ResourceGuid
INNER JOIN vUser vu ON vc.[User] = vu.Name
WHERE arp.DisplayName LIKE 'Adobe Acrobat %Pro%' AND arp.InstallFlag=1