I'm interested in pushing MediaLab/DirectRT installs in my department with the following batch script, pushed out with Altiris Deployment Solution. I have two questions about this:
1- If I run this locally on a PC from cmd or by double-clicking on the .bat, it works perfectly. If I push it out with Altiris Deployment Solution, the software never gets installed and the .bat hangs waiting for the folders to appear, which never happens.
2- Once the proper license files are in place, on first launch, it still asks for a code, requiring the first user to type in "99999". Is there a command-line method to not require this on first launch?
Thanks!
Code:
copy /y "\\192.0.2.200\NSCap\Software\MLDRT\mldrt2010.3.exe" %temp%
%temp%\mldrt2010.3.exe /S /v/qn
:START
if not exist %systemdrive%\MediaLab GOTO WAIT
if not exist %systemdrive%\DirectRT GOTO WAIT
GOTO COPY
:WAIT
ping 127.0.0.1 > nul
GOTO START
:COPY
copy /y "\\192.0.2.200\NSCap\Software\MLDRT\licenseML2010ip.dll" %systemdrive%\MediaLab
copy /y "\\192.0.2.200\NSCap\Software\MLDRT\licenseRT2010ip.dll" %systemdrive%\DirectRT