Smaller Exe once Manifest is apply RRS feed

  • Question

  • Hello,

    I'd like to know if it is normal than the size of exe decrease once I put a manifest with mt.exe ?

    It looks strange to me, and I couldn't find information about this.

    Thanks in advance for any help,



    Friday, November 17, 2006 3:58 PM


  • Most resource editors (including mt.exe) clobber the 'end of file' data - data outside of the declared image sections in the executable.  I assume this is probably a setup or a self-extractor that you've tried to manifest, as these commonly make use of that technique as a place to house their payload.

    If that's the case, and the utility you're using doesn't have an option to add a custom manifest or have some built-in requestedExecutionLevel functionality, you can try to find the 'stub' executable your tool uses to construct these exes, back that up, and try adding the manifest to that.

    Friday, November 17, 2006 6:21 PM