Hi Geoffroy,
On Fri, 26 Aug 2016,
geoffroy...@gmail.com wrote:
> i am trying to prototype automation of the setup of the git client on
> several windows computers, using the unattended options of the InnoSetup
> package.
>
> *> Git-2.9.3.2-64-bit.exe /SILENT /LOADINF="user.inf"*
>
>
> user.inf content is as follow, generated by a previous manual install using
> */SAVEINF* option:
>
> [Setup]
> > Lang=default
> > Dir=C:\PRO\Tools\Git
> > Group=Git
> > NoIcons=0
> > SetupType=default
> > Components=ext,ext\shellhere,ext\guihere,assoc,assoc_sh,consolefont
> > Tasks=
> > PathOption=BashOnly
> > SSHOption=OpenSSH
> > CRLFOption=CRLFCommitAsIs
> > BashTerminalOption=MinTTY
> > PerformanceTweaksFSCache=Disabled
>
>
>
> Resulting setup *does append git \cmd folder in the system path*, so the
> value of the option PathOption is not taken into account. Nor the value of
> PerformanceTweaksFSCache.
This seems to stem from the recent changes that tried to enforce a change
in defaults.
Thanks to your reminder, those changes are slated to be removed for
v2.10.0 anyway, so with the next version you should be good.
Should you need those changes earlier, you are welcome to build your own,
custom installer:
https://github.com/git-for-windows/git/wiki/Making-an-installer
Ciao,
Johannes