home *** CD-ROM | disk | FTP | other *** search
- ; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- ; 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
- ;
- ; Revision History:
- ;
- ; [00] 10/21/96 chadr
- ; Created.
- ; [01] 10/23/96 chadr
- ; moved control help to LDID 18 (windows help)
- ; moved remainder of files to vb5cce product directory as a default
- ; ** this will keep cuervo installs from trashing vb5's help keys
- ; add step to reregister comdlg32.ocx and comctl32.ocx to pick up new
- ; help file location
- ; [02] 10/24/96 chadr
- ; whacked up for good measure, added uninstall, etc.
- ; [03] 10/24/96 chadr
- ; added pss.hlp and pss.cnt for, you guessed it, pss.
- ; [04] 10/25/96 chadr
- ; removed uninstall for beta 1, contention with shared file foo...
- ;
- ; Last revision date: Friday 10/25/96 10:10:51
- ; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
-
- [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.cnt = 1
- veendf3.hlp = 1
- pss.hlp = 1
- pss.cnt = 1
- hlp95en.dll = 1 ; needs localized version
-
- ; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- ; ----- 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.cnt
- veendf3.hlp
- pss.hlp
- pss.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
- ; pss.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]
- ; default subdirectories
- strDefault.DestCCEDir = "VB5CCE"
- strDefault.ProgramFiles = "Program Files"
-
- ; registry key and value names
- strRegKey.AppUninstall = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\VB5CCE"
- strRegKey.App = "SOFTWARE\Microsoft\VB5CCE"
- strRegVal.InstallDir = "InstallDir"
-
- ; 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."
-