Registered member login:
Register Now
Altirigos » Altiris Administrators » SQL » Software Installation Check

» Current Poll
Do you leave the Aclient enabled?
YES - 82.31%
107 Votes
NO - 17.69%
23 Votes
Total Votes: 130
You may not vote on this poll.
» Stats
Members: 9,492
Threads: 11,748
Posts: 55,283
Top Poster: Nick (4,981)
Welcome our newest member, stavchan
» Online Users: 47
0 members and 47 guests
No Members online
Most users online at once 294, 06-30-2007 at 12:24 PM.
» March 2010
S M T W T F S
28 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 123
Reply
Old 09-17-2008, 03:32 PM   #1 (permalink)
 
Status: Super Altiris Admin
Join Date: 10-28-2005
Location: Colorado
Posts: 1,364


Software Installation Check

I was wondering if anyone has ever made a report where you are checking you PC's to see if they have certain pieces of software installed. For example I would like:

PC Office 2003 or better Java Adobe Reader
PC1 Yes Yes No
PC2 No Yes Yes


What I have now is basically:
Code:
SELECT DISTINCT T0.[Name],
,CASE WHEN T9.[Name] LIKE 'Microsoft Office%Edition 2003' OR T9.[Name] LIKE 'Microsoft%Office%2007' THEN 'Yes' ELSE 'No' END AS 'Office 2003 or higher installed'
,CASE WHEN T9.[Name] = 'JRE Runtime%' THEN 'Yes' ELSE 'No' END AS 'Java'
,CASE WHEN T9.[Name] = 'Adobe Reader%' THEN 'Yes' ELSE 'No' END AS 'Adobe Reader'
The problem with that is I am getting

PC Office 2003 or better Adobe Reader Java
PC1 No Yes No
PC1 Yes No No
PC1 No No No
PC2 No No Yes
PC2 No Yes No
PC2 No No No

It is checking through the table each time, whereas I need to nest the CASE statements if thats possible so the table checks for each expression, but at the same time to prevent the multiple rows. Any ideas? Thanks.
__________________
Brandon
Brandon is offline   Reply With Quote
Old 09-23-2008, 10:56 AM   #2 (permalink)
 
Status: Super Altiris Admin
Join Date: 10-28-2005
Location: Colorado
Posts: 1,364


Any Ideas? Is no one else doing anything like this?
__________________
Brandon
Brandon is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 11:53 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
vB.Sponsors
Altirigos