home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / demo / vbhw / appsetup.inf next >
INI File  |  1994-10-25  |  20KB  |  460 lines

  1.  
  2. ; -------------------------------------------------------------
  3. ; *************************************************************
  4. ; -------------------------------------------------------------
  5. ;
  6. ;  Sample Installation Script -- 052094
  7. ;
  8. ; -------------------------------------------------------------
  9. ; *************************************************************
  10. ; -------------------------------------------------------------
  11.  
  12.  
  13. ; -------------------------------------------------------------
  14. ; *************************************************************
  15. ; -------------------------------------------------------------
  16. ; About This File
  17. ; ===============
  18. ;
  19. ; This file, APPSETUP.INF, contains information that InstallWare uses to 
  20. ; install applications. This file must be in the same directory as the 
  21. ; program files IW.EXE(if used) and INSTALL.EXE. The two files can be on 
  22. ; a floppy disk, a hard disk, or a network disk drive.
  23. ;
  24. ; The information in this file determines
  25. ;   * The names of the disks and directories from which, and to which, 
  26. ;     InstallWare copies files.
  27. ;
  28. ;   * The name of the group that InstallWare creates in Program Manager's
  29. ;     window, and the names of program items that InstallWare adds to that 
  30. ;     group.
  31. ;
  32. ; You can create your own InstallWare program by changing some of the 
  33. ; information in this file.
  34. ;
  35. ; The Parts of APPSETUP.INF
  36. ; -------------------------
  37. ;
  38. ; APPSETUP.INF is similar in format to a Windows initialization (.INI) file.
  39. ;
  40. ; Sections: APPSETUP.INF is divided into sections. Each section is identified
  41. ;           by a name enclosed in square brackets.
  42. ;
  43. ;           Most section names are "hard-coded". However, some section names
  44. ;           are defined within other sections, and are therefore easily 
  45. ;           customizable.
  46. ;
  47. ; Comments: A comment begins with a semicolon. You can include a comment 
  48. ;           on the same line as syntax, as long as it comes after the syntax.
  49. ; Spaces:   Spaces are ignored, except when between double quotes.
  50. ;           Blank lines are also ignored.
  51. ;
  52. ; Sections in This File
  53. ; ---------------------
  54. ; The rest of this file contains the actual sections and statements
  55. ; that make up the working file. It also includes comments that 
  56. ; explain each section and statement.
  57. ;
  58. ;
  59. ;
  60. ;
  61. ;
  62. ; -------------------------------------------------------------
  63. ; *************************************************************
  64. ; -------------------------------------------------------------
  65. ; INFOFILE
  66. ; -------------------------------------------------------------
  67. ; *************************************************************
  68. ; -------------------------------------------------------------
  69. ; The [infofile] section describes various miscellaneous aspects
  70. ; of the installation.  The FILENAME label indicates the name of 
  71. ; the text file that is shown to the user when the program starts 
  72. ; up.  The APPNAME label is used to refer to the name of the 
  73. ; application being installed.
  74. ;
  75. ; The EXEFILE label is used to tell InstallWare that you would
  76. ; like to run a file after the installation is complete.  This
  77. ; is useful for showing a readme file, unpacking some archives,
  78. ; or just starting up the program that was just installed.  In
  79. ; the example below, note that the filename starts with a backslash.
  80. ; This indicates that the program is in the PATH.  Otherwise,
  81. ; it is assumed to be located relative to the installation
  82. ; directory.  The MESSAGE label denotes the text that will be
  83. ; displayed in the message box that prompts the user just before
  84. ; the EXEFILE is run.  If there is no MESSAGE, then the EXEFILE
  85. ; is run without prompting the user.
  86. ; -------------------------------------------------------------
  87.  
  88. [infofile]
  89.     filename = Install.txt
  90.     appname  = "VB HelpWriter"
  91.         exefile  = "\notepad.exe readme.txt"
  92.     message  = "Do you want to view the readme file?"
  93.  
  94.     
  95. ; -------------------------------------------------------------
  96. ; *************************************************************
  97. ; -------------------------------------------------------------
  98. ; DIALOG
  99. ; -------------------------------------------------------------
  100. ; *************************************************************
  101. ; -------------------------------------------------------------
  102. ; The [dialog caption] section is used to define the caption
  103. ; of the windows that shown in the INSTALL program.
  104. ; -------------------------------------------------------------
  105.  
  106. [dialog]
  107.     caption = "VB HelpWriter Installation"
  108.  
  109.  
  110. ; -------------------------------------------------------------
  111. ; *************************************************************
  112. ; -------------------------------------------------------------
  113. ; DATA
  114. ; -------------------------------------------------------------
  115. ; *************************************************************
  116. ; -------------------------------------------------------------
  117. ; The [data defdir] section defines the default directory. This
  118. ; directory is placed in the Install location editbox when the
  119. ; program starts.  If the user does not change it, then this
  120. ; will be the base directory of the installation.
  121. ; -------------------------------------------------------------
  122.  
  123. [data]
  124.     defdir = C:\HelpWrit
  125.  
  126.  
  127. ; -------------------------------------------------------------
  128. ; *************************************************************
  129. ; -------------------------------------------------------------
  130. ; DISKS
  131. ; -------------------------------------------------------------
  132. ; *************************************************************
  133. ; -------------------------------------------------------------
  134. ;
  135. ; The [disks] section defines the distribution disks that contain the
  136. ; application  files. InstallWare uses this information to tell the user to
  137. ; insert the correct disk.
  138. ; Elsewhere within this .INF file, the distribution disks are normally
  139. ; referred to by a single-character disk ID. This section defines those
  140. ; disk IDs, and includes  information about the disk to which each disk ID
  141. ; refers.
  142. ;
  143. ; The disk ID '0' is reserved; it represents the installation directory -- 
  144. ; the directory in which the user is installing the application. 
  145. ;
  146. ; The format of each disk definition is:
  147. ;     n = path, title
  148. ;
  149. ; where
  150. ;     n       is the disk ID (a single character from 1-9 or A-Z). 
  151. ;
  152. ;     path    the path of the source directory from which InstallWare should 
  153. ;             copy the files to the disk.  The path can be relative to the
  154. ;             source directory (see examples below).
  155. ;
  156. ;     title   is a descriptive name for the disk. The title should match 
  157. ;             the disk's printed or written label exactly.
  158. ;
  159. ; The following statements would define two distribution disks.
  160. ;  1 =.,        "Demo Application Disk 1"
  161. ;  2 =.\files,  "Demo Application Disk 2"
  162. ;
  163. ; The first statement tells InstallWare to refer to Disk 1 as "Demo Application 
  164. ; Disk 1". Because the period (.) denotes the current directory, the files 
  165. ; on that disk will be copied from the root directory of the
  166. ; distribution disk. 
  167. ;
  168. ; The second statement tells InstallWare to refer to Disk 2 as "Demo 
  169. ; Application Disk 2"; the files that Disk 2 contains will be copied 
  170. ; from the \FILES directory of the distribution disk.
  171. ;
  172. ; You can include as many disk-definition statements as necessary. Every 
  173. ; distribution disk should have a corresponding disk-definition statement;
  174. ; otherwise, InstallWare cannot tell the user to insert the appropriate disk.
  175. ;
  176. ; For the purposes of this file we will use this disk definition line:
  177.  
  178. [disks]
  179.     1 =., "INSTALL DISK"
  180.     2 =., "DICTIONARY DISK"
  181.  
  182.  
  183.     
  184. ; -------------------------------------------------------------
  185. ; *************************************************************
  186. ; -------------------------------------------------------------
  187. ; NEEDED.SPACE
  188. ; -------------------------------------------------------------
  189. ; *************************************************************
  190. ; -------------------------------------------------------------
  191. ; This section tells INSTALL how much space is needed on the
  192. ; target disk to do a successful installation.  The user will
  193. ; get an error message if they try to install to a disk that
  194. ; has less space.
  195. ; -------------------------------------------------------------
  196.  
  197. [needed.space]
  198.     minspace = 1000000
  199.  
  200.     
  201.  
  202. ; -------------------------------------------------------------
  203. ; *************************************************************
  204. ; -------------------------------------------------------------
  205. ; DEST.DIRECTORIES
  206. ; -------------------------------------------------------------
  207. ; *************************************************************
  208. ; -------------------------------------------------------------
  209. ; The [dest.directories] section contains section-definition statements.
  210. ; Each statement defines a section that lists application files to be
  211. ; copied as part of installation. The sections are organized by file 
  212. ; destination; you should define a separate section for each destination 
  213. ; directory. 
  214. ;
  215. ; Each section definition has the following form:
  216. ;
  217. ;     #section_name, 0:dest_pathname
  218. ;
  219. ; where
  220. ;
  221. ;     #section_name   defines the name of the .INF section that lists the
  222. ;                     files to be copied.
  223. ;     0                  is the disk ID that represents the installation directory.
  224. ;                     (0 is a reserved disk ID, and always represents the
  225. ;                     installation directory -- the directory the user specified
  226. ;                     when asked where to install the application.)
  227. ;     dest_pathname   is the pathname of the destination directory, relative 
  228. ;                     to the installation directory. For example, "0:FILES"
  229. ;                     represents the FILES subdirectory of the installation 
  230. ;                     directory.
  231. ;
  232. ; -------------------------------------------------------------
  233. ; In the example below, the first two entries define application
  234. ; specific directories.  The #app.main directory will be the
  235. ; base directory defined by the user (or the default as
  236. ; described above).  The #app.sub directory will cause a
  237. ; directory called sub to be created off of the base directory.
  238. ;
  239. ; The third and fourth entries refer to the two Windows
  240. ; specific directories: \WINDOWS and \WINDOWS\SYSTEM.
  241. ; INSTALL will find these directories and copy the specified
  242. ; files into them.
  243. ; -------------------------------------------------------------
  244.  
  245. [dest.directories]
  246.     #app.main,    0:
  247.     #app.SETUPSYSDIR,    0:SETUPSYSDIR
  248.     #app.SETUPWINDIR,    0:SETUPWINDIR
  249.  
  250.  
  251.  
  252. ; -------------------------------------------------------------
  253. ; *************************************************************
  254. ; -------------------------------------------------------------
  255. ; USER-DEFINED SECTION
  256. ; -------------------------------------------------------------
  257. ; *************************************************************
  258. ; -------------------------------------------------------------
  259. ; This section is a user-defined section that lists files to be copied to a
  260. ; particular destination directory. The [dest.directories] section defines.
  261. ; the name of this section and the destination directory of the files.
  262. ;
  263. ; In each section like this one, you should list all files that you want copied
  264. ; to the same destination. (For example, all the files in this section, 
  265. ; [app.user], will be copied to the installation directory.)
  266. ;
  267. ; InstallWare copies the files listed in this section in the order in which they
  268. ; are listed. 
  269. ;
  270. ; The syntax of each file listing is
  271. ;
  272. ;     N:FILENAME, "Description"
  273. ;
  274. ; where
  275. ;
  276. ;     N:           is the disk ID of the disk that contains the file. (Disk 
  277. ;                  IDs are defined in the [disks] section.) If the specified 
  278. ;                  disk is not in the disk drive, InstallWare prompts the
  279. ;                  user to insert it.
  280. ;       
  281. ;     FILENAME     is the name of the file, including any filename extension.
  282. ;
  283. ;     Description  is descriptive text that InstallWare displays as it is 
  284. ;                  copying the file or group of files.  If you leave the 
  285. ;                  description blank, InstallWare will continue displaying 
  286. ;                  the descriptive text from the previous file. This lets 
  287. ;                  you use a general name for a group of files.
  288. ;
  289. ;
  290. ; -------------------------------------------------------------
  291. ; This is the file list for the base directory.
  292. ; -------------------------------------------------------------
  293.  
  294. [app.main]
  295.     1:APPSETUP.INF,    "APPSETUP.INF - Configuration File"
  296.     1:HELPWRIT.EXE ,"HELPWRIT.EXE - VB HelpWriter"
  297.     1:BUTTON3.DLL , "BUTTON3.DLL  - Highedit v.2"
  298.     1:HEDLG.DLL ,   "HEDLG.DLL    - Highedit v.2"
  299.     1:HEICON.DLL ,  "HEICON.DLL   - Highedit v.2"
  300.     1:HEIMGMAN.DLL ,"HEIMGMAN.DLL - Highedit v.2"
  301.     1:HERTF.DLL ,   "HERTF.DLL    - Highedit v.2"
  302.     1:HIGHEDIT.DLL ,"HIGHEDIT.DLL - Highedit v.2"
  303.     1:HETOOLS.DLL , "HETOOLS.DLL  - Highedit v.2"
  304.     1:RTF.DLL ,     "RTF.DLL      - Highedit v.2"
  305.     1:RULER.DLL ,   "RULER.DLL    - Highedit v.2"
  306.     1:STATUS.DLL ,  "STATUS.DLL   - Highedit v.2"
  307.     1:TAB.DLL ,     "TAB.DLL      - Highedit v.2"
  308.     1:HE_BMP.DIL ,  "HE_BMP.DIL   - Highedit v.2"
  309. ;    1:HECMDLG.VBX , "HECMDLG.VBX  - Highedit v.2"
  310.     1:HEVB.VBX ,    "HEVB.VBX     - Highedit v.2"
  311.     1:KEYWORDS.DAT ,"KEYWORDS.DAT - HelpGen table"
  312.     1:HCP.PIF ,     "HCP.PIF      - PIF file for HC31"
  313.     1:TUTOR.HLP,    "TUTOR.HLP    - HelpWriter Tutorial"
  314.     1:HELPMAKR.ICO, "HELPMAKR.ICO - HelpWriter Icon"
  315.     1:ICON1.ICO ,   "ICON1.ICO    - Sample Icon"
  316.     1:HEXCALC.BMP , "HEXCALC.BMP  - Sample VB app"
  317.     1:HEXCALC.FRM , "HEXCALC.FRM  - Sample VB app"
  318.     1:HEXCALC.MAK , "HEXCALC.MAK  - Sample VB app"
  319.     1:GLOSSARY.SHG ,"GLOSSARY.SHG - Hypergraphic"
  320.     1:BULLET.BMP ,  "BULLET.BMP   - Bullet lists"
  321.     1:README.TXT ,  "README.TXT   - Latest info..."
  322.     1:TEST.DHP ,    "TEST.DHP     - Test help compiler"
  323.     1:HELPWRIT.HLP ,"HELPWRIT.HLP - HelpWriter help file"
  324.     1:FILE_ID.DIZ,  "FILE_ID.ZIP  - Description file."
  325.     1:MACRO.LST,    "Help Macros"
  326.  
  327. ; -------------------------------------------------------------
  328. ; This is the file list for the \WINDOWS\SYSTEM directory.
  329. ; -------------------------------------------------------------
  330. [app.SETUPSYSDIR]
  331.     1:MSGHOOK.VBX,  "MSGHOOK.VBX"
  332.     1:VSVBX.VBX,    "Videosoft's ELASTIC"
  333.     1:VSVBX.LIC,    "Videosoft's ELASTIC"
  334.     1:MLIST.VBX,    "Mabry's Listbox VBX"
  335.     1:CMDIALOG.VBX, "CMDIALOG.VBX - Windows common dialog vbx"
  336.     1:COMMDLG.DLL,  "COMMDLG.DLL  - Windows commond dialog dll"
  337.     1:THREED.VBX,   "THREED.VBX   - VB's 3D control VBX"
  338.     1:MMSYSTEM.DLL, "MMSYSTEM.DLL - Multimedia support dll"
  339.     1:CTL3DV2.DLL,  "CTL3DV2.DLL  - 3D support DLL"
  340.     1:VTSPELL.VBX,  "VTSPELL.VBX  - Spell Checking DLL."
  341.  
  342. ; -------------------------------------------------------------
  343. ; This is the file list for the \WINDOWS\SYSTEM directory.
  344. ; -------------------------------------------------------------
  345.  
  346. [app.SETUPWINDIR]
  347.  
  348.  
  349. ; -------------------------------------------------------------
  350. ; This is the file list for the sub directory located off of
  351. ; the base directory.
  352. ; -------------------------------------------------------------
  353.  
  354.  
  355.  
  356.  
  357. ; -------------------------------------------------------------
  358. ; *************************************************************
  359. ; -------------------------------------------------------------
  360. ; PROGMAN.GROUPS
  361. ; -------------------------------------------------------------
  362. ; *************************************************************
  363. ; -------------------------------------------------------------
  364. ; The [progman.groups] section (optional) tells InstallWare to create Program 
  365. ; Manager groups for your application. (InstallWare then uses DDE to 
  366. ; communicate with Program Manager.)
  367. ;
  368. ; The section lists the names of the groups you want to create. You then 
  369. ; define additional sections in this file; those sections list the program 
  370. ; items you want in each group.
  371. ;
  372. ; The syntax for each group name is:
  373. ;
  374. ;     groupname, [groupfile.grp]
  375. ;
  376. ; where
  377. ;
  378. ;     groupname      is the title you want Program Manager to display
  379. ;                    under the icon that represents the group. (The 
  380. ;                    groupname will also be the name of the section
  381. ;                    that defines the contents of the group.)
  382. ;
  383. ;     groupfile.grp  is the filename of the file in which Program Manager
  384. ;                    will save information about the group. (You must include
  385. ;                    the .GRP filename extension.) This parameter is optional;
  386. ;                    if you omit it, InstallWare uses a default name for the 
  387. ;                    group file.
  388. ;
  389. ; The following group-definition statement tells InstallWare to create a 
  390. ; group named "Bob Dolan Shareware", and store its information in a file
  391. ; named BOBDOLAN.GRP.
  392.  
  393. [progman.groups]
  394.     VB HelpWriter, HELPWRIT.GRP
  395.  
  396.  
  397.     
  398. ; -------------------------------------------------------------
  399. ; *************************************************************
  400. ; -------------------------------------------------------------
  401. ; USER-DEFINED PROGMAN.GROUPS
  402. ; -------------------------------------------------------------
  403. ; *************************************************************
  404. ; -------------------------------------------------------------
  405. ; This section describes the Program Item Icon to add to the
  406. ; Program Group defined in the section heading.
  407. ;
  408. ; In each section like this one, you should list all items that you want 
  409. ; InstallWare to add to the group.
  410. ;
  411. ; The syntax for item-definition statements is: 
  412. ;
  413. ;     "Description",    APPFILE.EXE, [ICONFILE.EXE[, N]]
  414. ;
  415. ;where
  416. ;
  417. ;     Description   is the text that will appear below the program icon 
  418. ;                   when displayed in the Program Manager group. 
  419. ;
  420. ;     APPFILE.EXE   is the command line that starts the application.
  421. ;     
  422. ;     ICONFILE.EXE  is the application file that contains the icon you
  423. ;                   want to represent the application. Typically, this is 
  424. ;                   the executable application file, but it could be a 
  425. ;                   different file. (You can also specify a .ICO file, created
  426. ;                   using the SDKPaint tool.) This parameter is optional; if
  427. ;                   you omit it, InstallWare will use the first icon it finds in
  428. ;                   APPFILE.EXE. 
  429. ;
  430. ;     N             is the offset of the icon you want to use within the file
  431. ;                   ICONFILE.EXE.  This parameter is optional; if you omit it, 
  432. ;                   InstallWare uses the first icon it finds in ICONFILE.EXE.
  433. ;                   You must include this parameter if the file you specify
  434. ;                   contains more than one icon, and you want to use an icon
  435. ;                   other than the first icon. 
  436. ;
  437. ;                   To use the Nth icon, specify the number N-1. For example,
  438. ;                   to use the third icon, specify 2.
  439. ;
  440. ; For example, the following item-definition statement tells InstallWare to add 
  441. ; an item titled "Install" to Program Manager. The application command line is
  442. ; a file named INSTALL.EXE which is located in the SUB subdirectory off of the
  443. ; installation directory.
  444.  
  445.  
  446. [VB HelpWriter]
  447.     "VB HelpWriter", helpwrit.EXE
  448.     "VB HelpWriter Help",HELPWRIT.HLP
  449.  
  450.  
  451. ; -------------------------------------------------------------
  452. ; -------------------------------------------------------------
  453.  
  454.