Link to home
Start Free TrialLog in
Avatar of IT Guy
IT Guy

asked on

Installing Git and chefdk via bat script

i have a windows domain and i need to install Git & Chefdk but the install script seems to be expert level which i am new at. can anyone help please

my Script

@echo off

msiexec.exe /i \\domain\netlogon\install\Git\Git-2.10.2-64-bit.exe


pause

exit

Git

 https://git-scm.com/download/win

chefdk

https://downloads.chef.io/chef-dk/
Avatar of NVIT
NVIT
Flag of United States of America image

What do you need help with?
Do you get errors?
Avatar of IT Guy
IT Guy

ASKER

sorry should have mentioned that i do get an error
User generated image
You don't say what OS you are running. 32 or 64 bit? Possibly you are trying to install a 64 bit in a 32 bit OS.
On the download page, there is also an option to try Git for Windows Portable ("thumbdrive edition")
Avatar of IT Guy

ASKER

we are running a 64 bit OS and i'm using the 64 bit install
Try  installing the 32-bit.
Avatar of IT Guy

ASKER

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

User generated image
ASKER CERTIFIED SOLUTION
Avatar of NVIT
NVIT
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of IT Guy

ASKER

thanks - once i convert to msi and i used the script - worked perfectly