home *** CD-ROM | disk | FTP | other *** search
/ Zodiac Super OZ / MEDIADEPOT.ISO / FILES / 16 / KINSTD28.ZIP / INSSAMPL.SET < prev    next >
Text File  |  1996-09-19  |  4KB  |  140 lines

  1. REM ********************************************************************
  2. REM ** This file contains just about every valid keyword there is.    **
  3. REM ** Edit it to create a settings file for your own program easily. **
  4. REM ********************************************************************
  5.  
  6. REM Define the title of the program
  7. TITLE My Program Name
  8.  
  9. REM Define message to display at bottom of screen
  10. MSG Copyright (c) 1995 by My Software Company
  11.  
  12. REM Define a help program
  13. HELP BROWSE.COM, INSTHELP.TXT
  14.  
  15. REM Define a catalogue program
  16. CATALOG CATALOG.EXE
  17.  
  18. REM Specify main window size
  19. WINDOW 0, 0, 80, 13
  20.  
  21. REM Define colours
  22. COLS 1Eh, 2Eh, 1, , 2Fh
  23.  
  24. REM Define picture
  25. PICTURE 58, 1, 21, 10
  26.                      
  27.            *         
  28.                      
  29.     *                
  30.                 *    
  31.             *        
  32.                      
  33.                      
  34.          *           
  35.  
  36.  
  37. REM Define minimum processor type
  38. CPU 2
  39.  
  40. REM Define coprocessor required
  41. COPR 1
  42.  
  43. REM Define minimum DOS version
  44. DOSVER 3.2
  45.  
  46. REM Define default directory
  47. DIR C:\THEDIR\
  48.  
  49. REM Define reboot option
  50. REBOOT 0
  51.  
  52. REM Define program name so it can be run from SETUP
  53. RUN THEPROG.EXE, /S, 2
  54.  
  55. REM Define documentation file so the user's attention will be drawn to it
  56. DOC THEPROG.DOC
  57.  
  58. REM Define a program or command to run at the beginning of the installation
  59. FIRST MEM
  60.  
  61. REM Define a program or command to run at the end of the installation
  62. LAST CONVERT.EXE, /S
  63.  
  64. REM Define the automatic archive unpack identifier
  65. UNPAK __
  66.  
  67. REM Define the parameters to use with LHA.EXE
  68. LHA E /M1
  69.  
  70. REM Define the parameters to use with PKUNZIP.EXE
  71. ZIP -O
  72.  
  73. REM Define the parameters to use with ARJ.EXE
  74. ARJ E
  75.  
  76. REM Define the parameters to use with self-extracting archives
  77. EXE /s
  78.  
  79. REM Define another unarchiving program
  80. ARCHIVE .ZIP, UNZIP.EXE, -O
  81.  
  82. REM Define what to install, where, how, how big, what disk, and question to ask
  83. INSTALL MYPROG.EXE, ~MAIN, 4, 100, Install Disk 1
  84. INSTALL *.DOC, ~MAIN, 4, 50, Install Disk 1
  85. INSTALL *.DL_, ~SYS\*.DLL, 2, 200, Install Disk 1, Update Windows DLLs?
  86.  
  87. REM Define files to be deleted at the beginning of installation
  88. DEL OLDPROG.EXE
  89. DEL OLDHELP.HLP
  90.  
  91. REM Define directories to be created at the end of installation
  92. MKDIR DATA
  93. MKDIR TEMP
  94.  
  95. REM Define variable information to be entered by the user
  96. INPUT 0, 8, , @@######, Serial Number
  97. INPUT 1, 50, , ?* ?*, First and Last Name, Enter your First Name and Last Name
  98.  
  99. REM Define the file extension for backing up AUTOEXEC.BAT and CONFIG.SYS
  100. BAK .BKK
  101.  
  102. REM Specify that the main directory should be added to the DOS Path
  103. PATH
  104.  
  105. REM Specify lines to be added to the middle of AUTOEXEC.BAT
  106. AUTO SET PROGDIR=~MAIN
  107.  
  108. REM Specify a shell command to run at the very end of AUTOEXEC.BAT
  109. SHELL MYSHELL /Q
  110.  
  111. REM Specify the minimum number for the FILES value in CONFIG.SYS
  112. FILES 30
  113.  
  114. REM Specify the minimum number for the BUFFERS value in CONFIG.SYS
  115. BUFFERS 20
  116.  
  117. REM Specify lines to be added to the end of CONFIG.SYS
  118. CONF DEVICE=~MAIN\MYTSR.EXE /F:2 /P:LPT1
  119.  
  120. REM Write user entered data into the main EXE file
  121. RFILE ~MAIN\MYPROG.EXE, C
  122. REG 1076, 9, ~0
  123. REG 0, 51, ~1
  124.  
  125. REM Write user entered data into an INI file
  126. IFILE ~WIN\MYPROG.INI
  127. ISECT UserInfo
  128. INI Serial=~0
  129. INI Name=~1
  130.  
  131. REM Add group to Program Manager
  132. GROUP MYGROUP.GRP
  133.  
  134. REM Define the installation log file name
  135. LOG MYPROG.LOG
  136.  
  137. REM Define additional files to be deleted during uninstallation
  138. REMOVE MYPROG.CFG
  139. REMOVE ~WIN\MYPROG.INI
  140.