Technext Posted July 15, 2010 Report Share Posted July 15, 2010 Hi,I have few files [4 executables (.exe) along with a Windows batch script], which I need to package in a single exe. Of these 4 .exe files, 2 have to be transferred to a remote location. This transfer is handled by the Windows batch script. The main file here is the Windows batch file, which will use all other exe files during its execution. I need to prepare an exe, which when clicked, should call the batch file.Can anyone suggest any packaging tool for achieving my purpose?Regards,GC Quote Link to comment Share on other sites More sharing options...
MANEMAN Posted July 15, 2010 Report Share Posted July 15, 2010 Hi there.You would do well to consider "Open Source" software for your use: http://sourceforge.net/Or even writing up another batch file to suit your needs: http://www.watchingthenet.com/windows-tip-use-batch-file-to-open-multiple-programs-at-once.htmlThere is always of course: http://www.autohotkey.com/ - or - http://www.autoitscript.com/autoit3/index.shtmland also: http://corz.org/windows/software/batch-runner/All require a certain amount of expertise. Whilst searching around such sites, you may even come across exactly what you are looking for.As with all such quests, the amount of learning involved is invaluable in future projects.John. Quote Link to comment Share on other sites More sharing options...
MANEMAN Posted July 16, 2010 Report Share Posted July 16, 2010 Another thought. :) Write a new batch script to exercise that which you wish to achieve. (Calling the original batch file)Convert the newly written batch file to a .exe/>http://www.fileheap.com/freesoftware/bat2exe.html/>http://www.battoexe.com/John.EDIT: http://www.emco.is/products/msi-package-builder/features.php http://www.freewarefiles.com/MSIBuilder_program_13664.html http://support.microsoft.com/kb/257718 Quote Link to comment Share on other sites More sharing options...
MANEMAN Posted July 16, 2010 Report Share Posted July 16, 2010 Having had no reply back from you. Show me exactly what it is that you are trying to do. (In great, and precise detail)I realise that this has put you in a "Put up, or shut up" situation, but it could be good for yourself and other people reading the forum.Sometimes typing out the full complexity of the problem releases ideas within the mind.Give it a go. - Even if we cant understand the problem or cannot come up with an answer for you, - it is all food for thought.C'mon, - reply. It sure beats asking and answering your own questions. :) John. Quote Link to comment Share on other sites More sharing options...
Technext Posted July 22, 2010 Author Report Share Posted July 22, 2010 Having had no reply back from you. Show me exactly what it is that you are trying to do. (In great, and precise detail)I realise that this has put you in a "Put up, or shut up" situation, but it could be good for yourself and other people reading the forum.Sometimes typing out the full complexity of the problem releases ideas within the mind.C'mon, - reply. It sure beats asking and answering your own questions. :) John.Hi John,Thanks a ton for your time & suggestions. Well, I’ve got the tool I was looking for - ‘Quick Batch File Compiler’. You too pointed me to that link (http://www.battoexe.com/). Thank You!Besides, your suggested tools such as AutoIT & BatchRunner are also good. Though I will be using ‘Quick Batch File Compiler’ for my current purpose, the ones you’ve pointed might prove useful in future issue.Let me explain, what I am trying to achieve:I have one batch script & few exes for different uses. I create on final exe using ‘Quick Batch File Compiler’, which contains all the given below files (.bat + 5 exes)Let’s say, 1) A.bat2) B.exe3) C.exe4) D.exe5) E.exeWhen I run the compiled exe, the batch script is called. The batch script takes UNC path of remote server from the user, remote server credentials, and then copies two EXEs (B.exe & C.exe) to remote machine. This copy operation is performed using pscp.exe (here D.exe). Once the EXEs are copied to remote server, I use Plink tool (here E.exe) to connect to remote server. I open the cmd.exe present on the remote server using Plink, and then call the copied EXEs (B.exe & C.exe) to perform my desired operation on remote machine.I hope my explanation was clear.Thanks again John!Regards,GC Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.