![]() |
Development Lifecycle »
Installation »
General
Intermediate
Little Install BuilderBy Pablo van der MeerBuilding setup programs using Microsoft's setup scripts. |
VC6, VC7Win2K, WinXP, MFC, Dev
|
|
Advanced Search Add to IE Search |
|
|
|
||||||||||||||||

There are a lot of setup programs available, but I found that their code may add more than 250KB to the total size of the final setup application, and because most of my applications are not much bigger than 100KB, I decided to write my own installation builder.
The application does not have all the features available in commercial setup builders, but it's a good start (I think...). Maybe in the future I will extend the installation builder with more features, but for now I found it good enough for my needs. If you have any suggestions or improvements please let me know!
Little Install Builder is made up out of two parts:
The installation builder is a simple SDI application with a tabbed form where you can enter all the information needed by the setup program. For example: add files, assign shortcuts and other setup specific variables. You can also use the wizard, which will guide you through the necessary steps of creating a setup program for your software product.
The application has 4 tab-pages:
After you entered all the necessary information you can build the setup program. This creates a single output file that contains all setup information and files needed for installation.
I decided to use no compression because most setups are distributed as zip files, so why compress it twice? The generated output file is made up from 3 parts:
The setup program performs the following tasks:
The .inf file describes the actions in the setup process such as:
Because there's too much code to explain, I'll just give you a list of implementation highlights.
This project shows you how to:
| You must Sign In to use this message board. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 30 Jul 2002 Editor: Genevieve Sovereign |
Copyright 2002 by Pablo van der Meer Everything else Copyright © CodeProject, 1999-2009 Web18 | Advertise on the Code Project |