home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 August / Chip_1999-08_cd.bin / msdn / VBASIC / downloads / cce / CCEHELP.EXE / RCDATA / CABINET / ccehelp.inf < prev    next >
Windows Setup INFormation  |  1997-03-25  |  7KB  |  260 lines

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