Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to find distinct program installs in the Windows Event log? I have tried looking for a specific ID to look for but cannot find one that references installs. If not, is there an easy way to access installed program data on a Windows machine?

share|improve this question
    
MSI (Windows Installer) files will write entries to the Windows Event Log. Other installers may or may not. Is there a particular installer you're looking for? –  music2myear Aug 10 '11 at 13:54
    
I'm looking for all installed programs over a computers lifetime essentially and thought I may be able to build up a history by pairing install and uninstall operations –  Draineh Aug 10 '11 at 13:57
add comment

1 Answer 1

up vote 5 down vote accepted

You can filter by EventID to see specific types of events. There are many Windows Installer Event IDs corresponding to different sorts of actions. 1033 indicates a product was installed, 1034 indicates a product was uninstalled.

For Windows Installer you can also filter by Source. MsiInstaller is the source for all Windows Installer events.

InstallShield tends to be a wrapper for MSI scripts, so it would generally have the same event IDs. However, other installer packages will generally not use the same EventIDs. For any installer you'll need to find the appropriate event ids it uses (if any).

UPDATE details: Oh, and those are all found in the event viewer under Application.

UPDATE response: The Windows Event IDs do not change from OS to OS as these are determined by the application. In this case, Windows Installer.

I tested on my XP box and a 2003 server and they both used 1033 for install and 1034 for uninstall.

You may try installing a windows update patch or similar. Something small, like a root certificate update or the like. Then check the event logs for corresponding entries. This will allow you to see if the logs have been cleared since the last install.

UPDATE further details, alternate IDs: There is a plethora of information online regarding event IDs, including lists of all possible EventIDs for MSI Installers. Looking briefly I'm not really sure what the difference is between 1033/1034 and 11707/11708 IDs. MS documentation seems to show that the two different types indicate the same thing, namely the successful install or uninstall, but contain different sorts of information.

share|improve this answer
    
Thanks, this appears to work on a version of Win2k8 I have to hand but I am not seeing any results for older versions of windows. Are you aware if this needed to be enabled on older versions? (I'm looking at XP-2003 era) –  Draineh Aug 10 '11 at 14:41
    
Interesting, I just did that experiment inbetween some other things and found that all MsiInstalls installed to the eventid 11707. It may be a versioning difference between the setup programs as opposed to an OS related issue –  Draineh Aug 10 '11 at 14:55
    
Thanks for the help, I would up-vote but my reputation on this site isn't high enough! (so anyone reading this who wants to up-vote on my behalf please feel free) –  Draineh Aug 10 '11 at 15:14
    
Fill out your profile and connect to some of the other stack exchange sites and you can get sufficient rep pretty quickly. But I'm glad I was able to answer your questions. –  music2myear Aug 10 '11 at 15:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.