home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / demos / VB_CCE / CCEHELP.EXE / ccehelp.inf < prev    next >
Encoding:
Windows Setup INFormation  |  1996-10-25  |  7.6 KB  |  223 lines

  1. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  2. ; ccehelp.inf
  3. ;
  4. ;  Copyright (C) Microsoft Corporation 1996.  All Rights Reserved.
  5. ;  Information Contained Herein Is Proprietary and Confidential.
  6. ;
  7. ; Purpose:
  8. ;  setup for Visual Basic 5.0 Control Creation Edition Help Files
  9. ;
  10. ; Revision History:
  11. ;
  12. ;  [00]  10/21/96 chadr
  13. ;     Created.
  14. ;  [01]  10/23/96 chadr
  15. ;     moved control help to LDID 18 (windows help)
  16. ;     moved remainder of files to vb5cce product directory as a default
  17. ;     ** this will keep cuervo installs from trashing vb5's help keys
  18. ;     add step to reregister comdlg32.ocx and comctl32.ocx to pick up new
  19. ;        help file location
  20. ;  [02]  10/24/96 chadr
  21. ;     whacked up for good measure, added uninstall, etc.
  22. ;  [03]  10/24/96 chadr
  23. ;     added pss.hlp and pss.cnt for, you guessed it, pss.
  24. ;  [04]  10/25/96 chadr
  25. ;     removed uninstall for beta 1, contention with shared file foo...
  26. ;
  27. ; Last revision date:  Friday 10/25/96 10:10:51
  28. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  29.  
  30. [version]
  31.    signature            =  "$chicago$"
  32.    AdvancedINF          =  2.0,%strError.AdvPackVersion%
  33.  
  34. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  35. ;  ----- main installation config
  36.  
  37. [DefaultInstall]
  38.    ; determine where the files are to be installed
  39.    CustomDestination    =  Location.ccehelp
  40.    ; the sections of files to copy
  41.    CopyFiles            =  CopyFiles.inf,CopyFiles.ccehelp,CopyFiles.sys,CopyFiles.winhelp
  42.    ; things to add to registry
  43.    AddReg               =  RegisterDestination.ccehelp
  44.    ; self-registration for OCXs (to patch up help files)
  45.    RegisterOCXs         =  SelfRegister.comctls
  46.    ; don't reboot at end
  47.    SmartReboot          =  N
  48.  
  49. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  50.  
  51. ;[Uninstall]
  52. ;   CustomDestination    =  Unlocation.ccehelp
  53. ;   DelFiles             =  CopyFiles.inf,CopyFiles.ccehelp,DeleteGIDs.ccehelp
  54. ;   DelReg               =  UnregisterDestination.ccehelp
  55. ;   BeginPrompt          =  BeginPromptSection
  56. ;   EndPrompt            =  EndPromptSection
  57.  
  58. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  59.  
  60. ;[BeginPromptSection]
  61. ;   Prompt               =  %strPrompt.Begin%
  62. ;   ButtonType           =  YESNO
  63. ;   Title                =  %strPrompt.SourceDisk%
  64. ;
  65. ;[EndPromptSection]
  66. ;   Prompt               =  %strPrompt.End%
  67.  
  68. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  69.  
  70. [SourceDisksNames]
  71.    ; required to identify the installation source files
  72.    1                    =  %strPrompt.SourceDisk%,"",0
  73.  
  74. [SourceDisksFiles]
  75.    ; required to identify the installation source files
  76.    cmdlg96.cnt          =  1
  77.    cmdlg96.hlp          =  1
  78.    comctl1.cnt          =  1
  79.    comctl1.hlp          =  1
  80.    ctlcrwzd.cnt         =  1
  81.    ctlcrwzd.hlp         =  1
  82.    proppgwz.cnt         =  1
  83.    proppgwz.hlp         =  1
  84.    setupwiz.cnt         =  1
  85.    setupwiz.hlp         =  1
  86.    vb5.cnt              =  1
  87.    vb5.hlp              =  1
  88.    vb5def.hlp           =  1
  89.    vbenlr3.cnt          =  1
  90.    vbenlr3.hlp          =  1
  91.    veendf3.cnt          =  1
  92.    veendf3.hlp          =  1
  93.    pss.hlp              =  1
  94.    pss.cnt              =  1
  95.    hlp95en.dll          =  1       ; needs localized version
  96.  
  97. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  98. ;  ----- destinations for CopyFiles sections...
  99.  
  100. [DestinationDirs]
  101.    ; the destination is LDID value 49000, which is set to whatever the
  102.    ; user enters in the dialog (see [Location.ccehelp] section below,
  103.    ; where 49000 is defined).  this is the cuervo product directory
  104.    CopyFiles.ccehelp    =  49000
  105.    ; location of the GID files to delete (same as above...)
  106. ;   DeleteGIDs.ccehelp   =  49000
  107.    ; location for the Windows/System[32] directory
  108.    CopyFiles.sys        =  11
  109.    ; location for the Windows/Help directory
  110.    CopyFiles.winhelp    =  18
  111.    ; location for the Windows/INF directory
  112.    CopyFiles.inf        =  17
  113.  
  114. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  115. ;  ----- copyfile sections
  116.  
  117. [CopyFiles.ccehelp]
  118.    ; files for the cuervo directory
  119.    ctlcrwzd.cnt
  120.    ctlcrwzd.hlp
  121.    proppgwz.cnt
  122.    proppgwz.hlp
  123.    setupwiz.cnt
  124.    setupwiz.hlp
  125.    vb5.cnt
  126.    vb5.hlp
  127.    vb5def.hlp
  128.    vbenlr3.cnt
  129.    vbenlr3.hlp
  130.    veendf3.cnt
  131.    veendf3.hlp
  132.    pss.hlp
  133.    pss.cnt
  134.  
  135. [CopyFiles.sys]
  136.    ; a winhelp helper dll, needed for NT4
  137.    hlp95en.dll,,,32
  138.  
  139. [CopyFiles.winhelp]
  140.    ; control help files, need special treatment
  141.    cmdlg96.cnt,,,16
  142.    cmdlg96.hlp,,,16
  143.    comctl1.cnt,,,16
  144.    comctl1.hlp,,,16
  145.  
  146. [CopyFiles.inf]
  147.    ; save the INF for uninstall
  148.    ccehelp.inf
  149.  
  150. ;[DeleteGIDs.ccehelp]
  151. ;   ctlcrwzd.gid
  152. ;   proppgwz.gid
  153. ;   setupwiz.gid
  154. ;   vb5.gid
  155. ;   vb5def.gid
  156. ;   vbenlr3.gid
  157. ;   veendf3.gid
  158. ;   pss.gid
  159.  
  160. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  161. ;  ----- registration list for common controls (used to pick up new help files)
  162.  
  163. [SelfRegister.comctls]
  164.    %11%\comctl32.ocx
  165.    %11%\comdlg32.ocx
  166.  
  167. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  168. ;  ----- registry stuff
  169.  
  170. [RegisterDestination.ccehelp]
  171.    ; persist the destination directory for subsequent setups (note that we
  172.    ; write 49001, the LFN version of the LDID)
  173. ;   HKLM,%strRegKey.App%,%strRegVal.InstallDir%,0,%49001%
  174. ;   HKLM,%strRegKey.AppUninstall%,"DisplayName",,"%strPrompt.SourceDisk%"
  175. ;   HKLM,%strRegKey.AppUninstall%,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\ccehelp.inf, Uninstall"
  176.  
  177. ;[UnregisterDestination.ccehelp]
  178. ;   HKLM,%strRegKey.App%
  179. ;   HKLM,%strRegKey.AppUninstall%
  180.  
  181. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  182. ;  ----- prompt for the destination directory for the doc files
  183.  
  184. [Location.ccehelp]
  185.    ; this is an LDID setup, indicating that 49000 should be set to the result
  186.    ; of the [Destination.ccehelp] evaluation, and flag=1 means prompt user.
  187.    ; 49001 is the LFN version
  188.    49000,49001             =  Destination.ccehelp,1
  189.  
  190. [Destination.ccehelp]
  191.    ; we use the value of the destination persistence key as the default,
  192.    ; show a prompt, and if the key is empty show a default.  note that
  193.    ; 24 is the LDID for the root directory of the windows drive
  194.    "HKLM","%strRegKey.App%","%strRegVal.InstallDir%",%strPrompt.InstallDest%,"%24%Program Files\%strDefault.DestCCEDir%"
  195.  
  196. ;[Unlocation.ccehelp]
  197. ;   49000,49001             =  Undestination.ccehelp,5
  198.  
  199. ;[Undestination.ccehelp]
  200. ;   'HKLM',"%strRegKey.App%","%strRegVal.InstallDir%",'',''
  201.  
  202. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  203. ;  ----- replaceable strings
  204.  
  205. [Strings]
  206.    ; default subdirectories
  207.    strDefault.DestCCEDir   =  "VB5CCE"
  208.    strDefault.ProgramFiles =  "Program Files"
  209.  
  210.    ; registry key and value names
  211.    strRegKey.AppUninstall  =  "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\VB5CCE"
  212.    strRegKey.App           =  "SOFTWARE\Microsoft\VB5CCE"
  213.    strRegVal.InstallDir    =  "InstallDir"
  214.  
  215.    ; prompts
  216.    strPrompt.InstallDest   =  "Where would you like the Visual Basic 5.0 Control Creation Edition Help installed?"
  217.    strPrompt.SourceDisk    =  "Visual Basic 5.0 CCE Help Files"
  218.    strPrompt.Begin         =  "Are you sure you want to remove Visual Basic 5.0 CCE Help Files?"
  219.    strPrompt.End           =  "Visual Basic 5.0 CCE Help Files successfully removed."
  220.  
  221.    ; errors
  222.    strError.AdvPackVersion =  "This process requires a newer version of advpack.dll than is available."
  223.