This chapter explains how you can add or remove components from DR-DOS by editing SETUP.INI and then using DISKSET to create new CD or disk product versions.
NOTE: You need to have DR-DOS installed on your computer before you can start building the components. You can install DR-DOS from the \DRDOS\INSTALL directory on the CD.
You will complete some or all of the steps below depending on your implementation:
To add or remove a component from the DR-DOS file set before you generate a new product version, you need to edit the script file which controls how the new CD or disk image is built. The utility that creates disk images is called DISKSET and this uses a script file (DRDOS.DDF) that contains information about all of the components used.
COMPONENT=ibmdos.com
COMPONENT=command.com
The following is a brief explanation of the commands used:
For example:
COMPONENT=mycomp.exe
For example:
;COMPONENT= mycomp.exe
By default, the files time and date are preserved when building a file set. However it is possible to set a new time and date for all or some files.
To set a time and date on all files, use the DEFAULT_TIME and DEFAULT_DATE commands in the defaults section at the start of the drdos.ddf file.
DEFAULT_TIME=7:01
To override the default time or date with a different time/date for a particular component, use the TIME and DATE command, for example:
COMPONENT = TESTFILE.EXE
If you do not want the time and date on a particular file to change, you can preserve the original time/date with the TOUCH=OFF command. For example:
COMPONENT = TEST2.EXE
All the source files are in the \OEM\SDKS\RDK\DOSBOOK directory. A BIN directory is created during the build process to store the final executable (DOSBOOK.EXE).
When you have modified the chapter files, you can build DOSBook in the following way. Change to the \OEM\SDKS\RDK\DOSBOOK directory and enter the following:
MAKE
This builds the DOSBook component and stores the built executable (DOSBOOK.EXE) in \RDK\DOSBOOK\BIN. When DOSBook has been built, copy the file into the RDK\GENSYS directory so that it is ready to be integrated into the product.
Any changes that you have made to the DOSBOOK component must be copied to the RDK\GENSYS directory.
When the required directories have been created, you can then create the CD product version. This is done by using the DISKSET utility which uses a script file called DRDOS.DDF. Enter the following at the command line:
DISKSET DRDOS.DDF DRDOS /S
The DRDOS.DDF is the script file that controls how the product is built. The second parameter is the directory where the files will be copied to and the /S switch means that there will be no user interaction during the process. Enter DISKSET /? for further information about command line switches you can use.
FILEDISK /U ; make sure it is not already loaded
The following are the command line switches used for FILEDISK
DISKSET creates SETUP.INI by using the script file provided (DRDOS.DDF). The SETUP.INI file is used by the INSTALL program as it contains information on where all of the components are going to be installed on the user's computer. This information is transposed from the script file to the SETUP.INI file.
In FrameMaker, open the .BK file (or .BOOK file) to open the complete book.
Edit the chapters as required remembering to edit the index markers as appropriate if you edit the text. Update the entire book and regenerate all the generated lists (contents, index, list of figures, and list of tables.)
NOTE: Check the generated lists after they have been created to make sure that they look correct. You need to edit the lists in some cases because you can have some unwanted headings appearing and some formatting might need to be adjusted.