diff options
| author | Keith Packard <keithp@keithp.com> | 2010-05-16 22:31:23 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-05-16 22:31:23 -0700 | 
| commit | cc002c0a43a02845ba67d1a61828be382f307b2e (patch) | |
| tree | 6f080d3ae21ed6f3e0426b04ec2e6c98851a120f | |
| parent | f0433c83d76e90d78fb86a1f4a2f145f3c57fb25 (diff) | |
Fix telemetrum.inf, tested by Adrian and Keithp
| -rwxr-xr-x | telemetrum.inf | 57 | 
1 files changed, 46 insertions, 11 deletions
diff --git a/telemetrum.inf b/telemetrum.inf index 4549cfba..8a12b857 100755 --- a/telemetrum.inf +++ b/telemetrum.inf @@ -3,31 +3,42 @@  [Version]
  Signature	= "$Windows NT$"
 -Class           = Ports
 -ClassGUID       = {4d36e978-e325-11ce-bfc1-08002be10318}
 +Class   	= Modem
 +ClassGUID	={4D36E96D-E325-11CE-BFC1-08002BE10318}
  Provider	= %Mfg%
 -DriverVer	= 30/03/2010,4.0.0.8
 +DriverVer	= 08/05/2010,3.1.0.41
  [Manufacturer]
 -%Mfg%           = Models
 +%Mfg% = Models, NTx86, NTamd64, NTia64
 -[Models]
 -%TeleMetrum%    = TELEMETRUM, USB\VID_FFFE&PID_000A
 +[Models.NTx86]
 +%TeleMetrum% = TELEMETRUM, USB\VID_FFFE&PID_000A
 +
 +[Models.NTamd64]
 +%TeleMetrum% = TELEMETRUM, USB\VID_FFFE&PID_000A
 +
 +[Models.NTia64]
 +%TeleMetrum% = TELEMETRUM, USB\VID_FFFE&PID_000A
  [DestinationDirs]
 -DefaultDestDir  = 12
 +DefaultDestDir=12
  [ControlFlags]
 -ExcludeFromSelect=USB\VID_0BAF&PID_0303
 +ExcludeFromSelect=USB\VID_FFFE&PID_000A
  [Strings]
  Mfg = "altusmetrum.org"
 -TeleMetrum       = "TeleMetrum/TeleDongle"
 +TeleMetrum = "TeleMetrum/TeleDongle"
 +
 +
 +;----------------------------------------------------------------------------
 +; Installation sections
 +;----------------------------------------------------------------------------
  [TELEMETRUM.NT]
  include=mdmcpq.inf
  CopyFiles=FakeModemCopyFileSection
 -AddReg=Uninstall
 +AddReg = All, mfglt, Modem.AddReg, VerboseResultCodes, Uninstall.AddReg
  [TELEMETRUM.NT.HW]
  Include=mdmcpq.inf
 @@ -37,6 +48,30 @@ AddReg=LowerFilterAddReg  Include=mdmcpq.inf
  AddService=usbser, 0x00000000, LowerFilter_Service_Inst
 -[Uninstall]
 +
 +;----------------------------------------------------------------------------
 +; AddReg sections
 +;----------------------------------------------------------------------------
 +[Modem.AddReg]
 +HKR,, Properties, 1, C0,01,00,00, 00,00,00,00, FF,00,00,00, 07,00,00,00, 0F,00,00,00, F7,0F,00,00, 00,84,03,00, C0,DA,00,00
 +
 +
 +;----------------------------------------------------------------------------
 +; Common Registry Sections
 +;
 +; The [All] section is installed for all modems.
 +;
 +;----------------------------------------------------------------------------
 +[All]
 +HKR,,FriendlyDriver,,Unimodem.vxd
 +HKR,,DevLoader,,*vcomm
 +HKR,,PortSubClass,1,02
 +HKR,,ConfigDialog,,modemui.dll
 +HKR,,EnumPropPages,,"modemui.dll,EnumPropPages"
 +HKR,,DeviceType,1,01
 +HKR,,OCM2KXP,1,01
 +HKR,, DCB, 1, 1c,00,00,00, 00,C2,01,00, 15,20,00,00, 00,00, 0a,00, 0a,00, 08, 00, 00, 11, 13, 00, 00, 00
 +
 +[Uninstall.AddReg]
  HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%TeleMetrum%,DisplayName,,"%TeleMetrum%"
  | 
