home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 August
/
Chip_1999-08_cd.bin
/
msdn
/
VBASIC
/
downloads
/
cce
/
CCEDOC02.EXE
/
RCDATA
/
CABINET
/
ccedoc02.inf
< prev
next >
Wrap
INI File
|
1997-03-25
|
8KB
|
318 lines
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ccedoc02.inf
;
; Copyright (C) Microsoft Corporation 1996. All Rights Reserved.
; Information Contained Herein Is Proprietary and Confidential.
;
; Purpose:
; setup for Visual Basic 5.0 Control Creation Edition Docs, package 1
;
; Revision History:
; [00] 10/21/96 chadr
; Created.
; [01] 10/21/96 chadr
; Added renaming for LFN
; [02] 10/21/96 chadr
; Added base CCE directory to match CCE's setup
; [03] 10/23/96 chadr
; Changed default directory string to c:\program files\vb5cce
; [04] 10/23/96 chadr
; Whacked more string data into the string section, cleaned up stuff,
; added LFN LDID support.
;
; Last revision date: Thursday 10/24/96 14:52:06
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
[Version]
Signature = "$chicago$"
AdvancedINF = 2.0,%strError.AdvPackVersion%
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ----- main installation config
[DefaultInstall]
; determine where the files are to be installed
CustomDestination = Location.ccedoc
; the sections of files to copy
CopyFiles = CopyFiles.ccedoc
; things to add to registry (rename files keys, etc.)
AddReg = RenameFiles.ccedoc
; don't reboot at end
SmartReboot = N
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ----- source disk information (not required?)
[SourceDisksNames]
; required to identify the installation source files
1 = %strPrompt.SourceDisk%,,0
[SourceDisksFiles]
; required to identify the installation source files
cce02001.doc = 1
cce02002.doc = 1
cce02003.doc = 1
cce02004.doc = 1
cce02005.doc = 1
cce02006.doc = 1
cce02007.doc = 1
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ----- destinations for CopyFiles sections
[DestinationDirs]
; the destination is the .DestSubDir of the LDID value 49000,
; which is set to whatever the user enters in the dialog
; (see [Location.ccedoc] section below, where 49000 is defined)
CopyFiles.ccedoc = 49000,%strDefault.DestSubDir%
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ----- copyfile sections
[CopyFiles.ccedoc]
; the list of files to copy
cce02001.doc
cce02002.doc
cce02003.doc
cce02004.doc
cce02005.doc
cce02006.doc
cce02007.doc
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ----- registry stuff
; this is no longer called for doc installations...
[RegisterDestination.ccedoc]
; persist the destination directory for subsequent setups (note that we
; write 49001, the LFN version of the LDID)
HKLM,%strRegKey.App%,%strRegVal.InstallDir%,0,%49001%
[RenameFiles.ccedoc]
; rename all the files from the packed 8.3 names to their original LFN forms
; there is a post-setup pass made at this registry key which does the renaming
HKLM,%strRegKey.RenameFiles%\CCEDoc,,,"%49000%\%strDefault.DestSubDir%"
HKLM,%strRegKey.RenameFiles%\CCEDoc,CCE02001.DOC,,%strFileName.CCE02001%
HKLM,%strRegKey.RenameFiles%\CCEDoc,CCE02002.DOC,,%strFileName.CCE02002%
HKLM,%strRegKey.RenameFiles%\CCEDoc,CCE02003.DOC,,%strFileName.CCE02003%
HKLM,%strRegKey.RenameFiles%\CCEDoc,CCE02004.DOC,,%strFileName.CCE02004%
HKLM,%strRegKey.RenameFiles%\CCEDoc,CCE02005.DOC,,%strFileName.CCE02005%
HKLM,%strRegKey.RenameFiles%\CCEDoc,CCE02006.DOC,,%strFileName.CCE02006%
HKLM,%strRegKey.RenameFiles%\CCEDoc,CCE02007.DOC,,%strFileName.CCE02007%
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ----- prompt for the destination directory for the doc files
[Location.ccedoc]
; this is an LDID setup, indicating that 49000 should be set to the result
; of the [Destination.ccedoc] evaluation, and flag=1 means prompt user.
; 49001 is the LFN version
49000,49001 = Destination.ccedoc,1
[Destination.ccedoc]
; we use the value of the destination persistence key as the default,
; show a prompt, and if the key is empty show a default. note that
; 24 is the LDID for the root directory of the windows drive
"HKLM","%strRegKey.App%","%strRegVal.InstallDir%",%strPrompt.InstallDest%,"%24%Program Files\%strDefault.DestCCEDir%"
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ----- replaceable strings
[Strings]
; Strings for CCEDOCxx.INF
; default subdirectories
strDefault.DestCCEDir = "VB5CCE"
strDefault.DestSubDir = "DOCS"
strDefault.ProgramFiles = "Program Files"
; prompts
strPrompt.InstallDest = "Where would you like the Visual Basic 5.0 Control Creation Edition documents directory (\DOCS) installed?"
strPrompt.SourceDisk="Visual Basic 5.0 CCE Documentation"
; errors
strError.AdvPackVersion = "This process requires a newer version of advpack.dll than is available."
; Final installation filenames
; Piece #1
strFileName.CCE01001 = "Developing an Application in Visual Basic.doc"
strFileName.CCE01002 = "Forms Controls and Menus.doc"
strFileName.CCE01003 = "Introduction.doc"
strFileName.CCE01004 = "Managing Projects.doc"
strFileName.CCE01005 = "Programming Fundamentals.doc"
; Piece #2
strFileName.CCE02001 = "ActiveX Component Standards and Guidelines.doc"
strFileName.CCE02002 = "Building ActiveX Controls.doc"
strFileName.CCE02003 = "Building Code Components.doc"
strFileName.CCE02004 = "Creating an ActiveX Control.doc"
strFileName.CCE02005 = "Creating Property Pages for ActiveX Controls.doc"
strFileName.CCE02006 = "Debugging Testing and Deploying Components.doc"
strFileName.CCE02007 = "General Principles of Component Design.doc"
; Piece #3
strFileName.CCE03001 = "Accessing DLLs and the Windows API.doc"
strFileName.CCE03002 = "Debugging Your Code and Handling Errors.doc"
strFileName.CCE03003 = "Distributing Your Applications.doc"
strFileName.CCE03004 = "More About Programming.doc"
strFileName.CCE03005 = "Programming with Objects.doc"
; Piece #4
strFileName.CCE04001 = "Deploying Controls on the Web.doc"
; Piece #5
strFileName.CCE05001 = "International Issues.doc"
strFileName.CCE05002 = "Responding to Mouse and Keyboard Events.doc"
strFileName.CCE05003 = "Using Visual Basic Standard Controls.doc"
strFileName.CCE05004 = "Working with Text and Graphics.doc"
; Piece #6
strFileName.CCE06001 = "ActiveX Controls Overview.doc"
strFileName.CCE06002 = "Using the ActiveX Controls - 1.doc"
strFileName.CCE06003 = "Using the ActiveX Controls - 2.doc"
; registry key and value names
strRegKey.RenameFiles = "SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles"
strRegKey.App = "SOFTWARE\Microsoft\VB5CCE"
strRegVal.InstallDir = "InstallDir"