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! 請張貼您的意見/建議!