Add a preliminary setup that parses the available packages

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Ignore the "root" directory

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Beautify the download script's console output a bit

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Create a custom wizard page for package selection

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Set a custom installer output directory and file name

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Add very basic actual install functionality (call mingw-get)

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Add a basic parser for the package group hierarchy

Also, reorder functions for a better overview.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Also add root groups to the list of package groups

Sort them after nested package groups.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Sort packages into groups

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Handle the case when no packages could be found

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Apply a minor simplification in ParseForHierarchy

ExtractFileDir does not append a trailing backslash like ExtractFilePath
does, see

http://www.delphibasics.co.uk/RTL.asp?Name=ExtractFileDir

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Show the package hierarchy on the installer's wizard page

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Show the package class as a subitem in the checkbox list

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Handle the case if no packages are selected

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Do not allow the installation directory to contain spaces

This is a MinGW limitation, see

http://sourceforge.net/tracker/?func=detail&aid=1511614&group_id=2435&atid=102435

According to the comments, the problem is not limited to msys.bat.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Show the number of unique packages, not package entries, in the installer

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Fix the camel-case of GetArrayLength

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Support enforcing the installation of mandatory packages

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Sort packages alphabetically

This requires to use TStringLists instead of TArrayOfStrings.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Rename the project to mingwGitDevEnv

That name is more appropriate as our git.exe is compiled using MinGW, not MSYS,
i.e. it does not depend on msys-1.0.dll. The MSYS environment is only required
by Bash etc. in order to run the scripts that come with Git.

This resolves also any possible confusion with msys-git, a project by the MinGW
community that strives towards creating a Git version compiled with MSYS that
e.g. works with mintty, see

http://permalink.gmane.org/gmane.comp.gnu.mingw.user/36756
http://permalink.gmane.org/gmane.comp.gnu.mingw.user/36766

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>