Skip to content

Reporting "Current" Installed Software ??

Featured Replies

Hi All,

 

i have recently built a script which reports total installs for project etc but i noticed that the data is showing Previous installs as well ??

ie user had 2007, upgraded to 2010, then upgraded to 2013 - this then shows its installed 3 times on the same machine ??

 

is there a way to limit it to ONLY showing the CURRENT installation ??

 

Current Code :-

 

 

SELECT dbo.v_R_System.Netbios_Name0, dbo.v_R_System.User_Name0, dbo.v_GS_ADD_REMOVE_PROGRAMS.Publisher0,
dbo.v_GS_ADD_REMOVE_PROGRAMS.DisplayName0
FROM dbo.v_R_System INNER JOIN
dbo.v_GS_ADD_REMOVE_PROGRAMS ON dbo.v_R_System.ResourceID = dbo.v_GS_ADD_REMOVE_PROGRAMS.ResourceID
WHERE (dbo.v_GS_ADD_REMOVE_PROGRAMS.Publisher0 LIKE '%Microsoft%') AND (dbo.v_GS_ADD_REMOVE_PROGRAMS.DisplayName0 LIKE '%Project%')

 

What you are looking for is not a simple 5 minute query. The simplest way to do this is to sort by version number so that you can see the latest version at the top.

  • Author

the issue is that it doesnt show the current state. installed/uninstalled/upgraded etc.

 

ie i install project 2013 to fix someones project file, i then uninstall it, the report still shows me as having 2013 installed.. even though i dont have it anymore..

 

this is the issue im facing as part of the version issue.

  • 4 weeks later...

Check one of the machines Add/remove programs or Programs and features and see what is labeled in there. When installing Office 2013 it left Office 2010 on the machine. Now I have a script to completely uninstall office 2010, project 2010 and visio 2010 from the machine before it attempts to install any office project.

 

So it may not be the query, it could be the machine.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.