home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Logiciels PC 21
/
LogicielsPC_21.iso
/
Educ
/
DiscoverPainting
/
dpkv100.exe
/
setup.inf
< prev
next >
Wrap
Windows Setup INFormation
|
1999-11-09
|
8KB
|
287 lines
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Version identifies stlye (WIN4) and class
; Class is usually used to get all infs for a
; product or driver type if an exe it giving
; users a list of things to install, for example
; all video drivers infs in the windows\inf directory
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[version]
signature="$CHICAGO$"
provider=%PROVIDER%
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Install sections, these are the options
; for building the installation file lists
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[DefaultInstall]
[ProductInstall]
CopyFiles=Product.copy.files, Product.copy.files2
AddReg=Product.Add.Reg
UpdateInis=Product.links
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Uninstall
[DefaultUninstall]
; be sure to remove everything
DelFiles=Product.del.files, Product.del.files2
DelReg=Product.Del.Reg
UpdateInis=del.links
[MyProgramUninstall]
; be sure to remove everything
DelFiles=Product.copy.files, Product.copy.files2
DelReg=Product.Del.Reg
UpdateInis=del.links
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Registry sections, used by different install
; sections above
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Product.Add.Reg]
;
; Product Registry entries here
; For compatibility you must specify 0,1,2,3 for the fourth
; parameter if you want to specify a value
;
HKLM,SOFTWARE\CVI\DiscoverPainting,"Version",0,"1.0"
;
; for add/remove programs applet
;
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DiscoverPainting,"DisplayName",0,"Discover Painting for Kids Version 1.0"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DiscoverPainting,"UninstallString",0,"Rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 "%65600%"\setup.inf"
;;;;;;;;;
;
; registry delete works by pruning the tree,
; so if you have interdependent values, put thems in subkeys and
; not in values of the main key since when you prune all the values are lost
;
[Product.Del.Reg]
;
;Registry entries here
;
HKLM,SOFTWARE\CVI\DiscoverPainting,"Version",,
;
; for add/remove programs applet
;
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DiscoverPainting,"DisplayName",,
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DiscoverPainting,"UninstallString",,
HKCU,SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\DiscoverPainting,,,
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Disk lay out information, used by the CopyFiles lists
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; This is the source disk identifiers the number at the
; beginning maps to the SourceDisksFiles first parameter
[SourceDisksNames]
1="The Product Source Disk Name, 1.0","",1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; SourceDisksFiles -
; this must have ALL file names in any copyfiles section
; so that the default copyfile error callback dialog (browse,skip)
; can use the SourceDisksNames strings above to help find the file
; -- this infomation can also be put in a layout.inf
;
; filename_on_source = diskid,subdir,size,checksum,spare,spare
;
[SourceDisksFiles]
Help_dpk.hlp = 1,,,,,
DisPaint.exe = 1,,,,,
setup.inf = 1,,,,,
ReadMe.txt = 1,,,,,
License.txt = 1,,,,,
order.txt = 1,,,,,
blank.bmp = 1,,,,,
Ant.bmp = 1,,,,,
Flower.bmp = 1,,,,,
Mouse.bmp = 1,,,,,
Rainbow.bmp = 1,,,,,
T-Rex.bmp = 1,,,,,
Turkey.bmp = 1,,,,,
Whale.bmp = 1,,,,,
Woods.bmp = 1,,,,,
Beach.bmp = 1,,,,,
Clouds.bmp = 1,,,,,
Notebook.bmp = 1,,,,,
Stars.bmp = 1,,,,,
Sunny.bmp = 1,,,,,
Tread.bmp = 1,,,,,
Wood2.bmp = 1,,,,,
Woods2.bmp = 1,,,,,
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Targetdirectories predefined for [DestinationDirs] section
; parameter number one
; 00 = null, use only the second parameter for a path
; 11 = windows system directory
; ...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[DestinationDirs]
Product.del.files=01 ; 01 is the source directory
Product.del.files2=65601
;
; Run time defined strings, these are set with
; SetupSetDirectoryId once this inf is openned
;
Product.copy.files=65600 ; 65600 is a random choice for a dirid
Product.copy.files2=65601
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; These are the CopyFiles lists, here is where the files
; for each component are defined
; Note the last param (parm 4) is the CopyFlag for that
; File, for example 8 means copy on restart--see the doc for more
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Product.copy.files]
Help_dpk.hlp
DisPaint.exe
setup.inf
ReadMe.txt
License.txt
order.txt
[Product.del.files]
Help_DPK.hlp
DisPaint.exe
setup.inf
ReadMe.txt
License.txt
order.txt
%DESTINATION_SUB%blank.bmp
%DESTINATION_SUB%Ant.bmp
%DESTINATION_SUB%Flower.bmp
%DESTINATION_SUB%Mouse.bmp
%DESTINATION_SUB%Rainbow.bmp
%DESTINATION_SUB%T-Rex.bmp
%DESTINATION_SUB%Turkey.bmp
%DESTINATION_SUB%Whale.bmp
%DESTINATION_SUB%Woods.bmp
%DESTINATION_SUB%Beach.bmp
%DESTINATION_SUB%Clouds.bmp
%DESTINATION_SUB%Notebook.bmp
%DESTINATION_SUB%Stars.bmp
%DESTINATION_SUB%Sunny.bmp
%DESTINATION_SUB%Tread.bmp
%DESTINATION_SUB%Wood2.bmp
%DESTINATION_SUB%Woods2.bmp
[Product.copy.files2]
blank.bmp
Ant.bmp
Flower.bmp
Mouse.bmp
Rainbow.bmp
T-Rex.bmp
Turkey.bmp
Whale.bmp
Woods.bmp
Beach.bmp
Clouds.bmp
Notebook.bmp
Stars.bmp
Sunny.bmp
Tread.bmp
Wood2.bmp
Woods2.bmp
[Product.del.files2]
blank.bmp
Ant.bmp
Flower.bmp
Mouse.bmp
Rainbow.bmp
T-Rex.bmp
Turkey.bmp
Whale.bmp
Woods.bmp
Beach.bmp
Clouds.bmp
Notebook.bmp
Stars.bmp
Sunny.bmp
Tread.bmp
Wood2.bmp
Woods2.bmp
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; INI sections, used to create and delete icons
; other uses are possible
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Product.links]
;create folders
;setup.ini, progman.groups,,"ProductGroup=Discover Painting"
; create links
; second param must match above and the linked to file must really exist
;setup.ini, ProductGroup,,"%PRODUCT_DESC%,%65600%\DisPaint.exe,application,,"
;setup.ini, ProductGroup,,"%README_DESC%,%65600%\Help_DPK.hlp,,,"
;Add desktop icons here
[del.links]
;remove folders
setup.ini, progman.groups,,"ProductGroup=Discover Painting for Kids"
; remove links
; second param must match above and last param is EXACT description name
setup.ini, ProductGroup,,"%PRODUCT_DESC%"
setup.ini, ProductGroup,,"%README_DESC%"
;remove desktop icons here
[del.links.old]
;setup.ini, progman.groups,,"MyProductFolderOld=%DESC_OLD%"
;setup.ini, MyProductFolderOld,, """%README_DESC%"""
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Strings replace variable in percents above
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Strings]
PRODUCT_DESC = "Discover Painting for Kids"
DT_MESSAGES = "Discover Painting for Kids"
DT_DESKTOP = "Desktop"
DESC_OLD = "Old Product" ; removes old links
README_DESC = "Help"
PROVIDER = "Crescent Vision Interactive, LLC"
DESTINATION_DIR = "c:\Program Files\Crescent Vision\Discover Painting\"
PROGRAM_GROUP = "Discover Painting for Kids"
PROGRAM_EXE = "DisPaint.exe"
PROGRAM_HELP = "Help_DPK.hlp"
DESTINATION_SUB = "Pages\"