After the horrors of PE files, this should be a pretty straight-forward piece of code.
With Windows CE cab installers, all the info about the software as well as names of all files, registry keys, etc is contained within the .000 file of the cab archive
I won't write anything to extract the .000 file, since 7zip can do that, as well as a dedicated tool called cabextract
(available for any OS pretty much
)
Luckily the developer of cabextract was nice enough to document the .000 file format very well:
https://www.cabextract.org.uk/wince_cab_format/
Using 7zip/cabextract, wcepeinfo and wcecabinfo, one should be able to write a simple script to quickly categorize loads of software, in the most basic use-case you can tell whether something will
(likely
) run on your HPC before trying it
Git repo is here, I'll post updates once anything works:
https://github.com/HPC-Factor/windows-ce-cab-info