From: Johannes Schindelin <johannes.schindelin@gmx.de>
To: "Knobbe, Fabian" <Fabian.Knobbe@landisgyr.com>
Cc: git@vger.kernel.org
Subject: Re: automatic git installation
Date: Tue, 12 May 2015 17:10:28 +0200 [thread overview]
Message-ID: <623dfcd4547202a2c6eb399a6c0116ed@www.dscho.org> (raw)
In-Reply-To: <AM3PR01MB3742DD43DFAE5196C50A572E6DA0@AM3PR01MB374.eurprd01.prod.exchangelabs.com>
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
next prev parent reply other threads:[~2015-05-12 15:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-12 8:50 automatic git installation Knobbe, Fabian
2015-05-12 15:10 ` Johannes Schindelin [this message]
2015-05-12 19:30 ` Thomas Ferris Nicolaisen
2015-05-13 8:43 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=623dfcd4547202a2c6eb399a6c0116ed@www.dscho.org \
--to=johannes.schindelin@gmx.de \
--cc=Fabian.Knobbe@landisgyr.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).