home *** CD-ROM | disk | FTP | other *** search
/ Computerworld 1996 March / Computerworld_1996-03_cd.bin / idg_cd3 / utility / kinstw18 / setsampl.set < prev    next >
Encoding:
Text File  |  1995-07-30  |  3.5 KB  |  129 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 catalogue program
  13. CATALOG CATALOG.EXE
  14.  
  15. REM Specify main window size and resize options
  16. WINDOW 0, 3, 20, 20, 580, 350
  17.  
  18. REM Define colours
  19. COLS FF0000h, 0, FFFFFFh, 0, 2, 008080h, 00FF00h
  20.  
  21. REM Define the background, one of three ways:
  22. PATTERN BITMAP_1
  23. PATTERN , 4
  24. PATTERN , , 1
  25.  
  26. REM Define a bitmap to display over the background
  27. PICTURE ARKLOGO.BMP, 0, 0, 80, 50, 0
  28.  
  29. REM Define an icon to display over the background
  30. ICON 1, 0, 20, 50, 0
  31.  
  32. REM Define minimum DOS version
  33. DOSVER 3.20
  34.  
  35. REM Define default directory
  36. DIR C:\THEDIR\
  37.  
  38. REM Define program name so it can be run from SETUP
  39. RUN THEPROG.EXE, /S, 2
  40.  
  41. REM Define documentation file so the user's attention will be drawn to it
  42. DOC THEPROG.DOC
  43.  
  44. REM Define a program or command to run at the beginning of the installation
  45. FIRST MEM
  46.  
  47. REM Define a program or command to run at the end of the installation
  48. LAST CONVERT.EXE, /S
  49.  
  50. REM Define the automatic archive unpack identifier
  51. UNPAK __
  52.  
  53. REM Define the parameters to use with LHA.EXE
  54. LHA E /M1
  55.  
  56. REM Define the parameters to use with PKUNZIP.EXE
  57. ZIP -O
  58.  
  59. REM Define the parameters to use with ARJ.EXE
  60. ARJ E
  61.  
  62. REM Define the parameters to use with self-extracting archives
  63. EXE /s
  64.  
  65. REM Define another unarchiving program
  66. ARCHIVE .ZIP, UNZIP.EXE, -O
  67.  
  68. REM Define what to install, where, how, how big, what disk, and question to ask
  69. INSTALL MYPROG.EXE, ~MAIN, 4, 100, Install Disk 1
  70. INSTALL *.DOC, ~MAIN, 4, 50, Install Disk 1
  71. INSTALL *.DL_, ~SYS\*.DLL, 2, 200, Install Disk 1, Update Windows DLLs?
  72.  
  73. REM Define files to be deleted at the beginning of installation
  74. DEL OLDPROG.EXE
  75. DEL OLDHELP.HLP
  76.  
  77. REM Define directories to be created at the end of installation
  78. MKDIR DATA
  79. MKDIR TEMP
  80.  
  81. REM Define variable information to be entered by the user
  82. INPUT 8, @@######, Serial Number
  83. INPUT 50, ?* ?*, First and Last Name, Enter your First Name and Last Name
  84.  
  85. REM Define the file extension for backing up AUTOEXEC.BAT and CONFIG.SYS
  86. BAK .BKK
  87.  
  88. REM Specify that the main directory should be added to the DOS Path
  89. PATH
  90.  
  91. REM Specify lines to be added to the middle of AUTOEXEC.BAT
  92. AUTO SET PROGDIR=~MAIN
  93.  
  94. REM Specify a shell command to run at the very end of AUTOEXEC.BAT
  95. SHELL WIN MYSHELL /Q
  96.  
  97. REM Specify the minimum number for the FILES value in CONFIG.SYS
  98. FILES 30
  99.  
  100. REM Specify the minimum number for the BUFFERS value in CONFIG.SYS
  101. BUFFERS 20
  102.  
  103. REM Specify lines to be added to the end of CONFIG.SYS
  104. CONF DEVICE=~MAIN\MYTSR.EXE /F:2 /P:LPT1
  105.  
  106. REM Write user entered data into the main EXE file
  107. RFILE ~MAIN\MYPROG.EXE, C
  108. REG 1076, 9, ~0
  109. REG 0, 51, ~1
  110.  
  111. REM Write user entered data into an INI file
  112. IFILE ~WIN\MYPROG.INI
  113. ISECT UserInfo
  114. INI Serial=~0
  115. INI Name=~1
  116.  
  117. REM Add group and items to Program Manager
  118. GROUP My Program Name
  119. ITEM ~MAIN\MYPROG.EXE, My Program Name
  120. ITEM ~MAIN\MYPROG.HLP, My Program Help
  121. ITEM NOTEPAD.EXE READ.ME, Release Notes
  122.  
  123. REM Define the installation log file name
  124. LOG MYPROG.LOG
  125.  
  126. REM Define additional files to be deleted during uninstallation
  127. REMOVE MYPROG.CFG
  128. REMOVE ~WIN\MYPROG.INI
  129.