home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 26 / CD_ASCQ_26_1295.iso / vrac / kinstd20.zip / INSSAMPL.SET < prev    next >
Text File  |  1995-09-09  |  3KB  |  130 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 0
  26.  
  27. REM Define minimum processor type
  28. CPU 2
  29.  
  30. REM Define coprocessor required
  31. COPR 1
  32.  
  33. REM Define minimum DOS version
  34. DOSVER 3.2
  35.  
  36. REM Define default directory
  37. DIR C:\THEDIR\
  38.  
  39. REM Define reboot option
  40. REBOOT 0
  41.  
  42. REM Define program name so it can be run from SETUP
  43. RUN THEPROG.EXE, /S, 2
  44.  
  45. REM Define documentation file so the user's attention will be drawn to it
  46. DOC THEPROG.DOC
  47.  
  48. REM Define a program or command to run at the beginning of the installation
  49. FIRST MEM
  50.  
  51. REM Define a program or command to run at the end of the installation
  52. LAST CONVERT.EXE, /S
  53.  
  54. REM Define the automatic archive unpack identifier
  55. UNPAK __
  56.  
  57. REM Define the parameters to use with LHA.EXE
  58. LHA E /M1
  59.  
  60. REM Define the parameters to use with PKUNZIP.EXE
  61. ZIP -O
  62.  
  63. REM Define the parameters to use with ARJ.EXE
  64. ARJ E
  65.  
  66. REM Define the parameters to use with self-extracting archives
  67. EXE /s
  68.  
  69. REM Define another unarchiving program
  70. ARCHIVE .ZIP, UNZIP.EXE, -O
  71.  
  72. REM Define what to install, where, how, how big, what disk, and question to ask
  73. INSTALL MYPROG.EXE, ~MAIN, 4, 100, Install Disk 1
  74. INSTALL *.DOC, ~MAIN, 4, 50, Install Disk 1
  75. INSTALL *.DL_, ~SYS\*.DLL, 2, 200, Install Disk 1, Update Windows DLLs?
  76.  
  77. REM Define files to be deleted at the beginning of installation
  78. DEL OLDPROG.EXE
  79. DEL OLDHELP.HLP
  80.  
  81. REM Define directories to be created at the end of installation
  82. MKDIR DATA
  83. MKDIR TEMP
  84.  
  85. REM Define variable information to be entered by the user
  86. INPUT 0, 8, , @@######, Serial Number
  87. INPUT 1, 50, , ?* ?*, First and Last Name, Enter your First Name and Last Name
  88.  
  89. REM Define the file extension for backing up AUTOEXEC.BAT and CONFIG.SYS
  90. BAK .BKK
  91.  
  92. REM Specify that the main directory should be added to the DOS Path
  93. PATH
  94.  
  95. REM Specify lines to be added to the middle of AUTOEXEC.BAT
  96. AUTO SET PROGDIR=~MAIN
  97.  
  98. REM Specify a shell command to run at the very end of AUTOEXEC.BAT
  99. SHELL MYSHELL /Q
  100.  
  101. REM Specify the minimum number for the FILES value in CONFIG.SYS
  102. FILES 30
  103.  
  104. REM Specify the minimum number for the BUFFERS value in CONFIG.SYS
  105. BUFFERS 20
  106.  
  107. REM Specify lines to be added to the end of CONFIG.SYS
  108. CONF DEVICE=~MAIN\MYTSR.EXE /F:2 /P:LPT1
  109.  
  110. REM Write user entered data into the main EXE file
  111. RFILE ~MAIN\MYPROG.EXE, C
  112. REG 1076, 9, ~0
  113. REG 0, 51, ~1
  114.  
  115. REM Write user entered data into an INI file
  116. IFILE ~WIN\MYPROG.INI
  117. ISECT UserInfo
  118. INI Serial=~0
  119. INI Name=~1
  120.  
  121. REM Add group to Program Manager
  122. GROUP MYGROUP.GRP
  123.  
  124. REM Define the installation log file name
  125. LOG MYPROG.LOG
  126.  
  127. REM Define additional files to be deleted during uninstallation
  128. REMOVE MYPROG.CFG
  129. REMOVE ~WIN\MYPROG.INI
  130.