Installing Git and chefdk

i have a windows domain and i need to install Git & Chefdk.

first my test with Git - i created a software distribution via Fixlet and deploy, the status hangs as running until the PC reboots then the status change to failed.
GIT Sofware Link - https://git-scm.com/download/win

Logs

GatherHashMV command received.
At 13:16:57 -0500 - mailboxsite (http://NXJ-BIGFIX-01.domain.com:52311/cgi-bin/bfgather.exe/mailboxsite6982274)
Downloaded ‘http://NXJ-BIGFIX-01.domain.com:52311/mailbox/files/04/b7/04b7e97a2c8cc9ca32760001ab255dd998d16ce0’ as 'Action 5264.fxf’
At 13:16:58 -0500 - mailboxsite (http://NXJ-BIGFIX-01.domain.com:52311/cgi-bin/bfgather.exe/mailboxsite6982274)
Gather::SyncSiteByFile adding files - count: 1
At 13:16:58 -0500 -
Successful Synchronization with site ‘mailboxsite’ (version 252) - 'http://NXJ-BIGFIX-01.domain.com:52311/cgi-bin/bfgather.exe/mailboxsite6982274
Processing action site.
At 13:17:01 -0500 - mailboxsite (http://NXJ-BIGFIX-01.domain.com:52311/cgi-bin/bfgather.exe/mailboxsite6982274)
Relevant - Git (fixlet:5264)
At 13:17:03 -0500 -
ActionLogMessage: (action:5264) Action signature verified for Downloads
DownloadsAvailable: checking for 'http://NXJ-BIGFIX-01.domain.com:52311/bfmirror/downloads/5264/0
DownloadsAvailable: true (action id 5264)
ActionLogMessage: (action:5264) Non-Distributed - DownloadsAvailable
ActionLogMessage: (action:5264) Submitting download request
ActionLogMessage: (action:5264) Download url: 'http://NXJ-BIGFIX-01.domain.com:52311/Uploads/a678a2976f7834648fbb9049909f404f64196224/Git-2.10.2-64-bit.exe.tmp
At 13:18:03 -0500 -
Report posted successfully
At 13:18:26 -0500 -
ActionLogMessage: (action:5264) Non-Distributed - DownloadsAvailable
ActionLogMessage: (action:5264) Action signature verified for Execution
ActionLogMessage: (action:5264) starting action
DownloadPing command received (ID=5264)
At 13:18:26 -0500 - actionsite (http://NXJ-BIGFIX-01.domain.com:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded (Prefetch download manager collected file) prefetch a678a2976f7834648fbb9049909f404f64196224 sha1:a678a2976f7834648fbb9049909f404f64196224 size:34189069 http://NXJ-BIGFIX-01.domain.com:52311/Uploads/a678a2976f7834648fbb9049909f404f64196224/Git-2.10.2-64-bit.exe.tmp sha256:573f1a8cbe6ac7fa4175ee56aecd22078445e53f06b719abebc35e92827ed8e6 (action:5264)
At 13:18:28 -0500 - actionsite (http://NXJ-BIGFIX-01.domain.com:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded extract a678a2976f7834648fbb9049909f404f64196224 (action:5264)
Command started - wait __Download\Git-2.10.2-64-bit.exe (action:5264)
At 13:19:06 -0500 -
Report posted successfully

It seems that the installer hangs because it’s waiting for some user input or confirmation.
Have you tried to run the installer manually?

yes i can run manually - it does require user input to accept licenses etc

BigFix doesn’t support that. You should be able to run the installer silently before using a Fixlet for that.

do you mean like a bat script?

No, like identifying a command line that provides all the parameters that Git requires, without prompting the user for any further input. Look for “silent” or “unattended” install.

so i am writing a bat scrip then i will upload to bigfix but i’m stuck

trying this script but getting this error below- what am i doing wrong here

@echo off

msiexec.exe /i C:\Users\rsp\Desktop\Git-2.10.2.msi /qn

[Setup]
Lang=default
Dir=C:\Program Files\Git
Group=Git
NoIcons=0
SetupType=default
Components=
Tasks=
PathOption=Cmd
SSHOption=OpenSSH
CRLFOption=CRLFAlways

pause

exit

The first link on a Google search for “git windows silent install” yields this page: https://github.com/msysgit/msysgit/wiki/Silent-or-Unattended-Installation

That’s using msysgit. Not sure though which flavor of git you are trying to install. Where did you obtain the git msi? You should check there for the correct command lines and post a link here. We can help translate it to BigFix syntax, but you need to find the correct command lines.

got it working - i used a exe to msi converter to convert the package

@echo off

msiexec.exe /i \domain.com\netlogon\Git\Git-2.10.2-64-bit.msi /qn

exit

Ummm ok.
That feels several flavors of wrong though.
You shouldn’t need to repackage as MSI, the .EXE supports a silent install natively. You wouldn’t want to have to repackage for each version change.
You shouldn’t host the file on a UNC path, you can’t take advantage of relay caching that way and you can’t install to non-domain-joined clients.
If you are going to host the installer internally, put it on the BES Server’s Uploads folder, or another website where you can reach it. But you don’t need to host the git client at all, it’s freely available from the original download site.
You don’t need to create a batch file just to execute a simple command line.

And no need to rewrite a fixlet someone else has done already. Check https://bigfix.me first, where you’ll find a lot of @strawgate’s excellent work in the C3 site include a Git installer - https://bigfix.me/fixlet/details/20730

i tried using strawgate fixlet and replaced the link to the new version along with the sha but it kept failing