home *** CD-ROM | disk | FTP | other *** search
INI File | 1997-02-28 | 10.5 KB | 450 lines |
-
-
-
-
-
-
-
-
-
-
- ; VB 5.0 Control Creation Edition Setup
-
-
-
-
-
-
-
-
-
-
- [Version]
- AdvancedInf=2.5, "You need a newer version of AdvPack.Dll to run Setup"
- Signature="$CHICAGO$"
-
- [DefaultInstall]
- DelFiles=DelOldVB5CCE.EXE
- CopyFiles=AppFiles,OfficeFiles,InfDirFiles,SysDirFiles,FontDirFiles,TemplateProjects,TemplateCtlGroup,Wizards,Samples,SampleAXButton,SampleAXLstPik,SampleAXMarquis,SetupkitSetup1,SetupkitKitfil32,SetupkitKitfil32Sys32
- CustomDestination = InstallCustomDestination
- AddReg = AddRegSection, RegLicenseKeys, RenameFiles
- RegisterOCXs = SelfRegisterSection
- UpdateInis = InstallProgramGroup,MergeVBADDIN.INI
-
- [Uninstall]
- ;Don't remove font, only remove some files from the sys directory
- CustomDestination = UninstallDestination
- DelFiles=AppFiles,InfDirFiles,DelSysDirFiles,TemplateProjects,TemplateCtlGroup,Samples,SampleAXButton,SampleAXLstPik,SampleAXMarquis,SetupkitSetup1,SetupkitKitfil32,SetupkitKitfil32Sys32
-
-
-
- DelReg = DelRegSection
- UpdateInis = UninstallProgramGroup
-
- BeginPrompt = BeginPromptSection
- EndPrompt = EndPromptSection
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [BeginPromptSection]
- Prompt="%BeginPrompt%"
- ButtonType=YESNO
- Title=%AppName%
-
- [EndPromptSection]
- Prompt="%EndPrompt%"
-
- [DestinationDirs]
- ; Here we always use the LDID OEM SFN for custom LDID's so we work on Win95
- AppFiles=49000 ; Custom directory chosen by user
- OfficeFiles=49300 ; progra~1\common~1\microsof~1\vba
- InfDirFiles=17 ; 17 - \Windows\INF directory
- SysDirFiles=11 ; 11 - Copies to the system directory
- DelSysDirFiles=11
- FontDirFiles=20 ; 20 - Copies to \Windows\Fonts directory
- WinDirFiles=25 ; 25 - Copies to \Windows directory
- TemplateProjects=49000,Template\Projects
- TemplateCtlGroup=49000,Template\CtlGroup
- Wizards=49000,Wizards
- Samples=49000,Samples
- SampleAXButton=49000,Samples\AXButton
- SampleAXLstPik=49000,Samples\AxLstPik
- SampleAXMarquis=49000,Samples\AXMrquee
- SetupkitSetup1=49000,SetupKit\Setup1
- SetupkitKitfil32=49000,SetupKit\KitFil32
- SetupkitKitfil32Sys32=49000,SetupKit\KitFil32\Sys32
- DelOldVB5CCE.EXE=49000
-
- [InfDirFiles]
- vb5cce.inf
-
- [SysDirFiles] ;Copy the following files to the system directory.
-
- regsvr32.exe,,,32 ;General files
- riched20.dll,,,32 ;Office files
- asycfilt.dll,,,32 ;OLE files
- comcat.dll,,,32
- oleaut32.dll,,,32
- stdole2.tlb,,,32
- msvcrt40.dll,,,32
- msvbvm50.dll,,,32 ;VB Runtime
- comdlg32.ocx,,,32 ;For Wizards
- comctl32.ocx,,,32 ;For Wizards
-
-
-
-
-
-
-
- msstkprp.dll,,,32 ;For Controls
-
-
-
-
-
-
-
-
-
-
- commtb32.dll,,,32 ;Office file
- vb5db.dll,,,32
- scp32.dll,,,32
- tlbinf32.dll,,,32
-
- hlp95en.dll,,,32
-
-
-
- ;For Uninstall we only remove these files from the system directory
- [DelSysDirFiles]
-
-
-
-
-
-
-
- [AppFiles]
- vb5cce.exe ;VB IDE files
-
-
-
-
- vb5idecc.dll
- vb5.olb
- vba5.dll ;VBA IDE files
- link.exe ;PCode generation files
- mspdb41.dll
- ccreadme.hlp
- ccreadme.cnt
- license.txt
- redist.txt
-
-
-
-
-
-
-
- [DelOldVB5CCE.EXE]
- vb5cce.exe
-
- [OfficeFiles]
- mso97rt.dll,,,32 ;Office files
- Mrt7ENU.dll,,,32
-
- [FontDirFiles]
- tahoma.ttf,,,16 ;Not versioned so don't copy if exists
-
-
-
-
-
-
-
- [TemplateProjects]
- CtlGroup.vbg
-
- [TemplateCtlGroup]
- Form1.frm
- Project1.vbp
- Project2.vbp
- UserCtl1.ctl
- UserCtl1.ctx
-
- [Wizards]
- ctrlwiz.dll
- proppgwz.dll
-
- [Samples]
-
- [SampleAXButton]
- AXButton.ctl
- AXButton.ctx
- AXButton.vbp
-
- [SampleAXLstPik]
- AXLstPik.ctl
- AxLstPik.ctx
- AXLstPik.pag
- AXLstPik.pgx
- AXLstPik.vbp
- Test.frm
- TestGrp.vbg
- Test.vbp
-
- [SampleAXMarquis]
- AXMrquee.vbg
- AXMrquee.vbp
- BKGNDCOL.BMP
- caps.bmp
- frmTest.frm
- frmTest.frx
- Global.bas
- MarqTest.vbp
- Marquee.ctl
- Marquee.ctx
- OCXICON.BMP
- proppg.pag
- AXMrquee.htm
-
- [SetupkitSetup1]
- setup1.exe
-
- [SetupkitKitfil32]
- setup.exe
- setupwiz.exe
- st5unst.exe
- vb5stkit.dll
- vbskco32.dll
- MakeCab.exe
- vb5dep.ini
-
-
- [SetupkitKitfil32Sys32]
- asycfilt.dll
- ctl3d32.dll,ctl3dNT.dll
- oleaut32.dll
- olepro32.dll
-
- stdole2.tlb
- msvcrt40.dll
-
-
-
-
- ;End of File copy/delete sections
-
- ;Create links in the StartMenu/Programs folder
- [InstallProgramGroup]
- setup.ini, progman.groups,, "vbfolder="""%ShortAppName%""""
- setup.ini, vbfolder,, """%ShortAppName%"", """"""%49000%\vb5cce.exe"""""",,,,%49000%"
- setup.ini, vbfolder,, """%SetupWizardShortcut%"",""""""%49000%\SetupKit\Kitfil32\setupwiz.exe"""""",,,,%49000%"
- setup.ini, vbfolder,, """%ReadMeShortcut%"", """"""%49000%\ccreadme.hlp"""""",,,,%49000%"
-
- [UninstallProgramGroup]
- setup.ini, progman.groups,, "vbfolder="""%ShortAppName%""""
- setup.ini, vbfolder,, """%ShortAppName%"""
- setup.ini, vbfolder,, """%SetupWizardShortcut%"""
- setup.ini, vbfolder,, """%ReadMeShortcut%"""
-
- [SelfRegisterSection]
- %11%\comcat.dll
- %11%\oleaut32.dll
- %11%\msvbvm50.dll
- %11%\comdlg32.ocx
- %11%\comctl32.ocx
- %11%\msstkprp.dll
- %11%\tlbinf32.dll
- %49000%\Wizards\ctrlwiz.dll
- %49000%\Wizards\proppgwz.dll
-
-
-
-
-
-
-
-
- ; add license keys for ole controls
- [RegLicenseKeys]
-
-
-
-
-
-
-
-
-
-
- HKCR,"Licenses",,,"Licensing: Copying the keys may be a violation of established copyrights."
-
-
- HKCR,"Licenses\4D553650-6ABE-11cf-8ADB-00AA00C00905",,2,"gfjmrfkfifkmkfffrlmmgmhmnlulkmfmqkqj"
-
- HKCR,"Licenses\57CBF9E0-6AA7-11cf-8ADB-00AA00C00905",,2,"aahakhchghkhfhaamghhbhbhkbpgfhahlfle"
-
- HKCR,"Licenses\06BE90B0-2D30-11d0-9441-00A0C90F26F1",,2,"kjjqnqqqyqjjuqmqwkmqnqmjwkvkojojwowk"
-
- [AddRegSection]
- ; <root-key>,<sub-key>,<value-name>,<flag>,<value>
- ; flags - 0 - ANSI,replace, 1 - HEX,Replace, 2 - ANSI,No Replace, 3 - HEX,No Replace
- ; For registry entries we always use the LFN LDID
- ; Register custom install directory
- HKLM,%AppKey%,InstallDir,0,%49001%
- ;Register Office runtime files
- HKLM,"Software\Microsoft\Shared Tools\MSO97RT","Path",2,"%49301%\MSO97RT.DLL"
- HKLM,"Software\Microsoft\Shared Tools\MSO97RT\Clients","%49001%\vb5cce.exe",0
- HKLM,"Software\Microsoft\Shared Tools\%FILE_MSORT_LOC_NOEXT%","Path",2,"%49301%\%FILE_MSORT_LOC%"
- HKLM,"Software\Microsoft\Shared Tools\%FILE_MSORT_LOC_NOEXT%\Clients","%49001%\vb5cce.exe",0
- ; Register for uninstall
- HKLM,%AppUninstallKey%,"DisplayName",,"%AppName%"
- HKLM,%AppUninstallKey%,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\vb5cce.inf, Uninstall"
- ; App Paths
- HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\VB5CCE.EXE",,,"%49000%\VB5CCE.EXE"
-
-
-
-
- HKCR,"CLSID\{0BE35203-8F91-11CE-9DE3-00AA004BB851}",,2,"Standard Font"
- HKCR,"CLSID\{0BE35203-8F91-11CE-9DE3-00AA004BB851}\InprocServer32",,2,"oleaut32.dll"
- HKCR,"CLSID\{0BE35204-8F91-11CE-9DE3-00AA004BB851}",,2,"Standard Picture"
- HKCR,"CLSID\{0BE35204-8F91-11CE-9DE3-00AA004BB851}\InprocServer32",,2,"oleaut32.dll"
-
- [DelRegSection]
- ; <reg-root>,<subkey>,<value-name>
- ;Remove app key
- HKLM,%AppKey%
- ;Remove Uninstall key
- HKLM,%AppUninstallKey%
- ;Remove ourselves from Office runtime file keys
- HKLM,"Software\Microsoft\Shared Tools\MSO97RT\Clients","%49001%\vb5cce.exe",0
- HKLM,"Software\Microsoft\Shared Tools\%FILE_MSORT_LOC_NOEXT%\Clients","%49001%\vb5cce.exe",0
- ; App Paths
- HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\VB5CCE.EXE",,,"%49000%\VB5CCE.EXE"
-
- HKCR,"Licenses\06BE90B0-2D30-11d0-9441-00A0C90F26F1",,2,"kjjqnqqqyqjjuqmqwkmqnqmjwkvkojojwowk"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- [MergeVBADDIN.INI]
-
- vbaddin.ini,Add-Ins32,, "PropertyPageWizard.Wizard=0"
- vbaddin.ini,Add-Ins32,, "ControlWiz.Wizard=0"
-
-
-
- ; Query user for a custom app install directory. This value is persisted in the registry
- ; in AddRegSection
- [InstallCustomDestination]
- ; <LDID OEM SFN>,<LDID ANSI LFN>=<Section Name>,<Flag>
- ; flag 5 means don't prompt the user
- 49100,49101=ProgramFilesDir,5
- 49200,49201=CommonFilesDir,5
- 49300,49301=MicrosoftSharedVBADir,5
- ; Custom app directory, flag 1 means prompt user
- 49000,49001=AppCustomDestination,1
-
- [ProgramFilesDir]
- HKLM,"Software\Microsoft\Windows\CurrentVersion",'ProgramFilesDir',,"%24%\%DefProgramFilesDir%"
-
- [CommonFilesDir]
- HKLM,"Software\Microsoft\Windows\CurrentVersion",'CommonFilesDir',,"%49101%\%DefCommonFilesDir%"
-
- [MicrosoftSharedVBADir]
- ;The reg key is bogus. This is done simply to compose the custom LDID.
- HKLM,"This\Will\Fail",'CommonFilesDir',,"%49201%\%MSSharedVBA%"
-
- [AppCustomDestination]
- HKLM,"%AppKey%",'InstallDir',%DirectoryPrompt%,"%49101%\%DefaultDir%"
-
- ; Get app directory for uninstall from the registry
- [UninstallDestination]
- ; <LDID OEM SFN>,<LDID ANSI LFN>=<Section Name>,<Flag>
- 49000,49001=UninstallDestination49000,5
-
- [UninstallDestination49000]
- 'HKLM',%AppKey%,'InstallDir','',''
-
- [RenameFiles]
-
- HKLM,%strRegKey.RenameFiles%\VB5CCE1,,,"%49000%\Template\Projects"
- HKLM,%strRegKey.RenameFiles%\VB5CCE1,CtlGroup.vbg,,%FileName.CtlGroup.vbg%
-
- HKLM,%strRegKey.RenameFiles%\VB5CCE2,,,"%49000%\Template\CtlGroup"
- HKLM,%strRegKey.RenameFiles%\VB5CCE2,Form1.frm,,%FileName.Form1.frm%
- HKLM,%strRegKey.RenameFiles%\VB5CCE2,Project1.vbp,,%FileName.Project1.vbp%
- HKLM,%strRegKey.RenameFiles%\VB5CCE2,Project2.vbp,,%FileName.Project2.vbp%
- HKLM,%strRegKey.RenameFiles%\VB5CCE2,UserCtl1.ctl,,%FileName.UserCtl1.ctl%
- HKLM,%strRegKey.RenameFiles%\VB5CCE2,UserCtl1.ctx,,%FileName.UserCtl1.ctx%
-
-
- ; Without this section you get an error on Win95 that it
- ; can't find the files (even though it just unpacked them!)
- [SourceDisksNames]
- 1 = %AppName%,,1
-
-
-
- [Strings]
- AppName = "Visual Basic 5.0 Control Creation Edition"
- ShortAppName = "Visual Basic 5.0 CCE"
- SetupWizardShortcut = "Application Setup Wizard"
- ReadMeShortcut = "ReadMe"
- BeginPrompt = "Are you sure you want to remove Visual Basic 5.0 CCE?"
- EndPrompt = "Visual Basic 5.0 CCE successfully removed."
- DirectoryPrompt = "Where would you like to copy the Visual Basic 5.0 CCE files?"
- DefProgramFilesDir = "Program Files"
- DefCommonFilesDir = "Common Files"
-
- ; Final installation filenames for CtlGroup.vbg sources (localized)
- FileName.CtlGroup.vbg = "CtlGroup.vbg"
- FileName.Form1.frm = "Form1.frm"
- FileName.Project1.vbp = "Project1.vbp"
- FileName.Project2.vbp = "Project2.vbp"
- FileName.UserCtl1.ctl = "UserCtl1.ctl"
- FileName.UserCtl1.ctx = "UserCtl1.ctx"
-
-
-
- ; Reg keys
- AppKey = "SOFTWARE\Microsoft\VB5CCE"
- AppUninstallKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\VB5CCE"
- WindowsKey = "SOFTWARE\Microsoft\Windows\CurrentVersion"
- strRegKey.RenameFiles = "SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles"
- ; Directories
- DefaultDir = "VB5CCE"
- MSSharedVBA = "Microsoft Shared\VBA"
- FILE_MSORT_LOC = Mrt7ENU.dll
- FILE_MSORT_LOC_NOEXT = Mrt7ENU
-