home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Direkt 1995 #4-#5
/
CDD_05_95.ISO
/
cdd
/
winanw
/
helpwrit
/
appsetup.inf
next >
Wrap
INI File
|
1994-10-26
|
20KB
|
460 lines
; -------------------------------------------------------------
; *************************************************************
; -------------------------------------------------------------
;
; Sample Installation Script -- 052094
;
; -------------------------------------------------------------
; *************************************************************
; -------------------------------------------------------------
; -------------------------------------------------------------
; *************************************************************
; -------------------------------------------------------------
; About This File
; ===============
;
; This file, APPSETUP.INF, contains information that InstallWare uses to
; install applications. This file must be in the same directory as the
; program files IW.EXE(if used) and INSTALL.EXE. The two files can be on
; a floppy disk, a hard disk, or a network disk drive.
;
; The information in this file determines
;
; * The names of the disks and directories from which, and to which,
; InstallWare copies files.
;
; * The name of the group that InstallWare creates in Program Manager's
; window, and the names of program items that InstallWare adds to that
; group.
;
; You can create your own InstallWare program by changing some of the
; information in this file.
;
; The Parts of APPSETUP.INF
; -------------------------
;
; APPSETUP.INF is similar in format to a Windows initialization (.INI) file.
;
; Sections: APPSETUP.INF is divided into sections. Each section is identified
; by a name enclosed in square brackets.
;
; Most section names are "hard-coded". However, some section names
; are defined within other sections, and are therefore easily
; customizable.
;
; Comments: A comment begins with a semicolon. You can include a comment
; on the same line as syntax, as long as it comes after the syntax.
;
; Spaces: Spaces are ignored, except when between double quotes.
; Blank lines are also ignored.
;
; Sections in This File
; ---------------------
;
; The rest of this file contains the actual sections and statements
; that make up the working file. It also includes comments that
; explain each section and statement.
;
;
;
;
;
; -------------------------------------------------------------
; *************************************************************
; -------------------------------------------------------------
; INFOFILE
; -------------------------------------------------------------
; *************************************************************
; -------------------------------------------------------------
; The [infofile] section describes various miscellaneous aspects
; of the installation. The FILENAME label indicates the name of
; the text file that is shown to the user when the program starts
; up. The APPNAME label is used to refer to the name of the
; application being installed.
;
; The EXEFILE label is used to tell InstallWare that you would
; like to run a file after the installation is complete. This
; is useful for showing a readme file, unpacking some archives,
; or just starting up the program that was just installed. In
; the example below, note that the filename starts with a backslash.
; This indicates that the program is in the PATH. Otherwise,
; it is assumed to be located relative to the installation
; directory. The MESSAGE label denotes the text that will be
; displayed in the message box that prompts the user just before
; the EXEFILE is run. If there is no MESSAGE, then the EXEFILE
; is run without prompting the user.
; -------------------------------------------------------------
[infofile]
filename = Install.txt
appname = "VB HelpWriter"
exefile = "\notepad.exe readme.txt"
message = "Do you want to view the readme file?"
; -------------------------------------------------------------
; *************************************************************
; -------------------------------------------------------------
; DIALOG
; -------------------------------------------------------------
; *************************************************************
; -------------------------------------------------------------
; The [dialog caption] section is used to define the caption
; of the windows that shown in the INSTALL program.
; -------------------------------------------------------------
[dialog]
caption = "VB HelpWriter Installation"
; -------------------------------------------------------------
; *************************************************************
; -------------------------------------------------------------
; DATA
; -------------------------------------------------------------
; *************************************************************
; -------------------------------------------------------------
; The [data defdir] section defines the default directory. This
; directory is placed in the Install location editbox when the
; program starts. If the user does not change it, then this
; will be the base directory of the installation.
; -------------------------------------------------------------
[data]
defdir = C:\HelpWrit
; -------------------------------------------------------------
; *************************************************************
; -------------------------------------------------------------
; DISKS
; -------------------------------------------------------------
; *************************************************************
; -------------------------------------------------------------
;
; The [disks] section defines the distribution disks that contain the
; application files. InstallWare uses this information to tell the user to
; insert the correct disk.
;
; Elsewhere within this .INF file, the distribution disks are normally
; referred to by a single-character disk ID. This section defines those
; disk IDs, and includes information about the disk to which each disk ID
; refers.
;
; The disk ID '0' is reserved; it represents the installation directory --
; the directory in which the user is installing the application.
;
; The format of each disk definition is:
;
; n = path, title
;
; where
; n is the disk ID (a single character from 1-9 or A-Z).
;
; path the path of the source directory from which InstallWare should
; copy the files to the disk. The path can be relative to the
; source directory (see examples below).
;
; title is a descriptive name for the disk. The title should match
; the disk's printed or written label exactly.
;
; The following statements would define two distribution disks.
;
; 1 =., "Demo Application Disk 1"
; 2 =.\files, "Demo Application Disk 2"
;
; The first statement tells InstallWare to refer to Disk 1 as "Demo Application
; Disk 1". Because the period (.) denotes the current directory, the files
; on that disk will be copied from the root directory of the
; distribution disk.
;
; The second statement tells InstallWare to refer to Disk 2 as "Demo
; Application Disk 2"; the files that Disk 2 contains will be copied
; from the \FILES directory of the distribution disk.
;
; You can include as many disk-definition statements as necessary. Every
; distribution disk should have a corresponding disk-definition statement;
; otherwise, InstallWare cannot tell the user to insert the appropriate disk.
;
; For the purposes of this file we will use this disk definition line:
[disks]
1 =., "INSTALL DISK"
2 =., "DICTIONARY DISK"
; -------------------------------------------------------------
; *************************************************************
; -------------------------------------------------------------
; NEEDED.SPACE
; -------------------------------------------------------------
; *************************************************************
; -----------------------------