home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1996 January / buyer-0196.iso / spp / install.inf < prev    next >
INI File  |  1995-05-02  |  6KB  |  124 lines

  1. ; INF file - tells the install program what to install and where
  2. ; Contains various sections of the form:
  3.  
  4. ; [N]           - where N = 0 => section till next header is for SuperInstall
  5. ;                   otherwise => section is for the N'th option of SuperInstall
  6. ; [setup]       - background file and strings used as captions for this option
  7. ;   format is
  8. ;   "wmf" "appName" "installName"   and options "winIniSection" "winIniLine" "dirName"
  9. ;   "reserveSpace", "installType"   and optional string
  10. ;   InstallType MUST be 3 chars
  11. ; [extra]       - some extra info!
  12. ;   currently this can contain section name for previous version of the product
  13. ; [disks]       - the names of the various disks used for this option
  14. ; [directories] - the names of the directories created for this option
  15. ;               - First char of name is its reference.
  16. ;               - Second char is
  17. ;                      NULL => dir is relative to directory 0
  18. ;                      W    => dir is relative to windows dir
  19. ;                      S    => dir is relative to windows system dir
  20. ;                      N    => dir is relative to dir named in specified INI
  21. ; [apps]        - all the possible files to install for this option
  22. ;  format is
  23. ;  "wmf" "disk/flags" "copyNumber(optional)" "dstDir/srcDir" "fileName.bytes" "Xstring"
  24. ;  values for flags are "A" => if current file is newer than one being installed, tell user
  25. ;                       "C" => file is compressed
  26. ;                       "D" => option should be displayed in box
  27. ;                       "E" => install file only if a version already exists
  28. ;                       "F" => file contains TrueType fonts
  29. ;                       "I" => file has an icon, next char is progman letter
  30. ;                       "J" => just create the directory
  31. ;                       "K" => this file cannot be skipped
  32. ;                       "R" => this file must be installed
  33. ;                       "T" => install file only if newer than existing
  34. ;                       "U" => give file unique name when copy
  35. ;                       "V" => file should be version checked before installation
  36. ;  values for X are     "I" => string is name of ini section in this inf file
  37. ;                       "O" => string is name of ole section in this inf file
  38. ;                       "C" => string is name of icon if one is given
  39. ;                       "D" => string is name of working directory for icon
  40. ;                       "N" => string is the option name for the listbox
  41. ;                       "T" => string is the dexcription of this option
  42. ;
  43. ; [progman]     - the names of all the Program Manager groups to be created
  44. ;
  45. ; [??ini]       - changes to be made to ini files
  46. ;  symbols used for first string are
  47. ;      ! => Following is a new sectionName.
  48. ;      # => Following line is the new iniName for future lines.
  49. ;      ? => Line is intended for the Extensions section of WIN.INI
  50. ;      @ => WIN.INI is used rather than the current iniName.
  51. ;      w => Windows directory
  52. ;      ~ => Following is a fileName in the [apps] section - the next line
  53. ;           should be done only if that fileName was selected/installed.
  54. ;      If then approp. first string will be added as a keyName in the current
  55. ;      sectionName in the current iniFile, with its value being the second
  56. ;      string.
  57. ;      The first char of the second string will be expanded based on the
  58. ;      [directories] section above unless it is a symbol in which case
  59. ;      ^ => use literal RHS given
  60. ;      # => following strings are "#section key default iniSection": look
  61. ;           in win.ini in 'section' for 'key' and get that rhs, then look
  62. ;           in 'iniSection' of the current ini file and find the entry where
  63. ;           the win.ini == first part of the entry's rhs, and then set the
  64. ;           the specified lhs to be this entry
  65. ;      ~ => set bits in the given field if doing an upgrade, with "~off on"
  66. ;           format for bits to unset and set respectively
  67. ;      z => insert user name
  68. ;      y => insert company name
  69. ;      x => insert registration number
  70. ;
  71. ; [??ole]       - lines for the OLE registration
  72. ; [help]        - name of help topics for the Help buttons
  73. [!0!]
  74. [setup]
  75.   "ppi" "PagePlus Intro", "PagePlus Install", "PagePlus 2.0", "##PpIniPath", ""
  76.   "2040", "ppp", "", "PagePlus Intro"
  77.  
  78. [disks]
  79.   "0","A:\","PagePlus Intro Disk"
  80.  
  81. [directories]
  82.   "0","C:\PPINTRO",        "PagePlus Main Directory"
  83.   "A","\PROGRAM",          "PagePlus Program Files"
  84.   "B","\DOCUMENT",         "PagePlus Document Files"
  85.   "C","\TEMPLATE",         "PagePlus Template Files"
  86.   "D","\SAMPLES",          "PagePlus Sample Files"
  87.   "E","\PROGRAM\TEMP",     "PagePlus Import Files"
  88.   "F","\ART&BORD",         "PagePlus Art and Borders Files"
  89.   "G","\ART&BORD\SAMPLES", "PagePlus Art and Borders Files"
  90.  
  91. [apps]
  92.    "" "0RCIAD"  "A." "pp.scf.1352" "Ippini" "CPagePlus Intro" "DA"
  93.    "" "0R"      "A." "pp.wel.1"
  94.    "" "0RC"     "A." "ppmin.scf.544"
  95.    "" "0RC"     "D." "txtsam.scf.5"
  96.    "" "0RC"     "A." "ppcnf.scf.74"
  97.    "" "0RC"     "C." "template.scf.176"
  98.    "" "0RJ"     "E." "0.0"
  99.    "" "0RJ"     "B." "0.0"
  100.    "" "0RC"     "A." "pphelp.scf.254"
  101.    "" "0RC"     "G." "samples.scf.101"
  102.  
  103. [progman]
  104.    "A","Serif Applications","SERIF.GRP"
  105.  
  106. [ppini]
  107.    "!PagePlus 2.0"
  108.    "@PpIniPath",        "A\PP.INI"
  109.    "#A\PP.INI"
  110.    "GraphicImportDir",  "D"
  111.    "GraphicExportDir",  "D"
  112.    "PPPFileDir",        "B"
  113.    "TemplateDir",       "C"
  114.    "TextImportDir",     "D"
  115.    "TempImportPath",    "E"
  116.    "!Art&Borders"
  117.    "ArtPack Samples",   "G,A"
  118.    "ArtPack-Samples",   "G,B"
  119.    "?ppp",              "A\pp.exe"
  120.    "?ppt",              "A\pp.exe"
  121.  
  122. [help]
  123.    "107", "108"
  124.