rem This is a sample script that installs Server Enterprise Edition silently.
rem Replace the following with your own values, so that:
rem SRP325xxxxxx.exe is the installation file on your Server CD
rem MyMFserver-path is the drive and path in which to install Server
rem MyLicensdb-path is the drive and path to contain the license database
rem MySerial is the serial number on your license key card
rem MyLicense is the license number on your license key card
@echo off
echo ***** Starting installation *****
start /wait SRP325xxxxxx.exe /s /v"/qn INSTALLDIR=MyMFserver-path"
if not exist MyMFserver-path\bin\cobver goto FAIL
MyMFserver-path\bin\aslmpclocate -q
if errorlevel 0 goto FOUNDDB
MyMFserver-path\bin\aslmpclocate -q MyLicensdb-path
MyMFserver-path\bin\aslmpcsilent 1 MySerial MyLicense
if errorlevel 0 goto PASS
echo ***** License not set. Call Support *****
goto END
:FOUNDDB
MyMFserver-path\bin\aslmpcsilent 2 MySerial MyLicense
if errorlevel 0 goto PASS
echo ***** License not set. Call Support *****
goto END
:FAIL
echo ***** Installation Failed - Call Support - check installation log file : "%temp%\SRP32msilog.txt" *****
goto END
:PASS
echo ***** Installation completed *****
goto END
:END