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 >
Wrap
Windows Setup INFormation
|
1997-03-25
|
7KB
|
260 lines
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ccehelp.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 Help Files
;
[version]
signature = "$chicago$"
AdvancedINF = 2.0,%strError.AdvPackVersion%
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ----- main installation config
[DefaultInstall]
; determine where the files are to be installed
CustomDestination = Location.ccehelp
; the sections of files to copy
CopyFiles = CopyFiles.inf,CopyFiles.ccehelp,CopyFiles.sys,CopyFiles.winhelp
; things to add to registry
AddReg = RegisterDestination.ccehelp
; self-registration for OCXs (to patch up help files)
RegisterOCXs = SelfRegister.comctls
; don't reboot at end
SmartReboot = N
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
;[Uninstall]
; CustomDestination = Unlocation.ccehelp
; DelFiles = CopyFiles.inf,CopyFiles.ccehelp,DeleteGIDs.ccehelp
; DelReg = UnregisterDestination.ccehelp
; BeginPrompt = BeginPromptSection
; EndPrompt = EndPromptSection
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
;[BeginPromptSection]
; Prompt = %strPrompt.Begin%
; ButtonType = YESNO
; Title = %strPrompt.SourceDisk%
;
;[EndPromptSection]
; Prompt = %strPrompt.End%
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
[SourceDisksNames]
; required to identify the installation source files
1 = %strPrompt.SourceDisk%,"",0
[SourceDisksFiles]
; required to identify the installation source files
cmdlg96.cnt = 1
cmdlg96.hlp = 1
comctl1.cnt = 1
comctl1.hlp = 1
ctlcrwzd.cnt = 1
ctlcrwzd.hlp = 1
proppgwz.cnt = 1
proppgwz.hlp = 1
setupwiz.cnt = 1
setupwiz.hlp = 1
vb5.cnt = 1
vb5.hlp = 1
vb5def.hlp = 1
vbenlr3.cnt = 1
vbenlr3.hlp = 1
veENdf3.hlp = 1
vb5pss.hlp = 1
vb5pss.cnt = 1
hlp95en.dll = 1 ; needs localized version
vbcmn96.hlp = 1
vbcmn96.cnt = 1
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ----- destinations for CopyFiles sections...
[DestinationDirs]
; the destination is LDID value 49000, which is set to whatever the
; user enters in the dialog (see [Location.ccehelp] section below,
; where 49000 is defined). this is the cuervo product directory
CopyFiles.ccehelp = 49000
; location of the GID files to delete (same as above...)
; DeleteGIDs.ccehelp = 49000
; location for the Windows/System[32] directory
CopyFiles.sys = 11
; location for the Windows/Help directory
CopyFiles.winhelp = 18
; location for the Windows/INF directory
CopyFiles.inf = 17
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ----- copyfile sections
[CopyFiles.ccehelp]
; files for the cuervo directory
ctlcrwzd.cnt
ctlcrwzd.hlp
proppgwz.cnt
proppgwz.hlp
setupwiz.cnt
setupwiz.hlp
vb5.cnt
vb5.hlp
vb5def.hlp
vbenlr3.cnt
vbenlr3.hlp
veENdf3.hlp
vb5pss.hlp
vb5pss.cnt
vbcmn96.hlp
vbcmn96.cnt
[CopyFiles.sys]
; a winhelp helper dll, needed for NT4
hlp95en.dll,,,32
[CopyFiles.winhelp]
; control help files, need special treatment
cmdlg96.cnt,,,16
cmdlg96.hlp,,,16
comctl1.cnt,,,16
comctl1.hlp,,,16
[CopyFiles.inf]
; save the INF for uninstall
ccehelp.inf
;[DeleteGIDs.ccehelp]
; ctlcrwzd.gid
; proppgwz.gid
; setupwiz.gid
; vb5.gid
; vb5def.gid
; vbenlr3.gid
; veENdf3.gid
; vb5pss.gid
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ----- registration list for common controls (used to pick up new help files)
[SelfRegister.comctls]
%11%\comctl32.ocx
%11%\comdlg32.ocx
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ----- registry stuff
[RegisterDestination.ccehelp]
; 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%
; HKLM,%strRegKey.AppUninstall%,"DisplayName",,"%strPrompt.SourceDisk%"
; HKLM,%strRegKey.AppUninstall%,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\ccehelp.inf, Uninstall"
;[UnregisterDestination.ccehelp]
; HKLM,%strRegKey.App%
; HKLM,%strRegKey.AppUninstall%
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ----- prompt for the destination directory for the doc files
[Location.ccehelp]
; this is an LDID setup, indicating that 49000 should be set to the result
; of the [Destination.ccehelp] evaluation, and flag=1 means prompt user.
; 49001 is the LFN version
49000,49001 = Destination.ccehelp,1
[Destination.ccehelp]
; 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%"
;[Unlocation.ccehelp]
; 49000,49001 = Undestination.ccehelp,5
;[Undestination.ccehelp]
; 'HKLM',"%strRegKey.App%","%strRegVal.InstallDir%",'',''
; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
; ----- replaceable strings
[Strings]
; Strings for CCEHELP.INF
; default subdirectories
strDefault.ProgramFiles = "Program Files"
; prompts
strPrompt.InstallDest = "Where would you like the Visual Basic 5.0 Control Creation Edition Help installed?"
strPrompt.SourceDisk = "Visual Basic 5.0 CCE Help Files"
strPrompt.Begin = "Are you sure you want to remove Visual Basic 5.0 CCE Help Files?"
strPrompt.End = "Visual Basic 5.0 CCE Help Files successfully removed."
; errors
strError.AdvPackVersion = "This process requires a newer version of advpack.dll than is available."
; default subdirectories
strDefault.DestCCEDir = "VB5CCE"
; registry key and value names
strRegKey.AppUninstall = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\VB5CCE"
strRegKey.App = "SOFTWARE\Microsoft\VB5CCE"
strRegVal.InstallDir = "InstallDir"