EXE_UPDATE(1p) | User Contributed Perl Documentation | EXE_UPDATE(1p) |
exe_update - Modify windows executable files
exe_update
[ --gui | --console ]
[ --icon iconfile ]
[ --manifest manifestfile ]
[ --info key=value;... ]
exefile
This program rewrites PE headers in a Windows executable file. It can change whether the executable runs with a console window, as well as setting the icons, manifest and version information associated with it. In general, a PE file must have an existing resource section or you cannot add icons, manifests or version info. However, on Win32 platforms a new resource section will be created if none exists.
Options are available in a short form and a long form. For example, the three lines below are all equivalent:
% exe_update -i new.ico input.exe % exe_update --icon new.ico input.exe % exe_update --icon=new.ico input.exe
These special "KEY" names are recognized:
Comments CompanyName FileDescription FileVersion InternalName LegalCopyright LegalTrademarks OriginalFilename ProductName ProductVersion
These special "KEY" names are recognized:
ExecutionLevel UIAccess ExecName Description CommonControls Version
The CommonControls key is a simple boolean value to indicate that the Common Controls Version 6.0.0.0 dependency should be added to the manifest.
e.g
--manifestargs="ExecutionLevel=requireAdministrator;ExecName=My.App;CommonControls=1" --manifestargs="Version=1.3.6.7895;UIAccess=false"
Audrey Tang <cpan@audreyt.org>
Copyright 2004, 2006, 2010 by Audrey Tang <cpan@audreyt.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
2019-01-21 | perl v5.28.1 |