Solved

Installing Git and chefdk via bat script

Posted on 2016-11-25
8
16 Views
Last Modified: 2016-11-28
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/
0
Comment
Question by:NxJNY
  • 4
  • 4
8 Comments
 
LVL 23

Expert Comment

by:NVIT
Comment Utility
What do you need help with?
Do you get errors?
0
 
LVL 2

Author Comment

by:NxJNY
Comment Utility
sorry should have mentioned that i do get an error
1.png
0
 
LVL 23

Expert Comment

by:NVIT
Comment Utility
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")
0
 
LVL 2

Author Comment

by:NxJNY
Comment Utility
we are running a 64 bit OS and i'm using the 64 bit install
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 23

Expert Comment

by:NVIT
Comment Utility
Try  installing the 32-bit.
0
 
LVL 2

Author Comment

by:NxJNY
Comment Utility
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

11.png
0
 
LVL 23

Accepted Solution

by:
NVIT earned 500 total points
Comment Utility
You are combining setup info with a batch file. In the batch file, remove everything between the lines:

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

Run the batch file.
1
 
LVL 2

Author Closing Comment

by:NxJNY
Comment Utility
thanks - once i convert to msi and i used the script - worked perfectly
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
To properly understand GitHub, let’s divide it into two words ‘Git’ and ‘Hub’. Git is basically a ‘Distribution Version Control’ (DVC) and ‘Source Code Management’ (SCM) system widely used by software programmers while Hub means the efficient centre…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
How to create a Git repository using GitHub, and how to clone and checkout the repository using the EGit plugin for Eclipse.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now