PAR和Win32 :: Exe

编程入门 行业动态 更新时间:2024-10-21 17:38:54
本文介绍了PAR和Win32 :: Exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在Windows 7(32位)上运行Strawberry Perl.我还使用Par :: Packer创建独立的可执行文件.问题是PAR :: Packer使用骆驼图标,我想用其他图标替换它.为此,我使用的是Win32 :: Exe.

I am running Strawberry Perl on Windows 7, 32-bit. I am also using Par::Packer to create standalone executables. The problem is that PAR::Packer uses a camel icon, and I want to replace it with a different icon. To do that I am using Win32::Exe.

运行Win32 :: Exe的更新脚本后,我可以更改图标,但是现在可执行文件不再起作用.禁用GUI标志并启用控制台后,我现在得到以下输出:

After running Win32::Exe's update script I can change the icon, however now the executable no longer functions. After disabling the GUI flag, and enabling the console, I now get the following output:

Usage: foo.exe [ -Alib.par ] [ -Idir ] [ -Mmodule ] [ src.par ] [ program.pl ] foo.exe [ -B|-b ] [-Ooutfile] src.par

推荐答案

--icon选项已从PAR :: Packer中删除.直接使用Win32 :: Exe是正确的解决方案.如果捆绑的exe_update脚本破坏了您的exe,请尝试在命令行上发布实际的Perl代码-请参阅我对类似问题的回答.

The --icon option has been removed from PAR::Packer. Using Win32::Exe directly is the right solution. If the bundled exe_update script corrupts your exe, try issuing the actual Perl code on the command line - see my answer on a similar question.

更多推荐

PAR和Win32 :: Exe

本文发布于:2023-11-06 06:46:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1562976.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:PAR   Exe

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!