How to embed manifest in TCL binary? - mt.exe corrupting my binary

Discussion in 'Windows Vista General Discussion' started by Kshitij, Feb 14, 2007.

  1. Kshitij

    Kshitij Guest

    I am trying to embed manifest in my TCL executable.
    This application is an admin program and hence I would like to provide
    requestedExecutionLevel=requireAdministrator in the manifest.

    I am using mt.exe as following
    mt.exe -manifest myapp.exe.manifest -outputresource:myapp.exe;1

    Manifest gets added but the size of resulting exe drop from 1422KB to 688KB
    In short file gets corrupted and cannot be run on any version of windows.

    If I try same thing on a visual C++ binary it works perfectly fine.

    Is mt.exe partial towards visual studio generated binaries?
    How about manifesting executables created in Perl, TCL or any other launguage?
    Kshitij, Feb 14, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.