Jump to content


  • 0
TheWhiteDragon

Reporting "Current" Installed Software ??

Question

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%')

 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

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.

Share this post


Link to post
Share on other sites

  • 0

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.

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.