home *** CD-ROM | disk | FTP | other *** search
- ; Batch.INF
-
- ; This is the Setup information file to install the animated cursor editor
-
- ; Copyright (c) 1993-1995 Microsoft Corporation
-
-
- [version]
- LayoutFile=rklayout.inf
- signature="$CHICAGO$"
- SetupClass=BASE
-
- [DestinationDirs]
- Register.Copy = 17 ; LDID_INF
- rklayout.copy = 17 ; LDID_INF
- BatchCopyFiles = 24,%OEM_PROGRAMF%\%OEM_RESOURCE% ; LDID_APPS\Program Files\Resource Kit
- Batch.HLP.Copy = 18 ; LDID_HELP
- batch.sys.Copy = 11 ; LDID_SYS
-
- [Optional Components]
- Batch
-
- [Batch]
- OptionDesc = %Batch_Desc%
- Tip = %Batch_TIP%
- CopyFiles = BatchCopyFiles, Batch.HLP.Copy, Batch.Sys.Copy, Register.Copy, rklayout.copy
- UpdateInis = Batch.Inis
- AddReg = BatchReg, Batch.install.reg, Register.AddReg
- InstallType = 0 ;Manual only
- IconIndex = 4 ;Default (diamond) mini-icon for dialogs
- Uninstall = Batch_remove
-
-
- [Batch_remove]
- DelFiles = BatchCopyFiles, Batch.HLP.Copy, Register.Copy
- DelReg = UnRegister.DelReg
- UpdateInis = Batch.Rem.Inis
-
-
- [rklayout.copy]
- rklayout.inf
-
- [Register.Copy]
- Batch.inf
-
- [BatchCopyFiles]
- Batch.exe
- optional.ini
- batch.txt
-
- [Batch.Sys.Copy]
- vbrun300.dll
- cmdialog.vbx
-
- [Batch.HLP.Copy]
- batch.hlp
-
-
- [Register.AddReg]
- ;Create entries for Maint Mode Setup
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Batch,DisplayName,,%uninstall_Desc%
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Batch,UninstallString,,"RunDll setupx.dll,InstallHinfSection Batch_Remove 4 Batch.INF"
-
- [UnRegister.DelReg]
- ;Remove entries for Maint Mode Setup
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Batch
-
- [BatchReg]
- ; create the long-name for "Program Files"
- ; Note that when you rename a long name, VFAT changes the short name from
- ; foobar~1 to foobar~2. To avoid this, we introduce a work around in the form of
- ; an intermediate rename
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,,,%24%
- ;HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%OLD_PROGRAMF%,,"%Old_Program_Files%" ; review - leave in for M8
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,%PROGRAMF%,,!$!$!$!$.$!$
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFilesRoot,!$!$!$!$.$!$,,"%Program_Files%,1"
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,,,"%24%\%PROGRAMF%"
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,%RESOURCE%,,!$!$!$!$.$!$
- HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AppFiles,!$!$!$!$.$!$,,"%ResourceKit%,1"
-
-
- [Batch.Inis]
- setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%" ;creates folder
- setup.ini, group11,, """%Batch_Desc%"", %24%\%OEM_PROGRAMF%\%OEM_RESOURCE%\Batch.exe,,, Batch" ;creates link
-
- [Batch.Rem.Inis]
- setup.ini, progman.groups,, "group11=%RKTOOLS_DESC%" ;creates folder
- setup.ini, group11,, """%Batch_Desc%""" ;deletes link
-
-
- [Strings]
- RKTOOLS_DESC = "Resource Kit"
- batch_Desc = "Batch INF Script Editor"
- uninstall_Desc = "Batch INF Script Editor"
- batch_TIP = "Allows you to edit or create batch install scripts - for use with server-based setup"
- DSK = "Windows 95 Resource Kit"
-
-
-
- ; Directory names - note that that short versions must match the truncated
- ; 8 char names for the long versions, or else there will be problems.
- ; also need to put the short versions in the [DestinationDirs] section above
- ; Used by wordpad, hypertrm, backup, paint, & MSN
- Program_Files = "Programme" ; changed for the German version of Windows 95
- PROGRAMF = "Progra~1" ; first 6 chars of Program_Files, + "~1"
- OEM_PROGRAMF = "Progra~1" ; first 6 chars of Program_Files, + "~1" - in OEM codepage (not Ansi)
- ResourceKit = "Resource Kit"
- RESOURCE = "Resour~1" ; first 6 chars of Resource Kit, + "~1"
- OEM_RESOURCE = "Resour~1" ; first 6 chars of Resource Kit, + "~1" - in OEM codepage (not Ansi)
-