home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / cpkocx17 / setup.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1998-09-05  |  5.2 KB  |  188 lines

  1. ;
  2. ; "Cardpack" ActiveX control installation file
  3. ;
  4. ; Release 1.7.1
  5. ;
  6. ; Copyright 1996-1997 by Andy Zanna. All rights reserved
  7. ;
  8.  
  9. [version]
  10. signature="$CHICAGO$"
  11.  
  12. [dialogs]
  13. HelpFile  = Cardpack.hlp
  14. HelpTopic = Installation
  15. Title     = Cardpak Control Setup - Version 1.7
  16. Contents  = the Cardpack Control, docs and samples
  17.  
  18. [DefaultInstall]
  19. ; Commands for installation on a Windows 95 system
  20. CopyFiles=CPK.copy, CPK.copy.sys32, CPK.copy.hlp, CPK.copy.bris, CPK.copy.dll, CPK.copy.wt, CPK.copy.inf, CPK.copy.wg
  21. UpdateInis=CPK.inis
  22. AddReg=CPK.Add.Reg
  23.  
  24. [DefaultInstall.nt]
  25. ; Commands for installation on an NT system (Registry setup of UNINSTALL is different)
  26. CopyFiles=CPK.copy, CPK.copy.sys32, CPK.copy.hlp, CPK.copy.bris, CPK.copy.dll, CPK.copy.wt, CPK.copy.inf, CPK.copy.wg
  27. UpdateInis=CPK.inis
  28. AddReg=CPK.Add.RegNT
  29.  
  30. [DefaultUnInstall]
  31. ; Commands to execute when uninstalling
  32. AddReg    = CPK.Uninst.Add.Reg
  33. DelFiles  = CPK.copy, CPK.copy.hlp, CPK.copy.bris, CPK.copy.dll, CPK.copy.wt, CPK.copy.inf, CPK.AutoGen, CPK.copy.wg
  34. DelReg    = CPK.Del.Reg
  35. DelInis   = CPK.Del.inis
  36.  
  37. [CPK.copy]
  38. CARDPACK.BAS
  39. README.TXT
  40.  
  41. [CPK.copy.hlp]
  42. CARDPACK.HLP
  43.  
  44. [CPK.copy.sys32]
  45. cardpk32.ocx
  46. cards32.dll
  47.  
  48. [CPK.copy.win]
  49.  
  50. [CPK.copy.inf]
  51. SETUP.INF
  52.  
  53. [CPK.copy.bris]
  54. TRACEWIN.FRM
  55. ABOUT.FRX
  56. BRISCOLA.BAS
  57. BRISCOLA.FRM
  58. BRISCOLA.FRX
  59. BRISCOLA.HLP
  60. BRISCOLA.ICO
  61. BRISCOLA.VBP
  62. GAME.FRX
  63. OPTIONS.FRM
  64. OPTIONS.FRX
  65. SUPPORT.BAS
  66. SYSTEM.BAS
  67. ABOUT.FRM
  68. ABOUT.FRX
  69. ANIM.BAS
  70.  
  71. [CPK.copy.dll]
  72. Libtst32.frm
  73. Libtst32.vbp
  74. cards32.dll
  75.  
  76. [CPK.copy.wt]
  77. webtest.htm
  78.  
  79. [CPK.copy.wg]
  80. help.htm
  81. setup.htm
  82. webgame.htm
  83. help.gif
  84.  
  85. [CPK.AutoGen]
  86. CARDPACK.GID
  87. CARDPACK.FTS
  88.  
  89. [DestinationDirs]
  90. CPK.copy=24,%CPKPROG%            ; cardpack samples go in applications directory
  91. CPK.copy.hlp=18                ; help directory
  92. CPK.copy.inf=24,%CPKPROG%        ; INF goes in application directory
  93. CPK.copy.sys32=11            ; system or system32 directory for win32 stuff
  94. CPK.copy.win=25                ; shared directory (windows)
  95.  
  96. CPK.copy.bris=24,%CPKPROG%\%CPKBRIS%    ; path to "briscola" sample
  97. CPK.copy.dll=24,%CPKPROG%\%CPKDLL%    ; path to sample custom cards dll
  98. CPK.copy.wt=24,%CPKPROG%\%CPKWT%    ; path to sample WebTest html page
  99. CPK.copy.wg=24,%CPKPROG%\%CPKWG%    ; path to sample WebGame
  100. CPK.AutoGen=18                ; cache files created by winhelp
  101. CPK.Dirs=24,%CPKPROG%            ; cardpack samples dir must be removed explicitely
  102.  
  103. [SourceDisksNames]
  104. 1="Cardpack Setup","CPK",,
  105.  
  106. [SourceDisksFiles]
  107.  
  108. README.TXT=1
  109. cardpk32.ocx=1,controls
  110. CARDPACK.BAS=1,controls
  111. SETUP.INF=1
  112. CARDPACK.HLP=1
  113.  
  114. Libtst32.frm=1,cardsdll
  115. Libtst32.vbp=1,cardsdll
  116. cards32.dll=1,cardsdll
  117.  
  118. TRACEWIN.FRM=1,briscola
  119. ABOUT.FRX=1,briscola
  120. BRISCOLA.BAS=1,briscola
  121. BRISCOLA.FRM=1,briscola
  122. BRISCOLA.FRX=1,briscola
  123. BRISCOLA.HLP=1,briscola
  124. BRISCOLA.ICO=1,briscola
  125. BRISCOLA.VBP=1,briscola
  126. GAME.FRX=1,briscola
  127. OPTIONS.FRM=1,briscola
  128. OPTIONS.FRX=1,briscola
  129. SUPPORT.BAS=1,briscola
  130. SYSTEM.BAS=1,briscola
  131. ABOUT.FRM=1,briscola
  132. ABOUT.FRX=1,briscola
  133. ANIM.BAS=1,briscola
  134.  
  135. WEBTEST.HTM=1,webtest
  136.  
  137. help.htm=1,webgame
  138. setup.htm=1,webgame
  139. webgame.htm=1,webgame
  140. help.gif=1,webgame
  141.  
  142.  
  143. [CPK.inis]
  144. vb.ini, "VBX Conversions32",, "cardpack.vbx={6B17E7E3-AECA-11D0-B4D8-444553540000}#1.0#0;%11%\cardpk32.ocx"
  145.  
  146. [CPK.Add.Reg]
  147. ; add entries to the registry for set-up finalization and uninstall
  148. HKLM,%UCPK%,DisplayName,,"%CPK_Desc%"
  149. HKLM,%UCPK%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %24%\%CPKPROG%\setup.inf"
  150. HKLM,%CPKSCV%\RunOnce\Setup,%CPK_REG_OCX32%,,"RunDll32 %11%\cardpk32.ocx,RunEntry /R"
  151. HKLM,%CPKSCV%\RunOnce\Setup,%CPK_READ_ME%,,"WINHLP32.EXE -i Contents %18%\CARDPACK.HLP"
  152.  
  153. [CPK.Add.RegNT]
  154. ; Contains NT-specific Registry commands (uninstall command is different)
  155. HKLM,%UCPK%,DisplayName,,"%CPK_Desc%"
  156. HKLM,%UCPK%,UninstallString,,"rundll32 syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 128 %24%\%CPKPROG%\setup.inf"
  157. HKLM,%CPKSCV%\RunOnce\Setup,%CPK_REG_OCX32%,,"RunDll32 %11%\cardpk32.ocx,RunEntry /R"
  158. HKLM,%CPKSCV%\RunOnce\Setup,%CPK_READ_ME%,,"WINHLP32.EXE -i Contents %18%\CARDPACK.HLP"
  159.  
  160. [CPK.Del.Reg]
  161. ; During uninstall, remove these entries from the registry
  162. HKLM,%UCPK%
  163.  
  164. [CPK.Uninst.Add.Reg]
  165. HKLM,%CPKSCV%\RunOnce\Setup,%CPK_UNREG_OCX32%,,"RunDll32 %11%\cardpk32.ocx,RunEntry /U"
  166. HKLM,%CPKSCV%\RunOnce\Setup,%CPK_DEL_DIRS%,,"deltree /y %24%\%CPKPROG%"
  167. HKLM,%CPKSCV%\RunOnce\Setup,%CPK_DEL_OCA32%,,"deltree /y %11%\cardpk32.*"
  168. HKLM,%CPKSCV%\RunOnce\Setup,%CPK_DEL_DLL32%,,"deltree /y %11%\cards32.dll"
  169.  
  170. [Strings]
  171. SYSDIR         = "system"
  172. CPKPROG        = "PROGRA~1\Cardpack"
  173. CPKBRIS        = "Briscola"
  174. CPKWT          = "WebTest"
  175. CPKWG          = "WebGame"
  176. CPKDLL         = "Cardsdll"
  177. CPK_Desc       = "Cardpack Control"       ; shortcut name
  178. CPK_ShortDesc  = "Cardpack"               ; details view
  179. UCPK           = "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cardpack"
  180. CPKSCV         = "Software\Microsoft\Windows\CurrentVersion"
  181. CPK_REG_OCX32  = "Registering Cardpack Control"
  182. CPK_UNREG_OCX32= "Unregistering Cardpack Controls"
  183. CPK_READ_ME    = "Showing Documentation"
  184. CPK_DEL_OCA32  = "Removing Cardpack Control and accessory files"
  185. CPK_DEL_DLL32  = "Removing Sample Card Library"
  186. CPK_DEL_DIRS   = "Removing leftover directories"
  187.  
  188.