I tried to install Firefox, (just as a test example), from a batch file, but the installation prompted for the Administrator username and password.
I tried this batch script but it doesn't work.
set "username=administrator"
set "password=password"
call "\\Applications\DRIVERS\Firefox-Setup_EN_33-0-1.exe
CScript //nologo //E:JScript "%~F0" "%username%{tab}%password%{enter}"
goto :EOF