Unattended setup issue when specifying InnoSetup inf file

503 views
Skip to first unread message

geoffroy...@gmail.com

unread,
Aug 26, 2016, 11:43:11 AM8/26/16
to git-for-windows
Hello

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.


When running
> Git-2.9.3.2-64-bit.exe /SILENT /LOADINF="user.inf" / SAVEINF="check.inf"

I guess i could expect that "check.inf = user.inf"

It is not the case, see content of check.inf below, which is exactly the same 

[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=Cmd
SSHOption=OpenSSH
CRLFOption=CRLFCommitAsIs
BashTerminalOption=MinTTY
PerformanceTweaksFSCache=Enabled



What am i missing here? Can it be linked to my environment?

ps: i also tried the  /o:PathOption=BashOnly syntax, still not working
setup_git.log

Johannes Schindelin

unread,
Aug 26, 2016, 12:05:24 PM8/26/16
to geoffroy...@gmail.com, git-for-windows
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

geoffroy...@gmail.com

unread,
Aug 29, 2016, 4:05:28 AM8/29/16
to git-for-windows, geoffroy...@gmail.com
Thanks for clarification

I've checked several versions
Git-2.9.3.2-64-bit --> KO
Git-2.8.3-64-bit --> KO
Git-2.7.4-64-bit --> OK
Git-2.6.4-64-bit --> OK

Do you have any scheduled date for a 2.10 release?

BR

Johannes Schindelin

unread,
Aug 31, 2016, 11:01:10 AM8/31/16
to geoffroy...@gmail.com, git-for-windows
Hi Geoffroy,

On Mon, 29 Aug 2016, geoffroy...@gmail.com wrote:

> Thanks for clarification
>
> I've checked several versions
> Git-2.9.3.2-64-bit --> KO
> Git-2.8.3-64-bit --> KO
> Git-2.7.4-64-bit --> OK
> Git-2.6.4-64-bit --> OK
>
> Do you have any scheduled date for a 2.10 release?

The tentative release date of Git v2.10.0 is this Friday, and I typically
build Git for Windows on the day after (due to time zone issues).

Ciao,
Johannes

Geoffroy Jabouley

unread,
Aug 31, 2016, 4:32:31 PM8/31/16
to git-for-windows
That sound perfect, i'll give it a try on next Monday
Thanks for your amazing work!

geoffroy...@gmail.com

unread,
Sep 6, 2016, 3:31:37 AM9/6/16
to git-for-windows
Unattended setup is working fine with 2.10
Thanks!


Le mercredi 31 août 2016 22:32:31 UTC+2, Geoffroy Jabouley a écrit :
That sound perfect, i'll give it a try on next Monday
Thanks for your amazing work!
2016-08-31 17:01 GMT+02:00 Johannes Schindelin :
Hi Geoffroy,

Johannes Schindelin

unread,
Sep 6, 2016, 7:59:55 AM9/6/16
to geoffroy...@gmail.com, git-for-windows
Hi Geoffroy,

On Tue, 6 Sep 2016, geoffroy...@gmail.com wrote:

> Unattended setup is working fine with 2.10

Thanks for the feedback!

Ciao,
Johannes
Reply all
Reply to author
Forward
0 new messages