configsys.cfg


The configsys.cfg file is a piece of Rexx code that describes to WiseMachine how an application affects a workstation's config.sys. For instance, the configsys.cfg for the VoiceType application looks like this:


/* */
/* All tokens must be separated by single spaces */

libpath = BootDrive"\Apps\VT\SPCH_BIN;"
path = BootDrive"\Apps\VT\SPCH_BIN;"
dpath = BootDrive"\Apps\VT\SPCH_BIN;"
help = BootDrive"\Apps\VT\SPCH_RO\HELP;"

config.0 = 999
config.i = "rem Begin VoiceType"
config.i = "SET SPCH_RUN="BootDrive"\Apps\VT\SPCH_RUN"
config.i = "SET SPCH_RO="BootDrive"\Apps\VT\SPCH_RO"
config.i = "SET SPCH_RW="BootDrive"\Apps\VT\SPCH_RW"
config.i = "SET SPCH_BIN="BootDrive"\Apps\VT\SPCH_BIN"
config.i = "SET SPCH_PATH="BootDrive"\Apps\VT\SPCH_RO\LANGS\%l\POOLS"
config.i = "SET SPCH_TRN="BootDrive"\Apps\VT\SPCH_BSF"
config.i = "rem End VoiceType"

The value of BootDrive will be replaced with the proper value when the user deploys this application to a particular drive in his computer.

When you define a new application with WiseApp, a default configsys.cfg file will get created as \TVoice\Wiseprog\WiseManager\Name\Name.cfg where Name is the name of the application. This is a typical default configsys.cfg file:


/* */
/* All tokens must be separated by single spaces */
/* Sample line: config.i = "device="BootDrive"\Apps\Name\Name.sys" */

/* libpath = BootDrive"\Apps\Name;" */
/* path = BootDrive"\Apps\Name;" */
/* dpath = BootDrive"\Apps\Name;" */
/* help = BootDrive"\Apps\Name;" */
/* bookshelf = BootDrive"\Apps\Name;" */
/* somir = BootDrive"\Apps\Name;" */
/* somddir = BootDrive"\Apps\Name;" */
/* ulspath = BootDrive"\Apps\Name;" */
/* locpath = BootDrive"\Apps\Name;" */
/* classpath = BootDrive"\Apps\Name;" */
/* include = BootDrive"\Apps\Name;" */
/* lib = BootDrive"\Apps\Name;" */
/* epmpath = BootDrive"\Apps\Name;" */
/* nlspath = BootDrive"\Apps\Name;" */
/* ipfc = BootDrive"\Apps\Name;" */

config.0 = 999
config.i = "rem Begin Name"
config.i = "rem End Name"


After defining a new application, you must manually edit this file to include appropriate entries for a particular program (if that program needs to modify the workstation's config.sys at all). Please note that the \Apps is necessary for WiseMachine's bigger brother WiseManager to work properly. For locally booted station, the string "\Apps" is ignored by WiseMachine.

WiseMachine assumes a "sectionalized" approach to config.sys modifications. Aside from the various path related statements, all entries for a particular application must go between the "rem Begin Name" and "rem End Name" marker lines - where Name would be the name assigned to this application (see the VoiceType example above).

Likewise, a simple applications such as adding an Adaptec SCSI controller looks like this:


/* */
/* All tokens must be separated by single spaces */


config.0 = 999
config.i = "REM BEGIN aha152x"
config.i = "basedev=AHA152X.ADD"
config.i = "REM END aha152x"