Author Topic: ark-cab-devicemetadata.trid.xml for Device Metadata Cabinet; *.devicemetadata-ms  (Read 7 times)


  • Full Member
  • ***
  • Posts: 102
Hello trid users,

some days ago i migrate a friends's PC from Windows 7 to 10. Unfortunately
the HP printer does not work after that procedure. So first i look by the
useful NirSoft InstalledPackagesView tool at the list of files belonging to
the HP printer MSI package. There are listed files where main name consist
of a GUID and the extension is devicemetadata-ms. Because i do not know
nothing about such files i look also for such files on my own systems.

When i run TrID on hundreds of such files these are described by
ark-cab.trid.xml as "Microsoft Cabinet Archive" ( see appended

For comparison reason i also run other file identifying tools.
The droid tool { found at } also recognize
such examples as "Windows Cabinet File" by PUID x-fmt/414 .

The newest file command version 5.38 {See} describes inspected examples
also like "Microsoft Cabinet archive" ( see appended output/file-5.38.txt)
From output is visible that first cabinet member is a file with name
This can be verified by running 7z with list option ( see appended

So i run tridscan to generate the trid definition
ark-cab-devicemetadata.trid.xml and start to refine that file

Because file type is of CAB-Format i add that mime type. This is shown by
additional line:


The used file name extension is expressed by line:


With the observed knowledge i searched for a web page concerning that file
format. On Microsoft server if found a page about Building Device Metadata
Packages. So i add that page as reference by XML-line like:


So i removed some null patterns at higher offsets and also some accident null
values at low offsets.


In current trid definition there exist no reference. So i add Wikipedia page
about Debian package format. This is expressed by additional line:


The essential XML files are now found in global string section by lines like


With the new trid definition file now all Device Metadata packages are
described more precisely ( see appended deb/output/trid-new.txt).

TrID definition, some examples and output are stored in archive I hope that the XML file can be used in future
version of triddefs.

With best wishes
Jörg Jenderek


  • Administrator
  • Hero Member
  • *****
  • Posts: 1929
    • Mark0's Home Page
Thanks for the new def!