making an installer need help
guys i am trying to code an installer for my application in c++
now my application has 3 exe files a.exe b.exe c.exe
what i want is to create a single executable file install.exe that contains all the 3 files inside it and when run extracts these exe files to the directory specified and in the file structure specified
and also i want to place shortcuts for each of the three exe files onto the desktop.
now i know how to create files and save them where i want to but how to put exe files inside the installer.exe as exe files.
i tried using const char type variables to hold them as char arrays(strings) but the characters inside exe files are not copied correctly on compiling the code..
what is the correct way to do this?
pls dont tell me to use installshield etc.. i want to write the installer myself...
is using exe files as resource the only way to do it? if so how?(pls be dev environment specific as i use dev cpp that means no VS )
i m using dev cpp to code...
thanx a lot for all your help
i realize there are some threads dealing with these probs but none of them answer the question i have asked..
any help is highly appreciated..