From: Johannes Schindelin Date: Tue, 12 May 2015 15:10:28 GMT Subject: Re: automatic git installation Message-ID: <623dfcd4547202a2c6eb399a6c0116ed@www.dscho.org> In-Reply-To: Hi Fabian, On 2015-05-12 10:50, Knobbe, Fabian wrote: > I would like to automatically install git with a script. ... on Windows. > I already found some command line arguments to pass my settings to the setup routine, but I still don't know how to set "Adjust your PATH environment" to "Use Git from the Windows Command Prompt" without user interaction. If you use a recorded silent installation [*1*], you can choose that option in the recording stage and that should be enough to select it during replay. For non-Windows users: Git for Windows uses an InnoSetup-based installer that has the option to adjust the user's PATH to either include the entire Git for Windows binaries including all third-party libraries, or just the so-called Git wrapper (it is a lone `git.exe` inside a directory that does *not* add all the `.dll` files that would possibly conflict with other executables on the PATH). Ciao, Johannes Footnote *1*: https://github.com/msysgit/msysgit/wiki/Silent-or-Unattended-Installation