LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 57
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, 04:11 PM   #2
harry edwards
Member
 
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, 06:30 PM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,113

Original Poster
Rep: Reputation: 57
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 06:36 PM.
 
  


Reply


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 02:00 PM
Creating .exe file with gcc in Linux, using Assembly davidguygc Programming 3 03-24-2007 07:16 PM
problem on /proc/self/exe and /proc/num/exe snowing Programming 6 08-31-2006 01:17 AM
SETUP.EXE/autorun.exe don't run in wine mst3kman Linux - Games 3 01-22-2006 02:20 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare Suse/Novell 3 11-29-2004 02:13 PM


All times are GMT -5. The time now is 08:12 AM.

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