WinGit(Inno): Make installer optionally modify PATH
commit8777623f90c8c013881f8be8601a11c40cbfde62
authorSebastian Schuberth <sschuberth@visageimaging.com>
Mon, 15 Oct 2007 10:31:36 +0000 (15 12:31 +0200)
committerSebastian Schuberth <sschuberth@visageimaging.com>
Mon, 15 Oct 2007 10:31:36 +0000 (15 12:31 +0200)
treee52bbf7f588ee0bab85f09e9807ac53721205fef
parent431a69ba04e1334b6bc240f032309e42fe61c1f9
WinGit(Inno): Make installer optionally modify PATH

By using a helper script, the installer can now optionally modify the current
user's PATH (which will be undone upon uninstall). Options are:

- Not to modify PATH at all,
- add only Git to PATH (i.e. \cmd),
- add Git and UNIX tools to PATH (i.e. \bin and \mingw\bin).

The default is to only add Git to PATH which seems to be the best compromise
between the convenience to be able to use Git from cmd.exe and avoiding
conflicts between programs with matching names (find, sort).
share/WinGit-InnoSetup/install.iss
share/WinGit-InnoSetup/modpath.iss [new file with mode: 0644]