Development Software
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementDevelopment Software

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old November 19th, 2006, 08:46 PM
ajm113 ajm113 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 339 ajm113 User rank is Sergeant (500 - 2000 Reputation Level)ajm113 User rank is Sergeant (500 - 2000 Reputation Level)ajm113 User rank is Sergeant (500 - 2000 Reputation Level)ajm113 User rank is Sergeant (500 - 2000 Reputation Level)ajm113 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 23 h 52 m 14 sec
Reputation Power: 9
How do installers work?

How do installers work? I know that they copy files from inside the program and past them automaticy in a area where you want them to go. My main question is where do the installers keep these files at? Becuase some downloads just give you the INSTALL.exe and that is it. How do they do this?

Thank you.

Reply With Quote
  #2  
Old November 19th, 2006, 09:08 PM
Oler1s Oler1s is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2006
Posts: 1,490 Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 4 Weeks 19 h 36 m 20 sec
Reputation Power: 440
Installers take a series of files, pack them together, usually with some sort of compression, keep some additional information like registry entries to modify and other actions to take, and then whatever is necessary to show the installer interface. All of that gets bundled together as an exe.

If you want to examine an installer to get a better feel, play around with NSIS [NSIS Homepage].
__________________
C/C++: Books, C FAQ, C++ FAQ, C/C++ Reference.
Python: Website, Beautiful Soup.

Reply With Quote
  #3  
Old November 19th, 2006, 09:14 PM
ajm113 ajm113 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 339 ajm113 User rank is Sergeant (500 - 2000 Reputation Level)ajm113 User rank is Sergeant (500 - 2000 Reputation Level)ajm113 User rank is Sergeant (500 - 2000 Reputation Level)ajm113 User rank is Sergeant (500 - 2000 Reputation Level)ajm113 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 23 h 52 m 14 sec
Reputation Power: 9
How does this get blended together? Is it like having your own compresion system like winzip or something like that, but exept it asks you automaticly where you want them? Is that what you are saying? Becuase I am making my own just for fun and see what it is like to make something like that for my own use for stuff like mods that I am releasing for games. I am using C++. I know too advance for a C++ noob. I am just going left to right here and there and see what happens.

Last edited by ajm113 : November 19th, 2006 at 09:16 PM.

Reply With Quote
  #4  
Old November 19th, 2006, 09:22 PM
Oler1s Oler1s is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2006
Posts: 1,490 Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 4 Weeks 19 h 36 m 20 sec
Reputation Power: 440
Quote:
Originally Posted by ajm113
Is it like having your own compresion system like winzip or something like that, but exept it asks you automaticly where you want them?
It's quite similar, just extended quite a bit more. With winzip, you take a zip file and use winzip to unzip it. These installers are like winzip and the zip file combined. In fact, you can create auto-extracting zip files (an exe) with WinZip and some other compression programs. Just that with a installer, it can be more complex because you can additionally delete files, modify files, modify registry, etc. for the installation.

Reply With Quote
  #5  
Old November 19th, 2006, 09:32 PM
ajm113 ajm113 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 339 ajm113 User rank is Sergeant (500 - 2000 Reputation Level)ajm113 User rank is Sergeant (500 - 2000 Reputation Level)ajm113 User rank is Sergeant (500 - 2000 Reputation Level)ajm113 User rank is Sergeant (500 - 2000 Reputation Level)ajm113 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 23 h 52 m 14 sec
Reputation Power: 9
mmm... Intresting Is there a place I can learn more about this? On how to make a automatic extracting files or atleast what I am trying to do so I can get a better preseption on what I need to do and how to do it?

Reply With Quote
  #6  
Old November 19th, 2006, 09:44 PM
Oler1s Oler1s is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2006
Posts: 1,490 Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Oler1s User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 4 Weeks 19 h 36 m 20 sec
Reputation Power: 440
I don't know off the top of my head any specific places to look for tutorials. I would, like you, go after Google. But do look at NSIS (link posted above). NSIS is written in C and C++ and is open source, so you can learn quite a bit by seeing how their code works.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementDevelopment Software > How do installers work?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway