; ; UsbMgn Setup Information file ; Copyright © 2003 Thales Navigation, Inc. All rights reserved. ; ;****************************************************************************** ; Version section ;------------------------------------------------------------------------------ [Version] Signature="$CHICAGO$" Provider=%S_Provider% DriverVer=01/01/2001,1.00 Class=UsbThalesDevices ClassGUID={76e93b6e-7a5a-11d4-9f24-1080c8130469} ;****************************************************************************** ; Class Install section (optional) ;------------------------------------------------------------------------------ ; ; install class, Windows 98: [ClassInstall] AddReg=_AddReg_ClassInstall ; install class, Windows 2000: [ClassInstall32] AddReg=_AddReg_ClassInstall ; registry entries required for class [_AddReg_ClassInstall] HKR,,,,"%S_DeviceClassDisplayName%" HKR,,Icon,,"-20" ;****************************************************************************** ; Manufacturer section ;------------------------------------------------------------------------------ [Manufacturer] %S_Mfg%=_Devices ;****************************************************************************** ; Device section ;------------------------------------------------------------------------------ [_Devices] %S_DeviceDesc1%=_Install1, USB\VID_0471&PID_0888 ;****************************************************************************** ; Install section ( Device1 ) ;------------------------------------------------------------------------------ ; driver-specific, Win98 [_Install1] CopyFiles=_CopyFiles_sys AddReg=_AddReg_SW1, _AddReg_98, _Parameters1_98 ; device-specific, Win98 [_Install1.HW] AddReg=_AddReg_HW1 ; driver-specific, Win2000 [_Install1.NTx86] CopyFiles=_CopyFiles_sys AddReg=_AddReg_SW1, _Parameters1_NT ; service-install, Win2000 [_Install1.NTx86.Services] AddService = %S_DriverName%, 0x00000002, _NT_AddService, _NT_EventLog ; device-specific, Win2000 [_Install1.NTx86.HW] AddReg=_AddReg_HW1 ;****************************************************************************** ; Install section ( Device2 ) ; may be repeated to support more than one device ;------------------------------------------------------------------------------ ; ... ;****************************************************************************** ; NT Service sections (Win2000 only) ;------------------------------------------------------------------------------ [_NT_AddService] DisplayName = %S_ServiceDisplayName% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\System32\Drivers\%S_DriverName%.sys [_NT_EventLog] AddReg=_NT_EventLog_AddReg [_NT_EventLog_AddReg] HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\%S_DriverName%.sys" HKR,,TypesSupported, 0x00010001,7 ;****************************************************************************** ; Registry sections ( Device1 ) ;------------------------------------------------------------------------------ [_AddReg_98] ; required standard entries HKR,,NTMPDriver,,%S_DriverName%.sys HKR,,DevLoader,,*ntkern [_AddReg_SW1] ; create registry key used to store configuration parameters HKLM,"%S_ConfigPath%",,, HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",,, [_AddReg_HW1] ; Create a link to the configuration key. This is absolute required! HKR,,UsbMgn_ConfigurationPath,,\Registry\Machine\%S_ConfigPath%\%S_DeviceConfigPath1% ; parameters used on Windows 98, Windows ME [_Parameters1_98] ; Set the default behaviour of the driver for Windows 98 and Windows ME. ; For a description of the parameters, refer to the UsbMgn Reference Manual. ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",PowerStateOnOpen,0x00010001, 0 ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",PowerStateOnClose,0x00010001, 0 ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",EnableRemoteWakeup,0x00010001, 1 ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MinPowerStateUsed,0x00010001, 3 ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MinPowerStateUnused,0x00010001, 3 ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",AbortPipesOnPowerDown,0x00010001, 1 ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MaximumTransferSize,0x00010001,16384 ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",DebugLevel,0x00010001,2 ; parameters used on Windows 2000 [_Parameters1_NT] ; Set the default behaviour of the driver for Windows 2000 ; For a description of the parameters, refer to the UsbMgn Reference Manual. ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",PowerStateOnOpen,0x00010001, 0 ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",PowerStateOnClose,0x00010001, 0 ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",EnableRemoteWakeup,0x00010001, 1 ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MinPowerStateUsed,0x00010001, 3 ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MinPowerStateUnused,0x00010001, 3 ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",AbortPipesOnPowerDown,0x00010001, 1 ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",SuppressPnPRemoveDlg,0x00010001, 1 ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",MaximumTransferSize,0x00010001,16384 ;HKLM,"%S_ConfigPath%"\"%S_DeviceConfigPath1%",DebugLevel,0x00010001,2 ;****************************************************************************** ; Registry sections ( Device2 ) ; may be repeated to support more than one device ;------------------------------------------------------------------------------ ; ... ;****************************************************************************** ; Copy Files section ;------------------------------------------------------------------------------ [_CopyFiles_sys] UsbMgn.sys ;****************************************************************************** ; Options ;------------------------------------------------------------------------------ [ControlFlags] ; Advanced options can be specified here. ; For details, refer to the Windows 2000 DDK. ;****************************************************************************** ; Destination Directories ;------------------------------------------------------------------------------ [DestinationDirs] DefaultDestDir = 11 ; SYSTEM directory _CopyFiles_sys = 10,System32\Drivers ;****************************************************************************** ; Disk Layout ;------------------------------------------------------------------------------ [SourceDisksNames] 1=%S_DiskName%,, [SourceDisksFiles] %S_DriverName%.sys=1 ;****************************************************************************** ; Text Strings ;------------------------------------------------------------------------------ [Strings] ; provider name S_Provider="Thales Navigation, Inc." ; manufacturer name S_Mfg="Thales Navigation, Inc." ; device class display name, shown in Device Manager S_DeviceClassDisplayName="Thales Navigation USB Devices" ; device description S_DeviceDesc1="Thales Navigation Z-Max GPS receiver" ; disk name S_DiskName="Thales Navigation USB Driver Disk" ; file name of driver executable ; If the name is modified, the _CopyFiles_sys section must also be modified ! S_DriverName="UsbMgn" ; service display name S_ServiceDisplayName="Thales Navigation USB Driver" ; configuration registry path (where the registry parameters will be located) ; IMPORTANT: MUST BE underneath SYSTEM\CurrentControlSet\Services ! ; The string should be build in the form: ; SYSTEM\CurrentControlSet\Services\ S_ConfigPath="SYSTEM\CurrentControlSet\Services\UsbMgn" ; device-specific configuration registry path S_DeviceConfigPath1="Parameters"