I have created unattended windows cd/usb.
I would like options to install drivers for specific model of machine, and after the drivers is installed I would like programs to install after the drivers is completed.
but this is not working for me. I have created the following
@echo off
echo please wait...
start /wait %systemdrive%\install\Application\Framework\dotnetfx35.exe /q /norestart
@ECHO OFF
CLS
:MENU
CLS
ECHO ============= Driver Install =============
ECHO -------------------------------------
ECHO 1. Optiplex 780
ECHO 2. Optiplex 790
ECHO -------------------------------------
ECHO ==========PRESS 'Q' TO QUIT==========
ECHO.
SET INPUT=
SET /P INPUT=Please select a number:
IF /I '%INPUT%'=='1' GOTO Selection1
IF /I '%INPUT%'=='2' GOTO Selection2
IF /I '%INPUT%'=='Q' GOTO Quit
CLS
ECHO ============INVALID INPUT============
ECHO -------------------------------------
ECHO Please select a number from the Main
echo Menu [1-2] or select 'Q' to quit.
ECHO -------------------------------------
ECHO ======PRESS ANY KEY TO CONTINUE======
PAUSE > NUL
GOTO MENU
:Selection1
%systemdrive%\install\Application\Dell\Dell780\Intel\R302424\Setup.exe -s
%systemdrive%\install\Application\Dell\Dell780\Intel\R286630\setup.exe -s
%systemdrive%\install\Application\Dell\Dell780\Intel\R253211\setup.exe -s
%systemdrive%\install\Application\Dell\Dell780\Network\R280820\BDSetup.exe -q
%systemdrive%\install\Application\Dell\Dell780\Video\R296582\setup.exe -s
%systemdrive%\install\Application\Dell\Dell780\Audio\DRVR_WIN_R282894.exe /s
echo Selection1
GOTO Quit
:Selection2
%systemdrive%\install\Application\Dell\Dell790\Intel\T7WCW\setup.exe -s
%systemdrive%\install\Application\Dell\Dell790\Intel\MPGY4\setup.exe -s
%systemdrive%\install\Application\Dell\Dell790\Intel\R298379\setup.exe -s
%systemdrive%\install\Application\Dell\Dell790\Network\12PMV\setup.exe -q
%systemdrive%\install\Application\Dell\Dell790\Video\95G93\setup.exe -s
%systemdrive%\install\Application\Dell\Dell790\Audio\R289789\setup.exe -s
echo Selection2
GOTO Quit
:Quit
CLS
PAUSE
EXIT
echo Rest of batch1
@echo off
start /wait %systemdrive%\install\Application\Office\setup.exe
start /wait %systemdrive%\install\Application\Meditech\Workstation4.25aP.exe
start /wait REGEDIT /S %systemdrive%\install\Application\Meditech\ConnectionSettings.reg
start /wait %systemdrive%\install\Application\Flash\install_flash_player_11_active_x.exe -install
start /wait %systemdrive%\install\Application\Adobe\AdbeRdr11000_en_US.exe /msi EULA_ACCEPT=YES /qn
start /wait %systemdrive%\install\Application\Java\jre-7u21-windows-i586.exe /s
start /wait %systemdrive%\install\Application\Framework\dotNetFx40_Full_x86_x64.exe /q /norestart
echo rebooting.... Please wait
shutdown.exe /f/r/t 0
What am I doing wrong, as the programs do not install after the drivers is completed.