home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 August / Chip_1999-08_cd.bin / msdn / VBASIC / downloads / cce / CCEDOC04.EXE / RCDATA / CABINET / ccedoc04.inf < prev    next >
INI File  |  1997-03-25  |  7KB  |  318 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  14. ; ccedoc04.inf
  15. ;
  16. ;  Copyright (C) Microsoft Corporation 1996.  All Rights Reserved.
  17. ;  Information Contained Herein Is Proprietary and Confidential.
  18. ;
  19. ; Purpose:
  20. ;  setup for Visual Basic 5.0 Control Creation Edition Docs, package 1
  21. ;
  22. ; Revision History:
  23. ;  [00]  10/21/96 chadr
  24. ;     Created.
  25. ;  [01]  10/21/96 chadr
  26. ;     Added renaming for LFN
  27. ;  [02]  10/21/96 chadr
  28. ;     Added base CCE directory to match CCE's setup
  29. ;  [03]  10/23/96 chadr
  30. ;     Changed default directory string to c:\program files\vb5cce
  31. ;  [04]  10/23/96 chadr
  32. ;     Whacked more string data into the string section, cleaned up stuff,
  33. ;     added LFN LDID support.
  34. ;
  35. ; Last revision date:  Thursday 10/24/96 14:52:06
  36. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  37.  
  38.  
  39. [Version]
  40.    Signature               =  "$chicago$"
  41.    AdvancedINF             =  2.0,%strError.AdvPackVersion%
  42.  
  43. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  44. ;  ----- main installation config
  45.  
  46. [DefaultInstall]
  47.    ; determine where the files are to be installed
  48.    CustomDestination       =  Location.ccedoc
  49.    ; the sections of files to copy
  50.    CopyFiles               =  CopyFiles.ccedoc
  51.    ; things to add to registry (rename files keys, etc.)
  52.    AddReg                  =  RenameFiles.ccedoc
  53.    ; don't reboot at end
  54.    SmartReboot             =  N
  55.  
  56. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  57. ;  ----- source disk information (not required?)
  58.  
  59. [SourceDisksNames]
  60.    ; required to identify the installation source files
  61.    1                       =  %strPrompt.SourceDisk%,,0
  62.  
  63. [SourceDisksFiles]
  64.    ; required to identify the installation source files
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.    cce04001.doc            =  1
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  114. ;  ----- destinations for CopyFiles sections
  115.  
  116. [DestinationDirs]
  117.    ; the destination is the .DestSubDir of the LDID value 49000,
  118.    ; which is set to whatever the user enters in the dialog
  119.    ; (see [Location.ccedoc] section below, where 49000 is defined)
  120.    CopyFiles.ccedoc        =  49000,%strDefault.DestSubDir%
  121.  
  122. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  123. ;  ----- copyfile sections
  124.  
  125. [CopyFiles.ccedoc]
  126.    ; the list of files to copy
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.    cce04001.doc
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  176. ;  ----- registry stuff
  177.  
  178. ; this is no longer called for doc installations...
  179. [RegisterDestination.ccedoc]
  180.    ; persist the destination directory for subsequent setups (note that we
  181.    ; write 49001, the LFN version of the LDID)
  182.    HKLM,%strRegKey.App%,%strRegVal.InstallDir%,0,%49001%
  183.  
  184. [RenameFiles.ccedoc]
  185.    ; rename all the files from the packed 8.3 names to their original LFN forms
  186.    ; there is a post-setup pass made at this registry key which does the renaming
  187.    HKLM,%strRegKey.RenameFiles%\CCEDoc,,,"%49000%\%strDefault.DestSubDir%"
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.    HKLM,%strRegKey.RenameFiles%\CCEDoc,CCE04001.DOC,,%strFileName.CCE04001%
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  238. ;  ----- prompt for the destination directory for the doc files
  239.  
  240. [Location.ccedoc]
  241.    ; this is an LDID setup, indicating that 49000 should be set to the result
  242.    ; of the [Destination.ccedoc] evaluation, and flag=1 means prompt user.
  243.    ; 49001 is the LFN version
  244.    49000,49001             =  Destination.ccedoc,1
  245.  
  246. [Destination.ccedoc]
  247.    ; we use the value of the destination persistence key as the default,
  248.    ; show a prompt, and if the key is empty show a default.  note that
  249.    ; 24 is the LDID for the root directory of the windows drive
  250.    "HKLM","%strRegKey.App%","%strRegVal.InstallDir%",%strPrompt.InstallDest%,"%24%Program Files\%strDefault.DestCCEDir%"
  251.    
  252.  
  253. ;  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
  254. ;  ----- replaceable strings
  255.  
  256.  
  257.  
  258. [Strings]
  259. ; Strings for CCEDOCxx.INF
  260.  
  261. ; default subdirectories
  262. strDefault.DestCCEDir   =  "VB5CCE"
  263. strDefault.DestSubDir   =  "DOCS"
  264. strDefault.ProgramFiles =  "Program Files"
  265.  
  266. ; prompts
  267. strPrompt.InstallDest   =  "Where would you like the Visual Basic 5.0 Control Creation Edition documents directory (\DOCS) installed?"
  268.  
  269. strPrompt.SourceDisk="Visual Basic 5.0 CCE Documentation"
  270.  
  271. ; errors
  272. strError.AdvPackVersion =  "This process requires a newer version of advpack.dll than is available."
  273.  
  274. ; Final installation filenames
  275.  
  276. ; Piece #1
  277. strFileName.CCE01001    =  "Developing an Application in Visual Basic.doc"
  278. strFileName.CCE01002    =  "Forms Controls and Menus.doc"
  279. strFileName.CCE01003    =  "Introduction.doc"
  280. strFileName.CCE01004    =  "Managing Projects.doc"
  281. strFileName.CCE01005    =  "Programming Fundamentals.doc"
  282.  
  283. ; Piece #2
  284. strFileName.CCE02001    =  "ActiveX Component Standards and Guidelines.doc"
  285. strFileName.CCE02002    =  "Building ActiveX Controls.doc"
  286. strFileName.CCE02003    =  "Building Code Components.doc"
  287. strFileName.CCE02004    =  "Creating an ActiveX Control.doc"
  288. strFileName.CCE02005    =  "Creating Property Pages for ActiveX Controls.doc"
  289. strFileName.CCE02006    =  "Debugging Testing and Deploying Components.doc"
  290. strFileName.CCE02007    =  "General Principles of Component Design.doc"
  291.  
  292. ; Piece #3
  293. strFileName.CCE03001    =  "Accessing DLLs and the Windows API.doc"
  294. strFileName.CCE03002    =  "Debugging Your Code and Handling Errors.doc"
  295. strFileName.CCE03003    =  "Distributing Your Applications.doc"
  296. strFileName.CCE03004    =  "More About Programming.doc"
  297. strFileName.CCE03005    =  "Programming with Objects.doc"
  298.  
  299. ; Piece #4
  300. strFileName.CCE04001    =  "Deploying Controls on the Web.doc"
  301.  
  302. ; Piece #5
  303. strFileName.CCE05001    =  "International Issues.doc"
  304. strFileName.CCE05002    =  "Responding to Mouse and Keyboard Events.doc"
  305. strFileName.CCE05003    =  "Using Visual Basic Standard Controls.doc"
  306. strFileName.CCE05004    =  "Working with Text and Graphics.doc"
  307.  
  308. ; Piece #6
  309. strFileName.CCE06001    =  "ActiveX Controls Overview.doc"
  310. strFileName.CCE06002    =  "Using the ActiveX Controls - 1.doc"
  311. strFileName.CCE06003    =  "Using the ActiveX Controls - 2.doc"
  312.  
  313.  
  314.    ; registry key and value names
  315.    strRegKey.RenameFiles   =  "SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles"
  316.    strRegKey.App           =  "SOFTWARE\Microsoft\VB5CCE"
  317.    strRegVal.InstallDir    =  "InstallDir"
  318.