LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gcc and exe (https://www.linuxquestions.org/questions/linux-software-2/gcc-and-exe-641723/)

metallica1973 05-12-2008 04:02 PM

gcc and exe
 
I am a super newbie to the programming realm and had this questions to ask:


This is what I want to do - create an executable file to run on any MS windows machine and in that executable I want to include putty.exe, tightvnc.exe and a *.reg (registry entry) to give to my client to make it easier to setup remote access when they have an issue. I can also create a batch file and just have it perform a silent install of tightvnc.exe, putty.exe and the registry entry but I will have 4 files total. I want everything to be in an executable. Can I do this using gcc or some other compiler?

harry edwards 05-12-2008 04:11 PM

I've never come across such a feature in a compiler and I've been programming for a while. Could you not use a ZIP file: ZIP files can be flagged as self executable. Products such as WinZIp permit this with a few clicks.

metallica1973 05-12-2008 06:30 PM

I want to automate the setup process so that the users will have to do very little. I guess what I am trying to ask is how can I automate this. I want to be able to say to my clients," detach this file from you e-mail and just install it, BAM everything is setup". Maybe a batch file would be the way to go. Like you said, zip up the files (cabinet) and have the batch file call the cabinet files and use MS cab extract to extract the files and then have the batch file finish the rest. I thought you could just create an executable file and have it do it all in windows.


All times are GMT -5. The time now is 11:48 PM.