@echo off call check-for-admin if %ERRORLEVEL% neq 0 exit /b set OPT=..\optional set SOFTWARE=..\software set MSI=bluejeans-setup.msi if NOT EXIST %SOFTWARE%\%MSI% ( echo ERROR: %SOFTWARE%\%MSI% not found! exit /b ) echo ####### %0 ####### echo installing Verizon BlueJeans ... cd %SOFTWARE% @echo on msiexec /i %MSI% INSTALLAUDIODRIVER=1 INSTALLUPDATESVC=0 LAUNCHAFTERINSTALL=0 /q @echo off cd %OPT% echo removing Desktop icon ... del /F "%USERPROFILE%\Desktop\BlueJeans.lnk" 2>nul echo removing autostart for BlueJeans-Client ... reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" ^ /v "BlueJeans.Detector" /f echo refreshing desktop (W10 style) ... ie4uinit.exe -show echo ####### %0 ####### pause