开发者

how to display embedded manifest

I hav开发者_运维技巧e some projects built with different versions of VS2005 that require different run-time version. i need to display the assemblyIdentity to see which run-time is required to run the program. I need the information to include the specific VC80 runtime MSM in my WiX installer project.

{Edit} While the binaries have been built with Visual Studio I don't have a VS on the PCs where WiX shall be used. I am reluctant to install an Express version, since I am a guest on that PC. {/Edit}

How can I conviniently display the embedded manifest? Preferrable with a small tool, command line tool would be OK.


Manifests are stored as resource in executables/DLLs. These are stored under RT_MANIFESTresource type. Open the resources under it and parse it as XML.

One example is pasted below (I opened one of my EXE using VS resource editor):

how to display embedded manifest


The PeStudio is a small tool that does the job. Including displaying the manifest in clear text.

Additionally it displays all DLLs that must be present on target system. That helps to author the installer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜