Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-12-2008, 05:02 PM   #1
Senior Member
Registered: Feb 2003
Location: Washington D.C
Posts: 2,171

Rep: Reputation: 60
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?
Old 05-12-2008, 05:11 PM   #2
harry edwards
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
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.
Old 05-12-2008, 07:30 PM   #3
Senior Member
Registered: Feb 2003
Location: Washington D.C
Posts: 2,171

Original Poster
Rep: Reputation: 60
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.

Last edited by metallica1973; 05-12-2008 at 07:36 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
to get gcc.exe cresloga Linux - Software 2 03-31-2008 03:00 PM
Creating .exe file with gcc in Linux, using Assembly davidguygc Programming 3 03-24-2007 08:16 PM
problem on /proc/self/exe and /proc/num/exe snowing Programming 6 08-31-2006 02:17 AM
SETUP.EXE/autorun.exe don't run in wine mst3kman Linux - Games 3 01-22-2006 03:20 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 03:13 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration