a php class for parsing exe file details ( without COM ) also works for files with same file detail format as exe (.dll , sys , ..)
$filedetails = new filedetailsparser($filepath);
$data = $filedetails->getdata($type);
- filepath : exe file path
- type : data type 'array' | 'object' (optional) default:'array'
$keyvalue = $filedetails->getbykeyname($keyname,$type);
- keyname : file detail key name (from list)
- type : data type 'array' | 'object' (optional) default:'array'
$data = $filedetails->getdatalist($keylist,$type);
- keylist : list of keys for extraction from data
- type : data type 'array' | 'object' (optional) default:'array'
- companyname
- filedescription
- fileversion
- internalname
- legalcopyright
- originalfilename
- productname
- productversion
- companyshortName
- productshortName
- lastchange
- legaltrademarks
- LegalTrademarks1
- LegalTrademarks2
- buildid
- updatesystemversion
- source control id
- filesize
- pathinfo
- Comments
- FileBuildPart
- FileMajorPart
- FileMinorPart
- FileName
- FilePrivatePart
- IsDebug
- IsPatched
- IsPreRelease
- IsPrivateBuild
- IsSpecialBuild
- Language
- PrivateBuild
- ProductBuildPart
- ProductMajorPart
- ProductMinorPart
- ProductPrivatePart
- SpecialBuild
github : https://github.com/pfndesign/php-exe-file-details-parser