O/S Deployment Thread, Running cmd to install software - Where? in Technical; Morning all,
In MDT where do you recommend I put a CommandLine task in my task sequence? At the moment ...
12th March 2013, 12:17 PM #1
Running cmd to install software - Where?
In MDT where do you recommend I put a CommandLine task in my task sequence? At the moment I have a script
It runs and installs SIMS but the copy procedures at the end do not work. So part one works, part two does not. So SIMS installs, but the .ini files do not come over.
I've enclosed a picture of my task sequence where you can see the 'Run Command Line' which takes place after 'Install Applications'. I have the command line and all the files on the MDT server - maybe they are in the wrong place?
Can anyone advise?
12th March 2013, 12:43 PM #2
i add them as software packages without source files
12th March 2013, 01:09 PM #3
- Rep Power
I don't know anything about MDT but in batch files /command line UNC paths ie \\servername\file can be problematic.
Try copying the ini files onto your S: drive somewhere and then chaning the task so that is points to their location on the S: drive.
eg. from your example above:
net use s: <sims server> /user:xxxxxxxx xxxxxxx /persistent:yes
if exist "c:\Program Files (x86)" goto _x64
copy "S:\iniFileLocation\connectx86.ini" "c:\Program Files\SIMS\SIMS .net\connect.ini" /y
copy "S:\iniFileLocation\simsx86.ini" "c:\windows\sims.ini" /y
copy "S:\iniFileLocation\connectx64.ini" "c:\Program Files (x86)\SIMS\SIMS .net\connect.ini" /y
copy "S:\iniFileLocation\simsx64.ini" "c:\windows\sims.ini" /y
By enjay in forum Windows Server 2008 R2
Last Post: 21st May 2012, 06:21 PM
By Rawns in forum Windows
Last Post: 4th July 2011, 05:58 PM
By Disease in forum Windows Server 2008
Last Post: 22nd July 2010, 01:54 PM
By kaphc in forum Windows Server 2000/2003
Last Post: 16th December 2009, 09:37 PM
By Jobos in forum Windows
Last Post: 3rd October 2008, 07:21 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)