It's also possible to embed the manifest file in the executable by running
mt /manifest whatever.exe.manifest /outputresource:whatever.exe;#1
in the directory in which the manifest file was originally created during compilation. The same thing works for dlls, except a #2
is used at the end, rather than #1
. If this is done, the manifest file need not be manually moved to the installation directory.
By the way, ExtUtils::MakeMaker, as of
version 6.33, will do this automatically when building xs extensions.