With commands like GetDLLVersion, GetDLLVersionLocal, GetFileTime and GetFileTimeLocal. Have a look at the
UpgradeDLL macro for an example.
You can also read value from the registry if you have information there using ReadRegStr and friends, and ReadINIStr for INIs. It's also possible to read from text files using FileOpen, FileRead and FileClose.