home *** CD-ROM | disk | FTP | other *** search
/ Wacky Windows Stuff... / WACKY.iso / toolbook / setup.inf < prev    next >
INI File  |  1991-05-14  |  10KB  |  264 lines

  1. ;
  2. ; APPSETUP.INF
  3. ;
  4. ; This file must be in the same directory as APPSETUP.EXE when it is run.
  5. ; It may be either on a diskette, on a hard disk, or on a network. You may
  6. ; change the name of APPSETUP.EXE and APPSETUP.INF, as long as only the
  7. ; extension is different.
  8. ;
  9. ; It is divided into sections, identified by an alphanumeric name
  10. ; enclosed in square brackets.
  11. ;
  12. ; Comments begin with semicolon, and may follow other text.
  13. ; Long lines may be split up between fields of a statement.
  14. ;
  15. ; Spaces are ignored, except when between double quotes.
  16. ; Blank lines are also ignored.
  17. ;
  18. ; In the section which lists the location of various files, each
  19. ; filename is preceded by integers describing the location
  20. ; of the files. The Setup program will prompt the user to insert
  21. ; these diskettes when the files are needed.
  22. ;
  23.  
  24. ;
  25. ; Dialog
  26. ;
  27. ; Dynamic strings for the Setup dialog. They will appear in the first
  28. ; dialog that Setup displays.  You should leave their general contents
  29. ; as is, as they contain useful information for the user. However, if
  30. ; you want to change them, this is the place to do that. If you do 
  31. ; change them, make sure they fit in the dialog boxes.
  32. ;
  33. [dialog]
  34.     caption = "ToolBook 1.5 Demo Setup"
  35.     line0   = "Installing 1.5 Demo"
  36.     line1   = "Setup installs the demo in the following directory, which it creates on your hard disk."
  37.     line2     = "To install this demo in a different directory or drive, type the name of the directory you want."
  38.     line3   = "Click Continue to begin installation."
  39.  
  40. ;
  41. ;   String to tell user that Setup is complete, and any other final info.
  42. ;    This is displayed in the very last dialog box the user sees, with an
  43. ;    "OK" button.
  44. ;
  45.     complete= "Installation is complete."
  46.  
  47. [data]
  48. ;
  49. ; What we are setting up:
  50. ;   ToolBook    = 1
  51. ;   Runtime     = 2
  52. ;   Generic     = 3
  53. ;
  54.     setuptype   = 3
  55.  
  56. ;
  57. ; Default directory for installing ToolBook, MUST include a drive letter.
  58. ;
  59.     defdir = C:\TBK15
  60.  
  61. ;
  62. ; Short name of the app, used in the exit line.
  63. ;
  64.     shortname = "the demo"
  65.  
  66. ;
  67. ; listbox: bring up a listbox of section choices?
  68. ;
  69. ; If setuptype is Generic, and this is "yes", the user will see a listbox
  70. ; containing the strings in the [sections] section.  Any sections that are 
  71. ; selected when the user clicks "OK" will be installed.
  72. ;
  73. ; If this is no, all sections that are in the [sections] section will be 
  74. ; installed.  In this case, you will want to change line3 of the [dialog]
  75. ; section above to prompt the user to click Continue to begin installing,
  76. ; rather than referencing selected objects.
  77. ;
  78.     listbox = no
  79.  
  80. ;
  81. ; Executable file section and name, so that we can prepend its pathname to
  82. ; pathnames in progman item lines.  We do not prepend this file's pathname
  83. ; to filenames in progman items that come the same section as this file.
  84. : Rather, we prepend to those that come from other sections, such as [pim].
  85.     executable = exes, tbook.exe
  86.  
  87. ;
  88. ; Readme file name, so that we can open Notepad on the file, after it's been
  89. ; installed.
  90.     readme = readme.txt
  91.  
  92. ;
  93. ; Sections
  94. ;
  95. ; The [sections] section contains a list of the sections which can be 
  96. ; installed.
  97. ;
  98. ; The format is:
  99. ;
  100. ;   [sections]
  101. ;       section, [, "Description String"] [, "Select"] [, "Protect"]
  102. ;
  103. ; The first field is the section name, which specifies a section to be
  104. ; copied, and must match a section lower in this file.  
  105. ;
  106. ; The second field, the Description String is displayed next to the 
  107. ; Setup dialog's checkbox for this section.
  108. ;
  109. ; The third field, the Select field, indicates whether the checkbox for
  110. ; this section is selected by default.
  111. ;
  112. ; The fourth field, the Protect field, indicates whether this section 
  113. ; is protected against overwriting existing files.  User will be warned.
  114. ;
  115. ; Example:
  116. ;   exes, "ToolBook executables", select
  117. ;       This specifies that the exes section exists, that the descriptive
  118. ;       string to be used in the listbox is "ToolBook executables", and
  119. ;       that it will be selected in this listbox by default.
  120. ;
  121. [sections]
  122.     exes, "ToolBook Demo Files", select, protect
  123.     pim, "ToolBook Applications", select
  124.  
  125. ;
  126. ; Disks
  127. ;
  128. ; Here are the names of the disks Setup can prompt for.
  129. ; There must be a disk name for each disk number used.
  130. ;
  131. ; The disk number '0' is reserved to represent the setup directory.
  132. ; The directory may be relative to the directory SETUP was run from.
  133. ;
  134. ; The format is:
  135. ;
  136. ;   [disks]
  137. ;       n = path, "Name"
  138. ;
  139. ; The first field, n is the number of the disk: 1-9,A-Z (single char only!).
  140. ; The second field, path, is the path of disk n.
  141. ; The third field, Name, is the name of disk n.
  142. ;
  143. ; Example:
  144. ;   1 = ., "Disk #1"
  145. ;     This specifies that the disk numbered 1 will be expected in the current
  146. ;     directory, and will be requested with the string "Disk #1".
  147. [disks]
  148.     1 = ., "ToolBook 1.5 Demo Disk"
  149.     
  150. ;
  151. ; Needed Space
  152. ;
  153. ; The needed.space section lists hard disk requirements for the app, in bytes.
  154. ; If this amount of room is not available, installation will fail,
  155. ; notifying the user that more disk space is necessary.
  156. ;
  157. [needed.space]
  158.     exes =  1000000
  159.     pim  =   200000
  160.     
  161. ;
  162. ; Destinations
  163. ;
  164. ; The destinations section indicates the directory on the user's hard disk
  165. ; where setup will copy all the files comprising a given section.  The
  166. ; format of entries in this section is
  167. ;        <section name>, "<destination directory>" [, <prompt string> ]
  168. ; Destination directory can be "0:", which indicates the default 
  169. ;   destination directory, specified by the user in the Setup Dialog's
  170. ;   edit control.  It may also be of the form "0:\subdir" to indicate a 
  171. ;   subdirectory of the default destination directory.
  172. ; Prompt String should be specified when the destination dir is anything
  173. ;   other than "0:", or if the section is marked "protect" in [sections]
  174. ;   above.  Setup will use it to prompt the user to accept or edit this
  175. ;   destination directory.  It's a good idea to include this for all sections.
  176. [destinations]
  177.     exes,    "0:", "ToolBook 1.5 Demo"
  178.     pim,     "0:", "ToolBook 1.5 Demo"
  179.     
  180. ;
  181. ; The following sections contain the lists of files that will be copied.
  182. ; All the files in a section are copied to the section's destination 
  183. ; directory which is indicated above in the destinations section.
  184. ; The format is:
  185. ;   [section]
  186. ;       n:filename [, "Description String"] [, "Save"] [, append target]
  187. ; Later options may be provided even if earlier ones are omitted by using
  188. ; consecutive commas with nothing between them.
  189. ;
  190. ; The first field (n:filename) contains the disk number (single char only!),
  191. ;   followed by a colon, then the file name. There must be a disk number for
  192. ;   each file name.
  193. ;
  194. ; The second (optional) field may be used to indicate the type of files being
  195. ;   copied.  It must be enclosed within double-quotes. This string will be
  196. ;   displayed in the Progress dialog, under the "Setup is copying files..."
  197. ;   line.
  198. ;
  199. ; The third (optional) field is used to determine if the existing file with
  200. ;   the same name should be saved to a backup. If this field string is "Save"
  201. ;   and the file exists in the target directory, the user will be given the
  202. ;   option to save the file under another name.
  203. ;
  204. ; The fourth (optional) field is used to specify that this file should be
  205. ;   appended to another file that already exists.  Useful when a file needs
  206. ;   to be broken up into smaller files to fit on a floppy.  The other file
  207. ;   must be part of the same section; setup therefore looks for it in that
  208. ;   sections destination directory.
  209. ;
  210. ; Example:
  211. ;   1:FILE.TBK, "ToolBook File", Save
  212. ;       This will install file.tbk from disk 1.
  213. ;       The description "ToolBook File" will be placed in the Progress dialog.
  214. ;       If the destination file exists, the user will be given the option to
  215. ;       save a copy of it.
  216. ;
  217. ;   2:FILE2.TBK, , , FILE.TBK
  218. ;       This will append file2.tbk to file1.tbk in the destination directory.
  219. ;
  220.  
  221. [exes]
  222.     1:TBOOK.EXE, "ToolBook 1.5 Demo"
  223.     1:TBKBASE.DLL
  224.     1:TBKCOMP.DLL 
  225.     1:TBKUTIL.DLL 
  226.     1:TBKNET.EXE  
  227.     1:TBKDLG.DLL 
  228.         1:TBKEDIT.DLL
  229.     1:README.TXT
  230.     
  231. [pim]
  232.     1:TBK15.TBK
  233.  
  234. ;
  235. ; Program Manager Groups
  236. ;
  237. ;   The [progman.groups] section lists the group names, and file names
  238. ;   for Program Manager groups.  For each group name, there must be an
  239. ;   accompanying section that states what items to load in that group.
  240. ;
  241. [progman.groups]
  242.     "TB 1.5 Demo", TOOLBK15.GRP
  243.  
  244. ;
  245. ; Program Manager Items
  246. ;
  247. ;   Here are the sections that are required for every group name listed
  248. ;   in the [progman.groups] section above.  The section names below must
  249. ;   exactly match the group names in [progman.groups].  Within each 
  250. ;   section, the lines have the following syntax:
  251. ;     <item name>, <source section>, <item file>, <icon file>
  252. ;   -<Item Name> is the name that is assigned to the progman item.
  253. ;   -<Source Section> is the name of a section where the item file should be
  254. ;     looked for. E.g. "pim" means look in the directory where the pim files
  255. ;     are being stored (note: user can choose this directory at setup time).
  256. ;   -<Item File> is the name of the file to use for the progman item.
  257. ;   -<Icon File> is the name of a file from which to get the icon for this
  258. ;          item.  It is optional.
  259. ;
  260. ["TB 1.5 Demo"]
  261.     "TB 1.5 Demo", pim, tbk15.tbk, tbook.exe
  262.