@ECHO OFF
TITLE Dragon NS ME Client
CLS
ECHO.
ECHO Killing Outlook, Word, and Dragon
ECHO =================================
TASKKILL /IM outlook.exe /F /T
TASKKILL /IM winword.exe /F /T
TASKKILL /IM winword.exe /F /T
TASKKILL /IM winword.exe /F /T
TASKKILL /IM natspeak.exe /F /T
ECHO = Complete
ECHO.
ECHO Adding Deployment Data for the Registry
ECHO =======================================
REG DELETE "HKLM\Software\UKHC IT\SupportedPackages\Nuance Communications Inc." /f
Set CompanyName=Nuance
Set DisplayName=Dragon NaturallySpeaking 12
Set DisplayVersion=12.51.202.093 (2.3)
Set KeyLocation="HKEY_LOCAL_MACHINE\Software\UKHC IT\SupportedPackages\%CompanyName%\%DisplayName%"
reg delete %KeyLocation% /f
reg add %KeyLocation% /f >NUL
reg add %KeyLocation% /v DisplayVersion /t REG_SZ /d "%DisplayVersion%" /f >NUL
reg add %KeyLocation% /v InstallBegin /t REG_SZ /d "%DATE:~4% %time:~0,-3%" /f >NUL
reg add %KeyLocation% /v InstallType /t REG_SZ /d "SCCM" /f >NUL
reg add %KeyLocation% /v AlsoKnownAs /t REG_SZ /d "Dragon Medical 360" /f >NUL
ECHO = Complete
ECHO.
ECHO Removing previous versions: %time:~0,-6%
ECHO =================================
ECHO - Dragon NS ME 9.x
MsiExec.exe /x{DDDD90B2-80F2-413A-8A8E-38C5076A7DBA} /q /norestart /L*v "C:\DNME09_Remove.log" REBOOT=ReallySuppress
ECHO - Dragon NS ME 10.x
MsiExec.exe /x{E7712E53-7A7F-46EB-AA13-70D5987D30F2} /q /norestart /L*v "C:\DNME10_Remove.log" REBOOT=ReallySuppress
ECHO - Dragon NS ME 11.x
MsiExec.exe /x{EFFA53BC-8C04-2E21-3D90-A13B1697B0CA} /q /norestart /L*v "C:\DNME11_Remove.log" REBOOT=ReallySuppress
ECHO = Complete
ECHO.
ECHO Installing Pre-requisites: %time:~0,-6%
ECHO ================================
ECHO + MSXML 4SP2
MSIEXEC /i "%~dp0ISSetupPrerequisites\MSXML4.0SP2\msxml4.msi" /q /norestart
SET AppEL=%errorlevel%
reg add %KeyLocation% /v ExitLvl1_MSXML /t REG_SZ /d "%AppEL%" /f >NUL
ECHO + InstallShield Script Engine 11
MSIEXEC /i "%~dp0ISSetupPrerequisites\ISScript11.msi" /q /norestart
SET AppEL=%errorlevel%
reg add %KeyLocation% /v ExitLvl2_ISScript /t REG_SZ /d "%AppEL%" /f >NUL
IF EXIST "C:\Program Files (x86)\" (
ECHO + WIC x64
"%~dp0ISSetupPrerequisites\wic_x64_enu\wic_x64_enu.exe" /q /norestart
SET AppEL=%errorlevel%
reg add %KeyLocation% /v ExitLvlA_WIC64 /t REG_SZ /d "%AppEL%" /f >NUL
) ELSE (
ECHO + Skipping WIC x64
)
ECHO = Complete
ECHO.
ECHO Installing Application: %time:~0,-6%
ECHO =============================
ECHO + Dragon NS ME
MSIEXEC /i "%~dp0Dragon NaturallySpeaking 12.msi" /q /L*v "C:\DNME22_inst.log" REBOOT=ReallySuppress SERIALNUMBER=XXXXX-XXX-XXXX-XXXX-XX NAS_ADDRESS=SERVERNAME COMPANYNAME="Something, Inc."
SET AppEL=%errorlevel%
reg add %KeyLocation% /v ExitLvl3_DNME22 /t REG_SZ /d "%AppEL%" /f >NUL
ECHO + Dragon NS ME 2.3 Upgrade
MSIEXEC /i "%~dp0Dragon Medical Network Edition.msi" /q /L*v "C:\DNME23_inst.log" REBOOT=ReallySuppress
SET AppEL=%errorlevel%
reg add %KeyLocation% /v ExitLvl4_DNME23 /t REG_SZ /d "%AppEL%" /f >NUL
ECHO = Complete
reg add %KeyLocation% /v InstallEnd /t REG_SZ /d "%DATE:~4% %time:~0,-3%" /f >NUL
View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.