I'm looking for a solution to insert a manifest resource into an already built EXE file. There are various command-line tools around that can (allegedly) be used to do this, but I'm wondering if there's any built-in support, or add-ins for FB that could help automate the process other than simply using FB to run one of those command line tools.
Can anyone recommend any of the command line tools for doing such a resource insertion?
Thanks for your post. There’s no built-in support for inserting a manifest to a built executable at the moment. I’ll add it to the to-do list for a future release.
Bear in mind of your application is signed then you’ll need to re-sign it (either with Authenticode or SN.exe, depending if it’s Win32 or .NET.)
Yes, my application is both strong-named and Authenticode signed, making it even more of a PITA. I ended up inserting the manifest using mt.exe as a post-build step in the C# project, followed by a re-sign with sn.exe.
All in all, more of a pain than it should be. Fortunately it appears that they've added some new features in VS2008 that make this much more straightforward.
I sympathise - we’ve been through this ourselves with FinalBuilder and Automise. We found that incorporating the manifest in the original project (ie before building) is by far the best solution, if you can do it.