home *** CD-ROM | disk | FTP | other *** search
INI File | 1996-07-12 | 7.3 KB | 156 lines |
- ; INF file - tells the install program what to install and where
- ; Contains various sections of the form:
- ; This line in the ini section tells the program to update to Pro mode
- ; "Interface" "~0x04000100 0x20000220"
- ;
- ; [N] - where N = 0 => section till next header is for SuperInstall
- ; otherwise => section is for the N'th option of SuperInstall
- ; [setup] - background file and strings used as captions for this option
- ; format is
- ; "wmf" "appName" "installName" and options "winIniSection" "winIniLine" "dirName"
- ; "reserveSpace", "installType" and optional string
- ; InstallType MUST be 3 chars
- ; [extra] - some extra info!
- ; currently this can contain section name for previous version of the product
- ; [disks] - the names of the various disks used for this option
- ; [directories] - the names of the directories created for this option
- ; - First char of name is its reference.
- ; - Second char is
- ; NULL => dir is relative to directory 0
- ; W => dir is relative to windows dir
- ; S => dir is relative to windows system dir
- ; N => dir is relative to dir named in specified INI
- ; I => dir is relative to app dir relative to install dir
- ; B => dir is relative to install dir only
- ; [apps] - all the possible files to install for this option
- ; format is
- ; "wmf" "disk/flags" "dstDir/srcDir" "fileName.bytes" "Xstring"
- ; values for flags are "A" => if current file is newer than one being installed, tell user
- ; "C" => file is compressed
- ; "D" => option should be displayed in box
- ; "E" => install file only if a version already exists
- ; "F" => file contains TrueType fonts
- ; "I" => file has an icon, next char is progman letter
- ; "J" => just create the directory
- ; "K" => this file cannot be skipped
- ; "R" => this file must be installed
- ; "T" => install file only if newer than existing
- ; "U" => give file unique name when copy
- ; "V" => file should be version checked before installation
- ; plus on the first file
- ; "M" => Section defines a multi-install
- ; "S" => Section defines a SuperPack style install
- ; values for X are "I" => string is name of ini section in this inf file
- ; "O" => string is name of ole section in this inf file
- ; "C" => string is name of icon if one is given
- ; "D" => string is name of working directory for icon
- ; "N" => string is the option name for the listbox
- ; "T" => string is the dexcription of this option
- ;
- ; [progman] - the names of all the Program Manager groups to be created
- ;
- ; [??ini] - changes to be made to ini files
- ; symbols used for first string are
- ; ! => Following is a new sectionName.
- ; # => Following line is the new iniName for future lines.
- ; ? => Line is intended for the Extensions section of WIN.INI
- ; @ => WIN.INI is used rather than the current iniName.
- ; w => Windows directory
- ; ~ => Following is a fileName in the [apps] section - the next line
- ; should be done only if that fileName was selected/installed.
- ; If then approp. first string will be added as a keyName in the current
- ; sectionName in the current iniFile, with its value being the second
- ; string.
- ; The first char of the second string will be expanded based on the
- ; [directories] section above unless it is a symbol in which case
- ; ^ => set right hand side to be blank
- ; # => following strings are "#section key default iniSection": look
- ; in win.ini in 'section' for 'key' and get that rhs, then look
- ; in 'iniSection' of the current ini file and find the entry where
- ; the win.ini == first part of the entry's rhs, and then set the
- ; the specified lhs to be this entry
- ; ~ => set bits in the given field if doing an upgrade, with "~off on"
- ; format for bits to unset and set respectively
- ; z => insert user name
- ; y => insert company name
- ; x => insert registration number
- ; w => insert windows dir
- ; v => insert top level dir
- ;
- ; [??ole] - lines for the OLE registration
- ; [help] - name of help topics for the Help buttons. Section appears
- ; only once per INF and is used for all sections
- ; Order is
- ; DirHelp, OptionHelp, SuperOptionHelp, CD1Help, CD2Help
-
- [!0!]
- [setup]
- "pho" "PhotoPlus 1.0" "PhotoPlus Install" "Serif PhotoPlus 1.0" "##PhotPlusIni" ""
- "PhotoPlus" "1.0" "PH1/PCR/09" "1067" "19" "2040" "ipp"
-
- [disks]
- "0" "A:\" "PhotoPlus 1.0 Install Disk"
-
- [directories]
- "0" "C:\SERIF\PHOTOP10" "PhotoPlus Main Directory"
- "SN" "" "Serif DLL Directory" "w\SERIF.INI" "serif" "SharedDLLDir" "v\SERIFDLL"
- "A" "\PROGRAM" "PhotoPlus Program Files"
- "B" "\SAMPLES" "Sample Pictures"
- "CS" "\." "DLL files"
-
- [apps]
- "" "0OD" "APHOTOP10" "photplus.ini.1" "NPhotoPlus Basic Set" "TMinimum requirement for running PhotoPlus."
- "" "0CT" "SPHOTOP10" "serifreg.scf.229"
- "" "0CIA" "APHOTOP10" "photplus.scf.425" "Iipini" "CPhotoPlus 1.0" "DA" "Oipole"
- "" "0C" "APHOTOP10" "iphelp.scf.256"
- "" "0CT" "SPHOTOP10" "library.scf.389"
- "" "0" "BPHOTOP10" "tutor.jpg.80"
- "" "0CT" "CPHOTOP10" "ctl.scf.26"
-
- "" "0DTA" "BPHOTOP10" "church.jpg.35" "NSamples" "T12 sample TIFF and JPEG pictures"
- "" "0TA" "BPHOTOP10" "flowers.tif.50"
- "" "0TA" "BPHOTOP10" "gorilla.tif.68"
- "" "0TA" "BPHOTOP10" "harley.jpg.80"
- "" "0TA" "BPHOTOP10" "jazz.jpg.24"
- "" "0TA" "BPHOTOP10" "kids.jpg.19"
- "" "0TA" "BPHOTOP10" "paint1.jpg.14"
- "" "0TA" "BPHOTOP10" "paint2.jpg.21"
- "" "0TA" "BPHOTOP10" "seaside.tif.37"
- "" "0TA" "BPHOTOP10" "skyscape.tif.49"
- "" "0TA" "BPHOTOP10" "taj.tif.42"
- "" "0TA" "BPHOTOP10" "woodhead.tif.159"
-
- [progman]
- "A" "Serif Applications" "SERIF.GRP"
-
- [ipini]
- "#w\SERIF.INI"
- "!Serif"
- "Name" "z"
- "Company" "y"
- "RegNumber" "x"
- "SharedDLLDir" "S"
- "!Serif PhotoPlus 1.0"
- "Name" "z"
- "Company" "y"
- "PhotPlusIni" "A\PhotPlus.Ini"
- "!PhotoPlus 1.0\Registration"
- "Registration Id" "x"
- "Market" "p"
- "Checksum" "t"
- "Company" "y"
- "Name" "z"
- "Expiry Date" "r"
- "Free Runs" "u"
- "Grace Period" "q"
- "#A\PhotPlus.Ini"
- "!Misc"
- "WindowPos" "^"
- "Welcomed" "^1"
- "LoadDir" "B"
- "SaveDir" "B"
- "CdDrive" "^"
-
- [ipole]
- "PhotoPlus" "Serif PhotoPlus" "Edit"
-