Combine multiple commands and executables into a single exe联合收割机多个命令和可执行文件成一个单一的EXE

Posted on November 21, 2008 at 5:13 am发布11月21日,在2008年上午05时13

What if you have multiple executable files that you want to distribute using a single executable file?  Traditionally you will need to create a .bat file but that will mean you know how to program a .bat file and you know your way to the intricacies of manually packing executable files.如果你有多个可执行文件,你希望分发使用一个单一的可执行文件?传统您将需要创建一个。 bat文件,但将意味着您知道如何计划的。 bat文件,你知道自己的方式错综复杂的手工包装的可执行文件。

There is a free program called Wrapper that will help you complete that task of wrapping executables in no time.  With it’s straightforward interface, all you have to is add executable files and press the Make button to generate a single executable file.有一个免费程序要求包装 ,可以帮助你完成这项任务的包装可执行文件在任何时间。有了它的简单界面,所有你必须是新增的可执行文件和新闻制作按钮,以生成一个单一的可执行文件。

To get Wrapper you can download it from要包装,您可以下载它从 Download.com or go straight to it’s website:或直接进入它的网站: http://salarsoft.somee.com/ .

The website is in Arabic but the software itself is in English.  Unzip the package and double click Wrapper.exe to start making your executable projects:该网站是阿拉伯语,但软件本身是英文的。解压包,并双击Wrapper.exe开始让您的可执行项目:

形象

Click Add File to begin adding executable files:单击添加文件,开始增加可执行文件:

形象

The add file window will appear.  Enter the location of the executable file and make sure to check or uncheck the “Extract” box depending on your chosen file.  If your file is a self extracting file (ie installers), make sure to enter the “extract directory” location.  Press OK to add the file.  In this case I entered “putty.exe” and since it is not a zipped file I unchecked the “Extract” box:在添加文件窗口将出现。定位输入的可执行文件,并确保选中或取消选中“提取”框中根据您所选择的文件。如果您的文件是一个自解压文件(即安装) ,请务必输入“提取目录”的位置。出版社确定添加该文件。在这种情况下我进入“ putty.exe ” ,并因为它不是压缩文件I选中的“精华”框:

形象

Another thing that you can add are typed-in commands like “firefox” that will open up a new firefox window or “notepad” to open a new notepad process.  To start adding commands click the “Add Cmd” button:另一件事,您可以新增输入的命令,如“火狐” ,它将开辟了一个新的Firefox窗口或“记事本”打开一个新的记事本进程。要开始添加命令点击“添加命令”按钮:

形象

Choose the lower option labeled “Run command” and then enter the command name and parameters of the command.  In the example below I entered “firefox” and then entered “www.google.com” as parameter.  Click OK to add the command to the list:选择较低的选择标有“运行命令” ,然后输入该命令名称及参数的命令。在下面的例子中我进入“火狐” ,然后输入“ www.google.com ”作为参数。单击确定添加的命令名单:

形象

You should see all of your added commands and executable files on the list of items.  You may change the order of execution by using the “Up” and “Down” arrows to the left:您应该看到您所有的补充命令和可执行文件清单上的物品。您可以变更顺序执行使用“向上”和“下移”箭头左:

形象

After you are done adding executable files and commands you can generate the wrapped exe by entering the filename of the exe file you want.  In the example below I entered “test.exe” as the output file.当您完成新增的可执行文件和命令,您可以生成包裹程序通过输入文件名的exe文件你想要的。在下面的例子中我进入“ test.exe ”作为输出文件。

形象

Click “Make” to generate the output file:点击“制作”来生成输出文件:

形象

You should be able to see the final output using Windows Explorer:您应该能够看到最后的输出使用Windows资源管理器:

形象

Running this file will execute the executables and files that we wrapped above.  The size of the generated exe file will depend on the size of the exe files you add.  The typed-in commands like “firefox” will not eat so much space since it only is a command to call Firefox (ie it will not contain the executable file itself).运行此文件将执行的可执行文件和档案,我们包以上。规模所产生的exe文件将取决于大小的exe文件添加。该输入的命令,如“火狐”不会吃这么大的空间,因为它不仅是一个命令调用火狐(即它不会包含可执行文件本身) 。

Wrapper is a great tool for generating your own package of executables.  Instead of sending separate executables and then instructing end users to execute separate commands, wrapped executables and commands will handle them all in one executable.包装是一个伟大的工具,创造自己的一套可执行文件。不是单独的可执行文件传送,然后指示终端用户单独执行命令,可执行文件和包裹的命令将处理所有这些在一个可执行文件。

There are other features of Wrapper that you can use like adding a new registry entries, killing processes and deleting process files.  With these features, we can tell that this is one powerful tool so be careful when using it.还有其他一些特点,包装,您可以使用像增添了新的注册表条目,杀死进程,并删除进程文件。有了这些功能,我们可以告诉,这是一个功能强大的工具,要小心使用它。

Ben Carigtan writes about computers, websites, technology and how to get the best out of them.本Carigtan写的电脑,网站,技术和如何获得最好的人。

Enjoyed this post?得到这个职位? Subscribe to Online Tech Tips via订阅在线应用技巧通过 RSS Feed RSS供稿 or via或通过 Email电子邮件 and receive free daily productivity tips.并获得免费日报的生产力秘诀。

» Filed Under »文章属于 Cool Websites酷网站

添加到美味 Save this page 保存该网页 它Mixx Stir it up on Mixx 它搅动了Mixx
Reddit Add to Reddit 添加到Reddit StumbleUpon公司 Stumble this page 失败此页

Related Posts 有关职位

One Response to “Combine multiple commands and executables into a single exe” 一个响应“联合收割机多个命令和可执行文件成一个单一的EXE ”

  1. Anonymous said on : 无名氏说:

    Correction: the website is in Farsi, not Arabic.更正:该网站是在波斯语中,而不是阿拉伯语。


    Please post your comments/suggestions! 请张贴您的意见/建议!