I need to check that the executable's manifest (either embedded or an external one) contain (besides all) the following fragment:
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.4053" processorArchitecture="x86" />
</dependentAssembly>
</dependency>
The first solution I thought of is to extract the manifest using mt and then use some generic XML parser for it. But I guess this should be some manifest-specific tooling or API for doing this.