home *** CD-ROM | disk | FTP | other *** search
/ PC-Test Pro / PCTESTPRO.iso / winsys / wingage / entp / appsetup.inf next >
Encoding:
INI File  |  1995-05-23  |  17.9 KB  |  435 lines

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