mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file … Access is denied

后端 未结 11 1445
礼貌的吻别
礼貌的吻别 2021-02-02 07:02

I often have this problem even when I build a new C++ project and try to build a release file.

I use Visual studio 2008. One thing that may cause this problem is my code

11条回答
  •  执笔经年
    2021-02-02 07:50

    Try this:

    1. Disable AV
    2. Temporary rename your exe so it doesn't contain any of the words UAC magic words (install, setup, patch, upgrade)
    3. make sure you have write permissions
    4. use mt command to inject the manifest
    5. rename back your exe

提交回复
热议问题