This is how you would script using the SymHelp extracted files. The files can be found in %temp%\STSFX2ADF when you launch the SymHelp.exe.
Note, source_files.exe and temp.exe contain the SymHelp extracted files—I used WinRAR to make self-extracting EXEs.
@echo on
title Administrative Spyware Utility
REM LANDESK INSTALL
“C:\Program Files (x86)\LANDesk\LDClient\sdmcache\apps\Symantec\symhelp\source_files.exe”
ping -n 4 127.0.0.1>nul
if exist “C:\Program Files (x86)\LANDesk\LDClient\sdmcache\apps\Symantec\symhelp\STSFX2ADF\SymDiagUi3.exe” (
start “” “C:\Program Files (x86)\LANDesk\LDClient\sdmcache\apps\Symantec\symhelp\STSFX2ADF\SymDiagUi3.exe” -spe
goto :end
)
REM LOCAL INSTALL
@echo off
color 0a
set CurDir=%CD%
md c:\temp
“%CurDir%\temp.exe”
ping -n 4 127.0.0.1>nul
if exist “C:\temp\STSFX2ADF\SymDiagUi3.exe” (
cls
echo SymHelp 2.1.21.164 Utility from Symantec
echo.
runas /u:administrator “c:\temp\STSFX2ADF\SymDiagUi3.exe -spe”
goto :end
)
:end
exit /b 0