Author Topic: TrID update of ark-cab.trid.xml + variant ark-cab-diagcab.trid.xml for *.diagcab  (Read 3664 times)

jenderek

  • Sr. Member
  • ****
  • Posts: 369
Hello,

when i run TrID on dozens of *.diagcab files all are identified too
general ( "Microsoft Cabinet Archive" see appended output/trid-old.txt ).

Instead extension "CAB" mentioned in ark-cab.trid.xml "diagcab" is used.

First i tried to add also second extension to ark-cab.trid.xml, but finally i
find another way.

I update old ark-cab.trid.xml by adding Wikipedia page about CAB file format
by line:
   <RefURL>https://en.wikipedia.org/wiki/Cabinet_(file_format)</RefURL>
According to that site add also for mime type a line like:
   <Mime>application/vnd.ms-cab-compressed</Mime>

Mention other filename extension in remark line like:
<Rem>DIAGCAB filename extension is used by Microsoft Support Diagnostic Tool MSDT.EXE</Rem>
Maybe this is not sufficient and more must be done, because Wikipedia mention
PUZ extension for Microsoft Publisher "Pack and Go" feature.

After running tridscan and cleaning new ark-cab-diagcab.trid.xml the
difference compared with ark-cab.trid.xml is an additional string construct
like:
   <GlobalStrings>
      <String>.DIAG</String>
   </GlobalStrings>

What does this mean? DIAGCAB files are just usual CAB files, but these archive
always contains setting, configuration files like DiagPackage.diagpkg,
WindowsMediaPlayerMediaLibrary.diagcfg etc. used by Microsoft Support
Diagnostics. I will handle these text files in a future session. So mentioned
observed facts by remark like:
<Rem>Microsoft Cabinet Archive with *.{diagcfg,diagpkg} and filename extension DIAGCAB
is used by Microsoft Support Diagnostic Tool MSDT.EXE with /cab option.</Rem>

With new definition file all DIAGCAB files are now described more precise (See
appended output/trid-new.txt).

TrID definition, some examples and output are stored in archive diagcab.zip.
I hope that my two XML files can be used in future version of triddefs.

With best wishes
J?rg Jenderek

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2683
    • Mark0's Home Page
Nice! Thanks!