Delphi compiler does write an information about wich version of software was used (trial, acadamic, other). The data is writen in the same block that dfm contents are.
But as far as I know when you use various executable packing programs this information gets packed with the rest and thus can't be read unles packing proces is reversed.