PARSE ARG exename message
CALL RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs'
CALL SysLoadFuncs
IF SysSearchPath('PATH', exename ) == '' THEN
RETURN message
RETURN ''
/* Searches the system LIBPATH for the specified DLL. If not found,
* displays a popup dialog, and optionally aborts the installation.
*
* Parameters:
* dname Name of the DLL to look for (must include extension)
* fail If 1, abort installation if the DLL was not found
* message Message text to be shown when the DLL is not found
*/
CALL RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs'
CALL SysLoadFuncs
PARSE ARG dname fail message
IF dname == '' THEN RETURN ''
_bd = SysBootDrive()
IF _bd == '' THEN
_bd = FILESPEC('DRIVE', VALUE('COMSPEC',,'OS2ENVIRONMENT'))
_csys = _bd'\CONFIG.SYS'
CALL SysFileSearch 'LIBPATH=', _csys, 'match.'
DO i = 1 TO match.0
PARSE UPPER VAR match.i 'LIBPATH=' _lpath
IF _lpath <> '' THEN LEAVE
END
CALL SETLOCAL
_testenv = 'TEST_'dname'_LIBPATH'
CALL VALUE _testenv, _lpath, 'OS2ENVIRONMENT'
location = SysSearchPath( _testenv, dname )
CALL ENDLOCAL
IF location == '' THEN DO
title = dname 'Not Found'
rc = WirexxShowMessage( title, message )
IF fail == 1 THEN CALL WirexxCancel
END
RETURN ''
The main Icon Themes program. Includes English language support, and several standard themes.
This package will install Icon Themes support.
=("CheckProgram RESMGR.CMD WARNING: The Resource Manager (RESMGR) utility was not found on your system. This program is required for Icon Themes to function.")
README.TXT
Please select the components to install.
Note that you can install multiple language packages if you wish: Icon Themes supports dynamic language switching.
~Install