#default C:\TOOLKIT
echo The IBM OS/2 Toolkit diskettes contain utilities, online documentation,
echo header files, libraries, and several sample programs.
ask tkhdr - Do you want the toolkit header files installed [1686K] ?
ask tklib - Do you want the toolkit library files installed [1130K] ?
ask tkpgm - Do you want the toolkit utilities installed [2617K] ?
ask tkdoc - Do you want the toolkit documentation installed [7264K] ?
ask tksam - Do you want the toolkit sample programs installed [6458K] ?
mkdir %2
mkdir %2asm
mkdir %2asm\os2inc
if %tksam mkdir %2asm\samples
if %tksam mkdir %2asm\samples\pdd
if %tksam mkdir %2asm\samples\vdd
if %tkdoc mkdir %2book
mkdir %2c
if %tkhdr mkdir %2c\os2h
if %tkhdr mkdir %2c\os2h\dasd
if %tksam mkdir %2c\samples
if %tksam mkdir %2c\samples\animals
if %tksam mkdir %2c\samples\bidi
if %tksam mkdir %2c\samples\clipbrd
if %tksam mkdir %2c\samples\clock
if %tksam mkdir %2c\samples\dialog
if %tksam mkdir %2c\samples\dllapi
if %tksam mkdir %2c\samples\dragdrop
if %tksam mkdir %2c\samples\eas
if %tksam mkdir %2c\samples\graphic
if %tksam mkdir %2c\samples\hanoi
if %tksam mkdir %2c\samples\hello
if %tksam mkdir %2c\samples\image
if %tksam mkdir %2c\samples\ipf
if %tksam mkdir %2c\samples\jigsaw
if %tksam mkdir %2c\samples\npipe
if %tksam mkdir %2c\samples\palette
if %tksam mkdir %2c\samples\print
if %tksam mkdir %2c\samples\queues
if %tksam mkdir %2c\samples\semaph
if %tksam mkdir %2c\samples\sort
if %tksam mkdir %2c\samples\style
if %tksam mkdir %2c\samples\template
if %tksam mkdir %2c\samples\tp
if %tksam mkdir %2c\samples\vmm
if %tksam mkdir %2c\samples\worms
if %tksam mkdir %2c\samples\wpcar
if %tksam mkdir %2c\samples\wpinfo
mkdir %2icon
mkdir %2ipfc
if %tklib mkdir %2os2lib
if %tkpgm mkdir %2sc
if %tkpgm mkdir %2os2bin
if %tkpgm mkdir %2os2help
if %tksam mkdir %2rexx
if %tksam mkdir %2rexx\samples
if %tksam mkdir %2rexx\samples\callrexx
if %tksam mkdir %2rexx\samples\devinfo
if %tksam mkdir %2rexx\samples\pmrexx
if %tksam mkdir %2rexx\samples\rexxutil
if %tksam mkdir %2rexx\samples\rxmacdll
if %tksam mkdir %2rexx\samples\rxstring
unpack %2.\ %1readme.wpk
unpack %2asm\os2inc\ %1os2inc.wpk
if %tksam unpack %2asm\samples\ %1asmsamp.wpk
if %tksam unpack %2asm\samples\pdd\ %1pdd.wpk
if %tksam unpack %2asm\samples\vdd\ %1vdd.wpk
if %tkdoc unpack %2book\ %1epmkwhlp.wpk
if %tkdoc unpack %2book\ %1pcmciarm.wpk
if %tkdoc unpack %2book\ %1pwrmanrm.wpk
if %tkdoc unpack %2book\ %1guiref20.wpk
if %tkdoc unpack %2book\ %1ipfc20.wpk
if %tkdoc unpack %2book\ %1ipfcexmp.wpk
#
# install diskette #2
#
enter %1pmfun.wpk disk 2, labelled "Toolkit Disk 2"
if %tkdoc unpack %2book\ %1pmfun.wpk
if %tkdoc unpack %2book\ %1pmgpi.wpk
if %tkdoc unpack %2book\ %1pmmsg.wpk
#
# install diskette #3
#
enter %1pmhok.wpk disk 3, labelled "Toolkit Disk 3"
if %tkdoc unpack %2book\ %1pmhok.wpk
if %tkdoc unpack %2book\ %1pmrel.wpk
if %tkdoc unpack %2book\ %1pmwin.wpk
if %tkdoc unpack %2book\ %1pmwkp.wpk
if %tkdoc unpack %2book\ %1rexxapi.wpk
if %tkdoc unpack %2book\ %1som.wpk
if %tkdoc unpack %2book\ %1toolinfo.wpk
#
# install diskette #4
#
enter %1os2h.wpk disk 4, labelled "Toolkit Disk 4"
if %tkhdr unpack %2c\os2h\ %1os2h.wpk
if %tkhdr unpack %2c\os2h\dasd\ %1dasd.wpk
if %tksam unpack %2c\samples\ %1samples.wpk
if %tksam unpack %2c\samples\animals\ %1animals.wpk
if %tksam unpack %2c\samples\clipbrd\ %1clipbrd.wpk
if %tksam unpack %2c\samples\clock\ %1clock.wpk
if %tksam unpack %2c\samples\dialog\ %1dialog.wpk
if %tksam unpack %2c\samples\dllapi\ %1dllapi.wpk
if %tksam unpack %2c\samples\dragdrop\ %1dragdrop.wpk
if %tksam unpack %2c\samples\eas\ %1eas.wpk
if %tksam unpack %2c\samples\graphic\ %1graphic.wpk
if %tksam unpack %2c\samples\hanoi\ %1hanoi.wpk
if %tksam unpack %2c\samples\hello\ %1hello.wpk
if %tksam unpack %2c\samples\image\ %1image.wpk
if %tksam unpack %2c\samples\ipf\ %1ipf.wpk
if %tksam unpack %2c\samples\bidi\ %1bidi.wpk
if %tksam unpack %2c\samples\jigsaw\ %1jigsaw.wpk
if %tksam unpack %2c\samples\npipe\ %1npipe.wpk
if %tksam unpack %2c\samples\palette\ %1palette.wpk
if %tksam unpack %2c\samples\print\ %1print.wpk
#
# install diskette #5
#
enter %1queues.wpk disk 5, labelled "Toolkit Disk 5"
if %tksam unpack %2c\samples\queues\ %1queues.wpk
if %tksam unpack %2c\samples\semaph\ %1semaph.wpk
if %tksam unpack %2c\samples\sort\ %1sort.wpk
if %tksam unpack %2c\samples\style\ %1style.wpk
if %tksam unpack %2c\samples\template\ %1template.wpk
if %tksam unpack %2c\samples\tp\ %1tp.wpk
if %tksam unpack %2c\samples\vmm\ %1vmm.wpk
if %tksam unpack %2c\samples\worms\ %1worms.wpk
if %tksam unpack %2c\samples\wpcar\ %1wpcar.wpk
if %tksam unpack %2c\samples\wpinfo\ %1wpinfo.wpk
unpack %2icon\ %1icon.wpk
unpack %2ipfc\ %1ipfc.wpk
if %tklib unpack %2os2lib\ %1os2lib.wpk
if %tkpgm unpack %2sc\ %1sc.wpk
if %tkpgm unpack %2os2bin\ %1dlgedit.wpk
if %tkpgm unpack %2os2bin\ %1emitc.wpk
if %tkpgm unpack %2os2bin\ %1emitcsc.wpk
if %tkpgm unpack %2os2bin\ %1emitdef.wpk
if %tkpgm unpack %2os2bin\ %1emith.wpk
if %tkpgm unpack %2os2bin\ %1emitih.wpk
if %tkpgm unpack %2os2bin\ %1emitph.wpk
if %tkpgm unpack %2os2bin\ %1emitpsc.wpk
if %tkpgm unpack %2os2bin\ %1emitsc.wpk
if %tkpgm unpack %2os2bin\ %1exehdr.wpk
#
# install diskette #6
#
enter %1fontedit.wpk disk 6, labelled "Toolkit Disk 6"
if %tkpgm unpack %2os2bin\ %1fontedit.wpk
if %tkpgm unpack %2os2bin\ %1fwdstamp.wpk
if %tkpgm unpack %2os2bin\ %1iconedit.wpk
if %tkpgm unpack %2os2bin\ %1implib.wpk
if %tkpgm unpack %2os2bin\ %1ipfc.wpk
if %tkpgm unpack %2os2bin\ %1kifsmon.wpk
if %tkpgm unpack %2os2bin\ %1kiiface.wpk
if %tkpgm unpack %2os2bin\ %1kwikinf.wpk
if %tkpgm unpack %2os2bin\ %1mapsym.wpk
if %tkpgm unpack %2os2bin\ %1markexe.wpk
if %tkpgm unpack %2os2bin\ %1mkmsgf.wpk
if %tkpgm unpack %2os2bin\ %1msgbind.wpk
if %tkpgm unpack %2os2bin\ %1os2stub.wpk
if %tkpgm unpack %2os2bin\ %1pack.wpk
if %tkpgm unpack %2os2bin\ %1rc.wpk
if %tkpgm unpack %2os2bin\ %1rcpp.wpk
if %tkpgm unpack %2os2bin\ %1sc.wpk
if %tkpgm unpack %2os2bin\ %1spc.wpk
if %tkpgm unpack %2os2bin\ %1spp.wpk
if %tkpgm unpack %2os2bin\ %1spp2.wpk
if %tkpgm unpack %2os2bin\ %1syslevel.wpk
if %tkpgm unpack %2os2bin\ %1toolkt20.wpk
if %tkpgm unpack %2os2help\ %1os2help.wpk
if %tksam unpack %2rexx\samples\ %1rexxsamp.wpk
if %tksam unpack %2rexx\samples\callrexx\ %1callrexx.wpk
if %tksam unpack %2rexx\samples\devinfo\ %1devinfo.wpk
if %tksam unpack %2rexx\samples\pmrexx\ %1pmrexx.wpk
if %tksam unpack %2rexx\samples\rexxutil\ %1rexxutil.wpk
if %tksam unpack %2rexx\samples\rxmacdll\ %1rxmacdll.wpk
if %tksam unpack %2rexx\samples\rxstring\ %1rxstring.wpk
echo
echo Toolkit installation complete.  You should add the following
echo environment variable to CONFIG.SYS.
echo
echo SET TOOLKIT=%3
echo
