cancel
Showing results for 
Search instead for 
Did you mean: 

curtomizar file .inf

luscaam
Associate
Posted on September 25, 2015 at 16:30

Hi, 

I need customizar the description the file .inf.

The file original description is ''DESCRIPTION = ''STMicroelectronics Virtual COM Port''. I need to write ''FCamara'', but when I do upload with description changed not recognize.

I'm using installer VCP_V1.4.0_Setup and modifying the file stmcdc.inf.

Help me, please!

Tks

________________________

Orginal

;------------------------------------------------------------------------------

; STMicroelectronics Comunication Device Class driver (CDC) INF FILE

; (C)2010 Copyright STMicroelectronics

;------------------------------------------------------------------------------

[Version]

Signature=''$Windows NT$''

Class=Ports

ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}

Provider=%PRVDR%

CatalogFile=stmcdc.cat

DriverVer=04/25/2010,1.3.1

[SourceDisksNames]

1=%DriversDisk%,,,

[SourceDisksFiles]

[Manufacturer]

%MFGNAME%=DeviceList,NT,NTamd64

[DestinationDirs]

DefaultDestDir = 12

;------------------------------------------------------------------------------

;            VID/PID Settings

;------------------------------------------------------------------------------

[DeviceList.NT]

%DESCRIPTION%=DriverInstall,USB\VID_0483&PID_5740

[DeviceList.NTamd64]

%DESCRIPTION%=DriverInstall,USB\VID_0483&PID_5740

[DriverInstall.NT]

Include=mdmcpq.inf

CopyFiles=FakeModemCopyFileSection

AddReg=DriverInstall.NT.AddReg

[DriverInstall.NT.AddReg]

HKR,,DevLoader,,*ntkern

HKR,,NTMPDriver,,usbser.sys

HKR,,EnumPropPages32,,''MsPorts.dll,SerialPortPropPageProvider''

[DriverInstall.NT.Services]

AddService=usbser, 0x00000002, DriverServiceInst

[DriverServiceInst]

DisplayName=%SERVICE%

ServiceType = 1 ; SERVICE_KERNEL_DRIVER

StartType = 3 ; SERVICE_DEMAND_START

ErrorControl = 1 ; SERVICE_ERROR_NORMAL

ServiceBinary= %12%\usbser.sys

LoadOrderGroup = Base

;------------------------------------------------------------------------------

;              String Definitions

;------------------------------------------------------------------------------

[Strings]

PRVDR = ''STMicroelectronics''

MFGNAME = ''STMicroelectronics.''

DESCRIPTION = ''STMicroelectronics Virtual COM Port''

SERVICE = ''STM Virtual COM Port''

DriversDisk = ''STM Drivers Disk'' 

________________________

Changed

;------------------------------------------------------------------------------

; STMicroelectronics Comunication Device Class driver (CDC) INF FILE

; (C)2010 Copyright STMicroelectronics

;------------------------------------------------------------------------------

[Version]

Signature=''$Windows NT$''

Class=Ports

ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}

Provider=%PRVDR%

CatalogFile=stmcdc.cat

DriverVer=04/25/2010,1.3.1

[SourceDisksNames]

1=%DriversDisk%,,,

[SourceDisksFiles]

[Manufacturer]

%MFGNAME%=DeviceList,NT,NTamd64

[DestinationDirs]

DefaultDestDir = 12

;------------------------------------------------------------------------------

;            VID/PID Settings

;------------------------------------------------------------------------------

[DeviceList.NT]

%DESCRIPTION%=DriverInstall,USB\VID_0483&PID_5740

[DeviceList.NTamd64]

%DESCRIPTION%=DriverInstall,USB\VID_0483&PID_5740

[DriverInstall.NT]

Include=mdmcpq.inf

CopyFiles=FakeModemCopyFileSection

AddReg=DriverInstall.NT.AddReg

[DriverInstall.NT.AddReg]

HKR,,DevLoader,,*ntkern

HKR,,NTMPDriver,,usbser.sys

HKR,,EnumPropPages32,,''MsPorts.dll,SerialPortPropPageProvider''

[DriverInstall.NT.Services]

AddService=usbser, 0x00000002, DriverServiceInst

[DriverServiceInst]

DisplayName=%SERVICE%

ServiceType = 1 ; SERVICE_KERNEL_DRIVER

StartType = 3 ; SERVICE_DEMAND_START

ErrorControl = 1 ; SERVICE_ERROR_NORMAL

ServiceBinary= %12%\usbser.sys

LoadOrderGroup = Base

;------------------------------------------------------------------------------

;              String Definitions

;------------------------------------------------------------------------------

[Strings]

PRVDR = ''STMicroelectronics''

MFGNAME = ''STMicroelectronics.''

DESCRIPTION = ''FCamara''

SERVICE = ''STM Virtual COM Port''

DriversDisk = ''STM Drivers Disk'' 

#.inf
1 REPLY 1
Nickname12657_O
Associate III
Posted on September 27, 2015 at 14:14

Dear lucas, 

Any change to .inf file require from end user to regenerate new catalog files .cat So microsoft operating system will recognize a trusted file to be able to install it. Furthermore  in x64 os, if you need to get rid of the warning message you need also to sign with a trusted signature tool like symantec your new generated .cat with your company stamp.  I agree it is a heavy processs but mandatory  from Mirosoft to ensure right files and system interoperability. I would highly  recommend  also if you go thru these steps to change the VID and PID to yours instead  of the one from STMicro or ask for a PID sublicense  from us. 

By the way. With new win10 no more of all of this stuff. You plug your Device and is automatically installed by native drivers like a mouse or a mass storge key.

Cheers, 

STOne-32