Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 3rd, 2008, 6:17 PM   #1
AnarchicError
Newbie
 
Join Date: May 2008
Posts: 2
Rep Power: 0 AnarchicError is on a distinguished road
Installation v.s. Standalone question.

ok i have a question and i dont know exactly if you guys can help but here i go. what is the difference between a installation and standalone .exe? now i know why some programs need to be installed but most seam to not, is there any way to convert a installation program to a standalone .exe. i mean nothing crazy like photoshop because that would be illegal and a huge file, but something small like firefox w/o add-ons seams imposable to do. any imput would be nice.
AnarchicError is offline   Reply With Quote
Old May 3rd, 2008, 6:27 PM   #2
Freaky Chris
Hobbyist Programmer
 
Freaky Chris's Avatar
 
Join Date: Dec 2007
Location: England
Posts: 169
Rep Power: 1 Freaky Chris is on a distinguished road
Send a message via MSN to Freaky Chris
Re: Installation v.s. Standalone question.

Yes it is possible to do this providing that they don't need registry entries etc, thats one reason for installations is to set up registry entries for the applications as well as giving them paths so that it is all set up ready for the user to just go start > aProgram.

Chris
__________________
Who said i couldn't program
sarcasm = raw_input('Type in a sarcastic remark: ')
print sarcasm
Freaky Chris is offline   Reply With Quote
Old May 3rd, 2008, 6:39 PM   #3
AnarchicError
Newbie
 
Join Date: May 2008
Posts: 2
Rep Power: 0 AnarchicError is on a distinguished road
Re: Installation v.s. Standalone question.

better insight, thanks I wasent thinking registry wize. my next question would be can you include a programs original .exe and extra files making a standalone version. without opening up the original exe or creating new code. my ambition woud be overall to make a converter that converts the files in program files to one file. I'm sorry this might not make sence or be possable I'm new at this and I am a program files neet freak.
AnarchicError is offline   Reply With Quote
Old May 3rd, 2008, 7:11 PM   #4
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 747
Rep Power: 3 Jimbo is on a distinguished road
Re: Installation v.s. Standalone question.

It's possible for a program to be a single file, but it's really inefficient. The reason programs are split up into libraries and other files are so that you don't have to load a single several-hundred MB file into memory each time you load the program. So there's tricks, like keeping resources (whether text strings or images) in separate files so you can load or unload them as needed. Sometimes parts of the programs are split into libraries, so they only need be loaded when the program requires that code. Other libraries can be shared between programs, so by installing one copy of it, several programs can rely on the same file.

To answer your question, there isn't (AFAIK) a way to recreate a program as a standalone. Even if there was, your system would quickly feel the brunt of it.
__________________
<insert disclaimer here>
<insert shameless plug for Visual Studio here>
Jimbo is offline   Reply With Quote
Old May 3rd, 2008, 10:46 PM   #5
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 403
Rep Power: 3 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
Re: Installation v.s. Standalone question.

Well I think it's also necessary to consider what standalone might mean. Like Jimbo said it's important to realize that if you made just one file (that being JUST the executable) it would hog all your resources. However, stand alone programs are available: HydraIRC, uTorrent, etc. These are programs you can download and simply unzip retaining their internal working structure. However, there's no change to your system nor install/uninstall, etc. Simply unzip, and delete if you don't need.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware installation guide for Linux beginners coldDeath Coder's Corner Lounge 104 Jul 29th, 2007 4:40 AM
C++ template and namespace question Soulstorm C++ 3 Jan 22nd, 2006 2:46 PM
How to post a question nnxion C++ 10 Jun 3rd, 2005 11:53 AM
How to post a question nnxion C++ 0 Jun 3rd, 2005 8:55 AM
How to post a question nnxion C 0 Jun 3rd, 2005 8:55 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:37 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC