home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Today - The Disc! 17 / cdrt17.iso / pc / crested / appsetup.inf next >
INI File  |  1995-08-27  |  23KB  |  511 lines

  1. ;
  2. ; Macros
  3. ; ------
  4. ;
  5. ; Any String that you define in this file can include one of the following
  6. ; macros to enable defining directory locations that would be impossible
  7. ; otherwise.  Simply place the desired macro in the string where you would
  8. ; normally use a pathspec.
  9. ;
  10. ; Supported Macros in this Version
  11. ; #W The user's WINDOWS directory
  12. ; #S The user's SYSTEM directory
  13. ; #D The directory in which the installation actually occurred
  14. ; #V The DRIVE on which the installation occurred, such as C: (no backslash)
  15. ;
  16. ; If you need to specify any of these letter combinations and do not want
  17. ; the macro expansion to take place, just precede the combination with an
  18. ; extra #, as in the following: "The ##Workplace ##Solution"
  19. ;
  20. ;
  21. ;
  22. ; -------------------------------------------------------------
  23. ; *************************************************************
  24. ; -------------------------------------------------------------
  25. ; INFOFILE
  26. ; -------------------------------------------------------------
  27. ; *************************************************************
  28. ; -------------------------------------------------------------
  29. ; The [infofile] section describes various miscellaneous aspects
  30. ; of the installation.  The FILENAME label indicates the name of 
  31. ; the text file that is shown to the user when the program starts 
  32. ; up.  The APPNAME label is used to refer to the name of the 
  33. ; application being installed.
  34. ;
  35. ; The EXEFILE label is used to tell InstallWare that you would
  36. ; like to run a file after the installation is complete.  This
  37. ; is useful for showing a readme file, unpacking some archives,
  38. ; or just starting up the program that was just installed.  In
  39. ; the example below, note that the filename starts with a backslash.
  40. ; This indicates that the program is in the PATH.  Otherwise,
  41. ; it is assumed to be located relative to the installation
  42. ; directory.  You can also use macros to indicate directories.
  43. ; The MESSAGE label denotes the text that will be
  44. ; displayed in the message box that prompts the user just before
  45. ; the EXEFILE is run.  If there is no MESSAGE, then the EXEFILE
  46. ; is run without prompting the user.
  47. ; -------------------------------------------------------------
  48.  
  49. [infofile]
  50.     filename= README.TXT
  51.     appname= "Crested Butte"
  52. ;       exefile  = "\notepad.exe sub\readme.iw"
  53.     exefile  = "#W\notepad.exe #Xreadme.txt"
  54.     message  = "Do you want to view the readme file?"
  55.     
  56. ; -------------------------------------------------------------
  57. ; *************************************************************
  58. ; -------------------------------------------------------------
  59. ; DIALOG
  60. ; -------------------------------------------------------------
  61. ; *************************************************************
  62. ; -------------------------------------------------------------
  63. ; The [dialog caption] section is used to define the caption
  64. ; of the windows that are shown in the INSTALL program.
  65. ; -------------------------------------------------------------
  66.  
  67. [dialog]
  68.     caption = "Crested Butte Installation"
  69.     Info, YES               ;Determines whether the introductory dialog 
  70.                     ;will be displayed. NO hides it
  71.     DirSelect, NO  ;Determines whether the dir prompt dialog
  72.             ;will be displayed. NO hides it
  73.             
  74. ; -------------------------------------------------------------
  75. ; *************************************************************
  76. ; -------------------------------------------------------------
  77. ; DATA
  78. ; -------------------------------------------------------------
  79. ; *************************************************************
  80. ; -------------------------------------------------------------
  81. ; The [data defdir] section defines the default directory. This
  82. ; directory is placed in the Install location editbox when the
  83. ; program starts.  If the user does not change it, then this
  84. ; will be the base directory of the installation.  To reference
  85. ; the WINDOWS directory on the user's system, use the #W macro.
  86. ; -------------------------------------------------------------
  87.  
  88. [data]
  89.      defdir = C:\CRESTEDB
  90. ;    defdir = #X
  91.  
  92.  
  93. ; -------------------------------------------------------------
  94. ; *************************************************************
  95. ; -------------------------------------------------------------
  96. ; DISKS
  97. ; -------------------------------------------------------------
  98. ; *************************************************************
  99. ; -------------------------------------------------------------
  100. ;
  101. ; The [disks] section defines the distribution disks that contain the
  102. ; application  files. InstallWare uses this information to tell the user to
  103. ; insert the correct disk.
  104. ; Elsewhere within this .INF file, the distribution disks are normally
  105. ; referred to by a single-character disk ID. This section defines those
  106. ; disk IDs, and includes  information about the disk to which each disk ID
  107. ; refers.
  108. ;
  109. ; The disk ID '0' is reserved; it represents the installation directory -- 
  110. ; the directory in which the user is installing the application. 
  111. ;
  112. ; The format of each disk definition is:
  113. ;     n = path, title
  114. ;
  115. ; where
  116. ;     n       is the disk ID (a single character from 1-9 or A-Z). 
  117. ;
  118. ;     path    the path of the source directory from which InstallWare should 
  119. ;             copy the files to the disk.  The path can be relative to the
  120. ;             source directory (see examples below).
  121. ;
  122. ;     title   is a descriptive name for the disk. The title should match 
  123. ;             the disk's printed or written label exactly.
  124. ;
  125. ; The following statements would define two distribution disks.
  126. ;  1 =.,        "Demo Application Disk 1"
  127. ;  2 =.\files,  "Demo Application Disk 2"
  128. ;
  129. ; The first statement tells InstallWare to refer to Disk 1 as "Demo Application 
  130. ; Disk 1". Because the period (.) denotes the current directory, the files 
  131. ; on that disk will be copied from the root directory of the
  132. ; distribution disk. 
  133. ;
  134. ; The second statement tells InstallWare to refer to Disk 2 as "Demo 
  135. ; Application Disk 2"; the files that Disk 2 contains will be copied 
  136. ; from the \FILES directory of the distribution disk.
  137. ;
  138. ; You can include as many disk-definition statements as necessary. Every 
  139. ; distribution disk should have a corresponding disk-definition statement;
  140. ; otherwise, InstallWare cannot tell the user to insert the appropriate disk.
  141. ;
  142. ; For the purposes of this file we will use this disk definition line:
  143.  
  144. [disks]
  145.     1 =., 
  146.  
  147.  
  148.     
  149. ; -------------------------------------------------------------
  150. ; *************************************************************
  151. ; -------------------------------------------------------------
  152. ; NEEDED.SPACE
  153. ; -------------------------------------------------------------
  154. ; *************************************************************
  155. ; -------------------------------------------------------------
  156. ; This section tells INSTALL how much space is needed on the
  157. ; target disk to do a successful installation.  The user will
  158. ; get an error message if they try to install to a disk that
  159. ; has less space.
  160. ; -------------------------------------------------------------
  161.  
  162. [needed.space]
  163.     minspace = 1000
  164.  
  165.     
  166.  
  167. ; -------------------------------------------------------------
  168. ; *************************************************************
  169. ; -------------------------------------------------------------
  170. ; DEST.DIRECTORIES
  171. ; -------------------------------------------------------------
  172. ; *************************************************************
  173. ; -------------------------------------------------------------
  174. ; The [dest.directories] section contains section-definition statements.
  175. ; Each statement defines a section that lists application files to be
  176. ; copied as part of installation. The sections are organized by file 
  177. ; destination; you should define a separate section for each destination 
  178. ; directory. 
  179. ;
  180. ; Each section definition has the following form:
  181. ;
  182. ;     #section_name, 0:dest_pathname
  183. ;
  184. ; where
  185. ;
  186. ;     #section_name   defines the name of the .INF section that lists the
  187. ;                     files to be copied.
  188. ;     0               is the disk ID that represents the installation directory.
  189. ;                     (0 is a reserved disk ID, and always represents the
  190. ;                     installation directory -- the directory the user specified
  191. ;                     when asked where to install the application.)
  192. ;     dest_pathname   is the pathname of the destination directory, relative 
  193. ;                     to the installation directory. For example, "0:FILES"
  194. ;                     represents the FILES subdirectory of the installation 
  195. ;                     directory.
  196. ;
  197. ; -------------------------------------------------------------
  198. ; In the example below, the first two entries define application
  199. ; specific directories.  The #app.main directory will be the
  200. ; base directory defined by the user (or the default as
  201. ; described above).  The #app.sub directory will cause a
  202. ; directory called sub to be created off of the base directory.
  203. ;
  204. ; The third and fourth entries refer to the two Windows
  205. ; specific directories: \WINDOWS and \WINDOWS\SYSTEM.
  206. ; INSTALL will find these directories and copy the specified
  207. ; files into them.
  208. ; -------------------------------------------------------------
  209.  
  210. [dest.directories]
  211.     #app.main,   1: 
  212.  
  213.  
  214.  
  215. ; -------------------------------------------------------------
  216. ; *************************************************************
  217. ; -------------------------------------------------------------
  218. ; USER-DEFINED SECTION
  219. ; -------------------------------------------------------------
  220. ; *************************************************************
  221. ; -------------------------------------------------------------
  222. ; This section is a user-defined section that lists files to be copied to a
  223. ; particular destination directory. The [dest.directories] section defines.
  224. ; the name of this section and the destination directory of the files.
  225. ;
  226. ; In each section like this one, you should list all files that you want copied
  227. ; to the same destination. (For example, all the files in this section, 
  228. ; [app.user], will be copied to the installation directory.)
  229. ;
  230. ; InstallWare copies the files listed in this section in the order in which they
  231. ; are listed. 
  232. ;
  233. ; The syntax of each file listing is
  234. ;
  235. ;     N:FILENAME, "Description"
  236. ;
  237. ; where
  238. ;
  239. ;     N:           is the disk ID of the disk that contains the file. (Disk 
  240. ;                  IDs are defined in the [disks] section.) If the specified 
  241. ;                  disk is not in the disk drive, InstallWare prompts the
  242. ;                  user to insert it.
  243. ;       
  244. ;     FILENAME     is the name of the file, including any filename extension.
  245. ;
  246. ;     Description  is descriptive text that InstallWare displays as it is 
  247. ;                  copying the file or group of files.  If you leave the 
  248. ;                  description blank, InstallWare will continue displaying 
  249. ;                  the descriptive text from the previous file. This lets 
  250. ;                  you use a general name for a group of files.
  251. ;
  252. ;
  253. ; -------------------------------------------------------------
  254. ; This is the file list for the base directory.
  255. ; -------------------------------------------------------------
  256.  
  257. [app.main]
  258. ;1:README.TXT, "Readme information file."
  259. ;       1:FRAG.EXE, "Fragger"
  260. ;       1:TEST.001, "Test File"
  261. ;       1:TEST.002, "Test File"
  262. ;       1:TEST.003, "Test File"
  263. ; -------------------------------------------------------------
  264. ; This is the file list for the \WINDOWS\SYSTEM directory.
  265. ; -------------------------------------------------------------
  266.  
  267. [app.SETUPSYSDIR]
  268.     1:README.TXT,        "##WReadme File"        ; This shows the literal ## non-macro
  269.  
  270.  
  271. ; -------------------------------------------------------------
  272. ; This is the file list for the \WINDOWS\SYSTEM directory.
  273. ; -------------------------------------------------------------
  274.  
  275. [app.SETUPWINDIR]
  276.  
  277.  
  278. ; -------------------------------------------------------------
  279. ; This is the file list for the sub directory located off of
  280. ; the base directory.
  281. ; -------------------------------------------------------------
  282. [app.sub]
  283. ;    1:COMPR.C,         "Test Compressed"
  284.   1:README.TXT, "Readme File"
  285.  
  286. ; -------------------------------------------------------------
  287. ; *************************************************************
  288. ; -------------------------------------------------------------
  289. ; PROGMAN.GROUPS
  290. ; -------------------------------------------------------------
  291. ; *************************************************************
  292. ; -------------------------------------------------------------
  293. ; The [progman.groups] section (optional) tells InstallWare to create Program 
  294. ; Manager groups for your application. (InstallWare then uses DDE to 
  295. ; communicate with Program Manager.)
  296. ;
  297. ; The section lists the names of the groups you want to create. You then 
  298. ; define additional sections in this file; those sections list the program 
  299. ; items you want in each group.
  300. ;
  301. ; The syntax for each group name is:
  302. ;
  303. ;     groupname, [groupfile.grp]
  304. ;
  305. ; where
  306. ;
  307. ;     groupname      is the title you want Program Manager to display
  308. ;                    under the icon that represents the group. (The 
  309. ;                    groupname will also be the name of the section
  310. ;                    that defines the contents of the group.)
  311. ;
  312. ;     groupfile.grp  is the filename of the file in which Program Manager
  313. ;                    will save information about the group. (You must include
  314. ;                    the .GRP filename extension.) This parameter is optional;
  315. ;                    if you omit it, InstallWare uses a default name for the 
  316. ;                    group file.
  317. ;
  318. ; The following group-definition statement tells InstallWare to create a 
  319. ; group named "Bob Dolan Shareware", and store its information in a file
  320. ; named BOBDOLAN.GRP.
  321.  
  322. [progman.groups]
  323.     "Crested Butte Tour", CBUTTE.GRP
  324.  
  325.  
  326.     
  327. ; -------------------------------------------------------------
  328. ; *************************************************************
  329. ; -------------------------------------------------------------
  330. ; USER-DEFINED PROGMAN.GROUPS
  331. ; -------------------------------------------------------------
  332. ; *************************************************************
  333. ; -------------------------------------------------------------
  334. ; This section describes the Program Item Icon to add to the
  335. ; Program Group defined in the section heading.
  336. ;
  337. ; In each section like this one, you should list all items that you want 
  338. ; InstallWare to add to the group.
  339. ;
  340. ; The syntax for item-definition statements is: 
  341. ;
  342. ;     "Description",    APPFILE.EXE, [ICONFILE.EXE[, N]]
  343. ;
  344. ;where
  345. ;
  346. ;     Description   is the text that will appear below the program icon 
  347. ;                   when displayed in the Program Manager group. 
  348. ;
  349. ;     APPFILE.EXE   is the command line that starts the application.
  350. ;     
  351. ;     ICONFILE.EXE  is the application file that contains the icon you
  352. ;                   want to represent the application. Typically, this is 
  353. ;                   the executable application file, but it could be a 
  354. ;                   different file. (You can also specify a .ICO file, created
  355. ;                   using an icon editor.) This parameter is optional; if
  356. ;                   you omit it, InstallWare will use the first icon it finds in
  357. ;                   APPFILE.EXE. 
  358. ;
  359. ;     N             is the offset of the icon you want to use within the file
  360. ;                   ICONFILE.EXE.  This parameter is optional; if you omit it, 
  361. ;                   InstallWare uses the first icon it finds in ICONFILE.EXE.
  362. ;                   You must include this parameter if the file you specify
  363. ;                   contains more than one icon, and you want to use an icon
  364. ;                   other than the first icon. 
  365. ;
  366. ;                   To use the Nth icon, specify the number N-1. For example,
  367. ;                   to use the third icon, specify 2.
  368. ;
  369. ; For example, the following item-definition statement tells InstallWare to add 
  370. ; an item titled "Install" to Program Manager. The application command line is
  371. ; a file named INSTALL.EXE which is located in the SUB subdirectory off of the
  372. ; installation directory.
  373.  
  374.  
  375. ["Crested Butte Tour"]
  376.     "Crested Butte", #XCBTOUR.EXE
  377.     "Readme File", #XReadme.TXT
  378.  
  379.  
  380. ; -------------------------------------------------------------
  381. ; -------------------------------------------------------------
  382. ; *************************************************************
  383. ; -------------------------------------------------------------
  384. ; INI FILE MODIFICATION
  385. ; -------------------------------------------------------------
  386. ; *************************************************************
  387. ; -------------------------------------------------------------
  388. ; This section defines any INI file modifications that will be performed.
  389. ; The Installation Directory can be referenced by using the #D macro as is
  390. ; shown in the examples below.  If you specify an INI file that does not exist,
  391. ; it will be created.  If you do not specify a path, the WINDOWS directory is
  392. ; used.  Be sure to use quotes around text that contains spaces (see example).
  393. ; The format is as follows:
  394. ;       INIFILENAME, INI SectionName, Entry Label, Actual Text to be added
  395.     
  396. [INIFiles]
  397. ;        WIN.INI, InstallWare, TestEntry1, TestString1
  398.     
  399.  
  400. ; -------------------------------------------------------------
  401. ; *************************************************************
  402. ; -------------------------------------------------------------
  403. ; NON-OPTIONAL EXECUTABLE FILE LIST
  404. ; -------------------------------------------------------------
  405. ; *************************************************************
  406. ; -------------------------------------------------------------
  407. ; This section lists the files that will be executed to complete the installation.
  408. ; The user is not prompted as to whether they would like these files to be run.
  409. ; Common uses are running self-extracting archives or tutorials.  The filename
  410. ; that is specified is assumed to be relative to the install path.  The DELETE
  411. ; FLAG parameter indicates whether the file is deleted after it has completed
  412. ; executing.  All files run in succession, and processing of InstallWare is 
  413. ; suspended until each file terminates.  Use the #D or #W macros to reference
  414. ; the directory that was used for the installation.  A directory change is made
  415. ; just before the Command is run.  The directory changed to will be the same as
  416. ; the executable.  If no directory is specified, the installation directory is
  417. ; used.  In the following example using NOTEPAD, the application is in the PATH
  418. ; and the directory is the installation directory so the command line parameter
  419. ; is relative to the installation directory.
  420. ; The format is as follows:           
  421.  
  422. ;       EXECUTABLE FILENAME, DELETE FLAG (YES/NO)
  423. [ExtCmds]
  424. ;       #D\SUB\SFX.EXE, YES
  425. ;       "#D\FRAG.EXE d #D\TEST #D\sub 0", YES   ; Test Fragger
  426. ;       "NOTEPAD.EXE #V\BOOTLOG.TXT", NO
  427.  
  428. ; -------------------------------------------------------------
  429. ; *************************************************************
  430. ; -------------------------------------------------------------
  431. ; *************************************************************
  432. ; -------------------------------------------------------------
  433. ; OPTIONS
  434. ; -------------------------------------------------------------
  435. ; *************************************************************
  436. ; -------------------------------------------------------------
  437. ; This section allows for the customization of several InstallWare functions.
  438. ; The format is as follows:           
  439. ;       OPTION, FLAG (YES/NO)                                        
  440.  
  441. [Options]
  442.     Logging, YES        ; If this option is set to YES, then a log file will
  443.                         ; be created, detailing the installation.
  444.     DirChg, yes             ; If this option is set to NO, the Install directory
  445.                         ; editbox will not be displayed
  446.  
  447.     OverWrite, NO           ; This option determines what the default setting of
  448.                         ; of the OverWrite radio buttons will be.
  449.  
  450.  
  451. ;-----ReBoot/ReStart Section------
  452. ; Make sure you enable ONLY one of
  453. ; these options. If bother are enabled,
  454. ; a ReBoot will occur automatically.
  455.  
  456.     Restart, NO                ; If this option is set to YES, the user will be
  457.                     ; prompted to restart Windows.  If set to NO, it will
  458.                     ; just happen (the developer should warn about this
  459.                     ; at the beginning of the install).  If the field is not
  460.                     ; present, then no restart will occur.
  461.  
  462. ;    Reboot, YES                        ; If this option is set to YES, the user will be
  463.                     ; prompted to reboot the system.  If set to NO, it will
  464.                     ; just happen (the developer should warn about this
  465.                     ; at the beginning of the install).  If the field is not
  466.                     ; present, then no reboot will occur.
  467.  
  468.     RestartString, "The system must be rebooted/restarted for all changes to take effect.  Would you like to do this now?"
  469.                         ; This field MUST be present if you use either of the
  470.                         ; reboot/restart fields.                                        
  471.  
  472.     DeleteIW, NO            ; Due to SHARE problems on some systems, you might want 
  473.                         ; to leave IW.EXE on the target system.  To do so, set
  474.                         ; this option to NO (i.e. don't delete it)  Note that
  475.                         ; this is not an issue with single disk installations.
  476.     
  477.  
  478. ; -------------------------------------------------------------
  479. ; *************************************************************
  480. ; -------------------------------------------------------------
  481. ; *************************************************************
  482. ; -------------------------------------------------------------
  483. ; WINDOW
  484. ; -------------------------------------------------------------
  485. ; *************************************************************
  486. ; -------------------------------------------------------------
  487. ; This section allows for describing the InstallWare backdrop window.
  488. ; The format is different for each field.           
  489.  
  490. [Window]
  491.     Focus, YES               ;If set to YES, the window stays on top,
  492.                     ;keeping the user focused on the installation.
  493.  
  494.     Show, YES               ;If set to YES, the backdrop window is shown
  495.                     ;Otherwise, it is not and all other vars are ignored.
  496.                     
  497.     Style, FULL     ;If set to FULL, no caption is displayed.                                   
  498.                     
  499.     Color, BLUE      ;Options are gradients of RED, GREEN, and 
  500.                     ;BLUE (which is the default)
  501.  
  502.     Message, "InstallWare 4.1!"     ;This message is shown in the window    
  503.     Caption, "This is the InstallWare Demo" ;This message is shown in 
  504.                                             ;the caption of the window 
  505.                                             ;if it not set to FULL
  506.                                             
  507.     MessageLoc, TOP ;Location of the Message string: TOP or BOTTOM
  508.