@echo off
call check-for-admin
if %ERRORLEVEL% neq 0 exit /b

set EXE=..\software\spotify-setup.exe

if NOT EXIST %EXE% (
  echo ERROR: %EXE% not found!
  exit /b
)

echo ####### %0 #######

echo installing Spotify for user %USERNAME% ...
%EXE%

rem refresh desktop (W10 style)
ie4uinit.exe -show

echo ####### %0 #######
pause