Note that the "\\vm2008r2\foundation-v14.0-win" folder referenced in the command line above contains the main setup.exe file. After you unzip the ERDAS Foundation zip file that is the folder you want to share.
Create the following .bat file and then share the unzipped installation folder so you can install ERDAS Foundation 2014 with the command line.
@------------For Foundation-----------------------
@ECHO OFF
NET USE T: %1%
T:
setup.exe /s ERDASFoundation2014 /ns
IF %ERRORLEVEL% EQU 0 GOTO Install
ECHO Install status: %ERRORLEVEL% Expecting 0.
GOTO EOF
:Install
ECHO Installing...
setup.exe /s ERDASFoundation2014 /ni ACCEPT_EULA=1
setup.exe /s ERDASFoundation2014 /ns
ECHO Install status: %ERRORLEVEL% Expecting 1.
GOTO EOF
:EOF
C:
NET USE T: /DELETE /Y
EXIT /B 0
@---------------------------------------------
Do the same thing for the ERDAS IMAGINE 2014 installation. Create the .bat file and share the ERDAS IMAGINE 2014 insatllation folder (the folder contains the main setup.exe file)
NOTE: If you don't use a .bat file, then you will have to run the installation command twice.
@------------For IMAGINE-----------------------
@ECHO OFF
NET USE T: %1%
T:
setup.exe /s ERDASImagine2014x64 /ns
IF %ERRORLEVEL% EQU 0 GOTO Install
ECHO Install status: %ERRORLEVEL% Expecting 0.
GOTO EOF
:Install
ECHO Installing...
setup.exe /s ERDASImagine2014x64 /ni ADDLOCAL=ALL ACCEPT_EULA=1
setup.exe /s ERDASImagine2014x64 /ns
IF %ERRORLEVEL% EQU 1 GOTO Configure
ECHO Install status: %ERRORLEVEL% Expecting 1.
GOTO EOF
:Configure
ECHO Configuring...
setup.exe /s ERDASImagine2014x64 /c IMAGINE
setup.exe /s ERDASImagine2014x64 /cs IMAGINE
IF %ERRORLEVEL% EQU 1 GOTO EOF
ECHO Configure status: %ERRORLEVEL% Expecting 1.
GOTO EOF
:EOF
C:
NET USE T: /DELETE /Y
EXIT /B 0
@------------For IMAGINE-----------------------