Solved

Installing Git and chefdk via bat script

Posted on 2016-11-25
8
71 Views
Last Modified: 2016-12-21
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 24

Expert Comment

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

Author Comment

by:NxJNY
ID: 41901896
sorry should have mentioned that i do get an error
1.png
0
 
LVL 24

Expert Comment

by:NVIT
ID: 41902067
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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 2

Author Comment

by:NxJNY
ID: 41902506
we are running a 64 bit OS and i'm using the 64 bit install
0
 
LVL 24

Expert Comment

by:NVIT
ID: 41902662
Try  installing the 32-bit.
0
 
LVL 2

Author Comment

by:NxJNY
ID: 41904706
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 24

Accepted Solution

by:
NVIT earned 500 total points
ID: 41904717
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
ID: 41905018
thanks - once i convert to msi and i used the script - worked perfectly
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Folder Permission Powershell 4 56
Disk Ram Peak 1 40
Batch File tool box 5 49
Batch/VBscript: import massively chedule task in windows task scheduler 15 44
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
When you receive another warning that your shared drive is almost full and you have asked your users to clean out old files again and again, here is a single command that may help. This command will place all the files that have not been used rec…
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 commit changes, push them to a remote repository, and pull them from another location using the EGit plugin for Eclipse.

815 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

8 Experts available now in Live!

Get 1:1 Help Now