I am making an application which uses a separate program to unzip some files. How can I compile my exe to contain the unzipping exe inside so that I only have one file instead of two.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is actually pretty awful, it is preferable to use a setup.
However, if you insist… you might bundle your two EXEs using IExpress (included in Windows since XP, before that get it from the IEAK), and set your “main program” as the “Install Program to Launch.”
This will produce a single EXE as its output. When run it will extract the packaged files into a temp folder and run your “main” EXE.
Start|Run… and enter IExpress to start the wizard.
BTW: This is also a nice way to package up the files the PDW creates into a single installation EXE.