creating two exe. from one code

i wanted to ask whether we can two exe. file from one code( i am not talking about self extracting softwares). can we write a code in c++ which will do the job.
what?
i want that if one exe file is executed , then it will give me mutiple files just like in setup of programs.
I believe what you're looking for is called "creating files".
Start here:
http://www.cplusplus.com/doc/tutorial/files/
i understood creating files . but what i want to ask is that is there any method by which i can create two executable files from single exe. ie when i run that it deploy and give mutilple exe files.
Yes, well. "deploy and give" means to create said files.
You mean to create two identical exe. file? But if I want to do that, I 'll just copy and paste the file.
Last edited on
no i dont want to create identical files. i want seperate files
Separate exe file with different contents/functions with only one source code?
yup
If I understand you correctly, you want an installer -- a piece of software that distributes as a single EXE but, when run, produces all the files necessary to make your program work on a system.

Look into Inno Setup for a very nice one.
http://www.jrsoftware.org/isinfo.php

Another, commercial option is InstallShield.
http://www.flexerasoftware.com/products/installshield.htm

Hope this helps.
thanks Duoas
Topic archived. No new replies allowed.