dbortuk,
You may want to have the SMS installation
code run everytime. It will only run for
about 5 -15 seconds (in the background process).
even if the system has SMS installed. It
will verify files and installation are correct
and that know one has deleted or disabled
SMS manually at the desktop. However, this
code should do the trick for you.

code:
IF %SMS_LOCAL_DIR% = "%WINDIR%"  ; if found it will quit this section of code
; to verify code on screen you can put in the line below
? "SMS is installed" ; remove once satisfied it works
ELSE
; to verify code on screen you can put in line below
? "SMS is not installed " ; remove once satisfied it works
; call your SMS installation code or batch file here...
ENDIF