home *** CD-ROM | disk | FTP | other *** search
- indestdir
- set _text insteng.txl
- err_handler %_text%\errhand.txt
- getOpt -T
- if %_err% eq 0
- set _option "-T"
- endif
- rem determine which menu item to highlight
- set _next 0
- getOpt -N:
- if %_err% eq 0
- set _next %_1%
- endif
- :loop
- textbox 1 1 80 25 blue
- color back blue
- type %_text%\cpyrght.txt 11 22 60 4
- color back cyan
- type %_text%\install.txt 3 2 77 6 -border
- menu %_text%\shell.mnu 20 11 40 7 %_text%\shell.tit %_text%\updown.leg -default %_next%
- switch %_1%
- case demo:
- chain -curoff d\setup.exe
- case escape:
- textbox 1 1 80 25 black
- case quit:
- textbox 1 1 80 25 black
- case readme:
- set _next %_2%
- goto doc_top
- case default:
- chain -curoff %_1%\install %_option% -N %_2%
- endswitch
- rem exit with status 99 to signal batch file to not rerun us.
- quit 99
- rem
- rem readme menu
- :doc_top
- set _doctext dino3d\doceng.txl
- textbox 1 1 80 25 blue
- color back blue
- type %_doctext%\readme0.txt 5 18 70 7
- color back cyan
- menu %_doctext%\readme.mnu 15 3 50 12 %_doctext%\readme.tit %_doctext%\updown.leg -default %_line%
- set _choice "%_1%"
- switch %_choice%
- case default:
- textbox 1 1 80 25 black
- spawn dino3d\more.com dino3d\doc\readme%_choice%.txt
- type %_doctext%\anykey.txt 1 25 80 1
- waitkey_noesc
- set _line %_choice%
- goto doc_top
- case escape:
- case quit:
- endswitch
- goto loop