@ECHO OFF
REM ################################################################
REM Installs: Amis 311
REM Download link:
REM Contact information:
REM Documentation:
REM Created:
REM Modifyed:
REM Info:
REM Program reboots during install: No
REM Windows needs to be rebooted by SCCM after install: No
REM User interaction at install: No
REM Application dependencies: Visual C++
REM ################################################################
SETLOCAL
:: Microsoft Visual C++ 2005 Redistributable
msiexec.exe /i "%~dp0vcredist.msi" /qn REBOOT=ReallySuppress
IF ERRORLEVEL 1 GOTO :EOF
:: Check for Java
REG QUERY "HKLM\SOFTWARE\JavaSoft\Java Runtime Environment" /v CurrentVersion >NUL 2>&1 || REG ADD "HKLM\SOFTWARE\JavaSoft\Java Runtime Environment" /t REG_SZ /v CurrentVersion /d "1.6" >NUL
IF ERRORLEVEL 1 GOTO :EOF
:: Install AMIS 3.1
"%~dp0Setup-amis311-Svenska.exe" /S