How does Snow Inventory find the installed date of an application

Document created by mark.lillywhite Employee on May 18, 2017
Version 1Show Document
  • View in full screen mode

Here’s a summary of how Installed date is set.

  • If there is a valid InstallDate in the registry that is not 0 or 1980---, we set the Installed-date to this registry value
  • If there is no valid registry key, we use ModifiedDate (using the Windows API “GetFileAttributesEx()”) for the Installed-date, if that is a valid value
  • Last fallback is to use CreationDate (using the Windows API “GetFileAttributesEx()”) for the Installed-date

 

Additional Information

 

When an application is packaged as an MSI, the installed date is a variable populated as the package is installed. It is important that these packages write the current date if at all possible – something to ask the packaging team to confirm. If the package does not install via MSI, the fall back is the executable date described above, which may not be correct.

 

The dates if the installer sets it are found at the registry key (see screenshot)

 

SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

 

Registry key where install date is found 

 

 and finally if you are wondering where the Installed on date comes from in Programs and features - see the following

 

windows - Where does Add/Remove programs pull data for the "Installed On" column? - Stack Overflow 

2 people found this helpful

Attachments

    Outcomes