home *** CD-ROM | disk | FTP | other *** search
/ Logiciels PC 21 / LogicielsPC_21.iso / Educ / DiscoverPainting / dpkv100.exe / setup.inf < prev    next >
Windows Setup INFormation  |  1999-11-09  |  8KB  |  287 lines

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;
  3. ;  Version identifies stlye (WIN4) and class
  4. ;  Class is usually used to get all infs for a
  5. ;  product or driver type if an exe it giving
  6. ;  users a list of things to install, for example 
  7. ;  all video drivers infs in the windows\inf directory
  8. ;
  9. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  10.  
  11. [version]
  12. signature="$CHICAGO$"
  13. provider=%PROVIDER%
  14.  
  15. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  16. ;
  17. ;  Install sections, these are the options
  18. ;  for building the installation file lists
  19. ;
  20. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  21.  
  22. [DefaultInstall]
  23.  
  24. [ProductInstall]
  25. CopyFiles=Product.copy.files, Product.copy.files2
  26. AddReg=Product.Add.Reg
  27. UpdateInis=Product.links
  28.  
  29.  
  30. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  31. ; Uninstall
  32.  
  33. [DefaultUninstall]
  34. ; be sure to remove everything
  35. DelFiles=Product.del.files, Product.del.files2
  36. DelReg=Product.Del.Reg
  37. UpdateInis=del.links
  38.  
  39. [MyProgramUninstall]
  40. ; be sure to remove everything
  41. DelFiles=Product.copy.files, Product.copy.files2
  42. DelReg=Product.Del.Reg
  43. UpdateInis=del.links
  44.  
  45.  
  46. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  47. ;
  48. ;  Registry sections, used by different install
  49. ;  sections above
  50. ;
  51. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  52.  
  53. [Product.Add.Reg]
  54. ;
  55. ; Product Registry entries here
  56. ; For compatibility you must specify 0,1,2,3 for the fourth
  57. ; parameter if you want to specify a value
  58. ;
  59. HKLM,SOFTWARE\CVI\DiscoverPainting,"Version",0,"1.0"
  60. ;
  61. ; for add/remove programs applet
  62. ;
  63. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DiscoverPainting,"DisplayName",0,"Discover Painting for Kids Version 1.0"
  64. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DiscoverPainting,"UninstallString",0,"Rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 "%65600%"\setup.inf"
  65.  
  66.  
  67. ;;;;;;;;;
  68. ;
  69. ; registry delete works by pruning the tree,
  70. ; so if you have interdependent values, put thems in subkeys and
  71. ; not in values of the main key since when you prune all the values are lost
  72. ;
  73.  
  74. [Product.Del.Reg]
  75. ;
  76. ;Registry entries here
  77. ;
  78.  
  79. HKLM,SOFTWARE\CVI\DiscoverPainting,"Version",,
  80. ;
  81. ; for add/remove programs applet
  82. ;
  83. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DiscoverPainting,"DisplayName",,
  84. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DiscoverPainting,"UninstallString",,
  85. HKCU,SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\DiscoverPainting,,,
  86.  
  87.  
  88. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  89. ;
  90. ; Disk lay out information, used by the CopyFiles lists
  91. ;
  92. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  93. ;
  94. ; This is the source disk identifiers the number at the
  95. ; beginning maps to the SourceDisksFiles first parameter
  96.  
  97. [SourceDisksNames]
  98. 1="The Product Source Disk Name, 1.0","",1
  99.  
  100. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  101. ;
  102. ; SourceDisksFiles -
  103. ; this must have ALL file names in any copyfiles section
  104. ; so that the default copyfile error callback dialog (browse,skip)
  105. ; can use the SourceDisksNames strings above to help find the file
  106. ; -- this infomation can also be put in a layout.inf
  107. ;
  108. ; filename_on_source = diskid,subdir,size,checksum,spare,spare
  109.  
  110. [SourceDisksFiles]
  111. Help_dpk.hlp = 1,,,,,
  112. DisPaint.exe = 1,,,,,
  113. setup.inf = 1,,,,,
  114. ReadMe.txt  = 1,,,,,
  115. License.txt  = 1,,,,,
  116. order.txt = 1,,,,,
  117. blank.bmp = 1,,,,,
  118. Ant.bmp = 1,,,,,
  119. Flower.bmp = 1,,,,,
  120. Mouse.bmp = 1,,,,,
  121. Rainbow.bmp = 1,,,,,
  122. T-Rex.bmp = 1,,,,,
  123. Turkey.bmp = 1,,,,,
  124. Whale.bmp = 1,,,,,
  125. Woods.bmp = 1,,,,,
  126. Beach.bmp = 1,,,,,
  127. Clouds.bmp = 1,,,,,
  128. Notebook.bmp = 1,,,,,
  129. Stars.bmp = 1,,,,,
  130. Sunny.bmp = 1,,,,,
  131. Tread.bmp = 1,,,,,
  132. Wood2.bmp = 1,,,,,
  133. Woods2.bmp = 1,,,,,
  134.  
  135.  
  136. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  137. ;
  138. ; Targetdirectories predefined for [DestinationDirs] section
  139. ;   parameter number one  
  140. ;     00 = null, use only the second parameter for a path
  141. ;     11 = windows system directory
  142. ;     ...
  143. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  144.  
  145. [DestinationDirs]
  146.  
  147. Product.del.files=01      ; 01 is the source directory
  148. Product.del.files2=65601
  149.  
  150. ;
  151. ; Run time defined strings, these are set with 
  152. ; SetupSetDirectoryId once this inf is openned
  153. ;
  154.  
  155. Product.copy.files=65600   ; 65600 is a random choice for a dirid
  156. Product.copy.files2=65601
  157.  
  158.  
  159.  
  160. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  161. ;
  162. ; These are the CopyFiles lists, here is where the files
  163. ; for each component are defined
  164. ; Note the last param (parm 4) is the CopyFlag for that
  165. ; File, for example 8 means copy on  restart--see the doc for more
  166. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  167.  
  168. [Product.copy.files]
  169. Help_dpk.hlp
  170. DisPaint.exe
  171. setup.inf
  172. ReadMe.txt
  173. License.txt
  174. order.txt
  175.  
  176. [Product.del.files]
  177. Help_DPK.hlp
  178. DisPaint.exe
  179. setup.inf
  180. ReadMe.txt
  181. License.txt
  182. order.txt
  183. %DESTINATION_SUB%blank.bmp
  184. %DESTINATION_SUB%Ant.bmp
  185. %DESTINATION_SUB%Flower.bmp
  186. %DESTINATION_SUB%Mouse.bmp
  187. %DESTINATION_SUB%Rainbow.bmp
  188. %DESTINATION_SUB%T-Rex.bmp
  189. %DESTINATION_SUB%Turkey.bmp
  190. %DESTINATION_SUB%Whale.bmp
  191. %DESTINATION_SUB%Woods.bmp
  192. %DESTINATION_SUB%Beach.bmp
  193. %DESTINATION_SUB%Clouds.bmp
  194. %DESTINATION_SUB%Notebook.bmp
  195. %DESTINATION_SUB%Stars.bmp
  196. %DESTINATION_SUB%Sunny.bmp
  197. %DESTINATION_SUB%Tread.bmp
  198. %DESTINATION_SUB%Wood2.bmp
  199. %DESTINATION_SUB%Woods2.bmp
  200.  
  201. [Product.copy.files2]
  202. blank.bmp
  203. Ant.bmp
  204. Flower.bmp
  205. Mouse.bmp
  206. Rainbow.bmp
  207. T-Rex.bmp
  208. Turkey.bmp
  209. Whale.bmp
  210. Woods.bmp
  211. Beach.bmp
  212. Clouds.bmp
  213. Notebook.bmp
  214. Stars.bmp
  215. Sunny.bmp
  216. Tread.bmp
  217. Wood2.bmp
  218. Woods2.bmp
  219.  
  220. [Product.del.files2]
  221. blank.bmp
  222. Ant.bmp
  223. Flower.bmp
  224. Mouse.bmp
  225. Rainbow.bmp
  226. T-Rex.bmp
  227. Turkey.bmp
  228. Whale.bmp
  229. Woods.bmp
  230. Beach.bmp
  231. Clouds.bmp
  232. Notebook.bmp
  233. Stars.bmp
  234. Sunny.bmp
  235. Tread.bmp
  236. Wood2.bmp
  237. Woods2.bmp
  238.  
  239. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  240. ;
  241. ; INI sections, used to create and delete icons 
  242. ;  other uses are possible
  243. ;
  244. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  245. [Product.links]
  246. ;create folders
  247. ;setup.ini, progman.groups,,"ProductGroup=Discover Painting"     
  248. ; create links
  249. ; second param must match above and the linked to file must really exist
  250. ;setup.ini, ProductGroup,,"%PRODUCT_DESC%,%65600%\DisPaint.exe,application,,"
  251. ;setup.ini, ProductGroup,,"%README_DESC%,%65600%\Help_DPK.hlp,,," 
  252. ;Add desktop icons here
  253.  
  254. [del.links]
  255. ;remove folders
  256. setup.ini, progman.groups,,"ProductGroup=Discover Painting for Kids"     
  257. ; remove links
  258. ; second param must match above and last param is EXACT description name
  259. setup.ini, ProductGroup,,"%PRODUCT_DESC%" 
  260. setup.ini, ProductGroup,,"%README_DESC%" 
  261. ;remove desktop icons here
  262.  
  263. [del.links.old]
  264. ;setup.ini, progman.groups,,"MyProductFolderOld=%DESC_OLD%"
  265. ;setup.ini, MyProductFolderOld,, """%README_DESC%"""
  266.  
  267.  
  268. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  269. ;
  270. ; Strings replace variable in percents above
  271. ;
  272. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  273. [Strings]
  274. PRODUCT_DESC    = "Discover Painting for Kids"
  275. DT_MESSAGES     = "Discover Painting for Kids"
  276. DT_DESKTOP      = "Desktop"
  277. DESC_OLD        = "Old Product"    ; removes old links
  278. README_DESC     = "Help"
  279. PROVIDER        = "Crescent Vision Interactive, LLC"
  280. DESTINATION_DIR = "c:\Program Files\Crescent Vision\Discover Painting\"
  281. PROGRAM_GROUP   = "Discover Painting for Kids"
  282. PROGRAM_EXE    = "DisPaint.exe"
  283. PROGRAM_HELP    = "Help_DPK.hlp"
  284. DESTINATION_SUB = "Pages\"
  285.  
  286.