disable manifest stuff?

is it possible to diable the manifest stuff so i can run my application on another computer with out .net. So just my exe and a bunch of dll's if they are needed.

I've found some threads that discuss copying manifest files and renaming them and shit, but that really sucks, and doesnt even work for me. I cant manage to get a simple printf("hello"); working on another machine!

so i've tried a release build using the default project from the project wizard and i et this error on machines that dont have vc2005:

"the application has failed to start because the application configuration is incorrect. Reinstall the application may fix the problem"

i also get the error when attempting to disable manifest files.


Answer this question

disable manifest stuff?

  • maakus

    hrmm, okay i supplied the /MT to the compiler when it compiles it says:

    "cl : Command line warning D9025 : overriding '/MD' with '/MT'"
    and i get a exe of 52KB instead of 5KB which looked promising, till i tried to run it on a non vc2005 machine, and it said the same thing: config incorrect, reinstall....

  • Rob Hall

    *bump* still doesnt work

  • shade_rigal

    I am afraid I don't undstand you question, cl is for compling, which calls link.exe as well. There is an option for compiling only (/c) and also you can pass a linker options through cl.exe uing the /link switch.

    Thanks,
    Ayman Shoukry
    VC++ Team


  • Adaoud

    This works for me, but why is there not an option to link corresponding to /MT to cl

    OK using cl works well for me but why cannot I use link



  • mehmetceliko

    Follow your other post at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=164706&SiteID=1.

    Thanks,
      Ayman Shoukry
      VC++ Team

  • Alex Bogli

    You can just link statically to the CRT using the /MT compiler option. This will not make use of the manifest.

    P.S: If you are building managed applications, you will need the manifest since the /MD is the only supported CRT model for CLR applications in VC2005.

    Thanks,
      Ayman Shoukry
      VC++ Team



  • disable manifest stuff?