Component Designer (Import problems or ??)

T

Thomas Johansen

Hi

I have some problems importing INF files with Component Design.
The import of the INF is done without errors. The repository is created
succesfully and the component is imported without error into my database.
I then drag the component to my project in TD and build the image. The files
and the registry key is there, but every value is missing ("Start",
"ImagePath" etc)

This is my INF files:

[Version]
Signature=$Windows NT$

[DestinationDirs]
MyDrvSysCopy=12
MyDrvDllCopy=11

[DefaultInstall]
CopyFiles=MyDrvSysCopy
CopyFiles=MyDrvDllCopy

[MyDrvSysCopy]
MyDrv.sys

[MyDrvDllCopy]
MyDrvAPI.dll

[SourceDisksNames]
1=%DiskName%,Generic,0
2=%DiskName%,Generic,0

[SourceDisksFiles]
MyDrv.sys=1,\sys,20987
MyDrvAPI.dll=2,\dll,20987

[DefaultInstall.Services]
AddService=MyDrv,0,MyDrvAddService, , ,

[MyDrvAddService]
DisplayName = %MyDrv.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 1 ; SERVICE_SYSTEM_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\MyDrv.sys
LoadOrderGroup = Test

[Strings]
DiskName="MyDrv Device driver installation"
MyDrv.SVCDESC = "MyDrv"

The INF file is working OK if I right click and selects "install"

This is the Component Designer import output:

Info:processing file : D:\projects\Driver Install\MyDrv\MyDrv.inf
Info:INF Importer is creating look up tables. This will take a few minutes.
Please wait...
Info:More than one component has the same Concordance ID [NORTEL NETWORKS
E-MOBILITY 802.11B WIRELESS LAN PCI CARD:pCI\VEN_126C&DEV_1F1F].
Info:More than one component has the same Concordance ID [SYMBOL LA-41X3
SPECTRUM24 WIRELESS LAN PCI CARD:pCI\VEN_1562&DEV_0001].
Info:More than one component has the same Concordance ID [ERICSSON DSSS
WIRELESS LAN PCI CARD:pCI\VEN_5401&DEV_0101].
Info:More than one component has the same Concordance ID [3COM 3CRWE737A
AIRCONNECT WIRELESS LAN PC
CARD:pCMCIA\3COM-3CRWE737A_AIRCONNECT_WIRELESS_LAN_PC_CARD-30DD].
Info:More than one component has the same Concordance ID [INTEL(R)
PRO/WIRELESS 2011 LAN PCI CARD:pCI\VEN_8086&DEV_1042].
Info:More than one component has the same Concordance ID [VIA BUS MASTER IDE
CONTROLLER:pCI\VEN_1106&DEV_0571].
Info:More than one component has the same Concordance ID [NORTEL NETWORKS
E-MOBILITY 802.11B WIRELESS LAN PC
CARD:pCMCIA\NORTEL_NETWORKS-EMOBILITY_802.11_WIRELESS_LAN_PC_CARD-A907].
Info:More than one component has the same Concordance ID [INTEL(R)
PRO/WIRELESS 2011 LAN PC
CARD:pCMCIA\INTEL-PRO/WIRELESS_2011_LAN_PC_CARD-E11D].
Info:More than one component has the same Concordance ID [SYMBOL LA-41X1
SPECTRUM24 WIRELESS LAN PC
CARD:pCMCIA\SYMBOL_TECHNOLOGIES-LA4111_SPECTRUM24_WIRELESS_LAN_PC_CARD-077D]
..
Info:More than one component has the same Concordance ID [3COM 3CRWE777A
AIRCONNECT WIRELESS LAN PCI CARD:pCI\VEN_10B7&DEV_1F1F].
Info:More than one component has the same Concordance ID [ERICSSON DSSS
WIRELESS LAN PC
CARD:pCMCIA\ERICSSON-ERICSSON_DSSS_WIRELESS_LAN_PC_CARD-F68B].
Info:D:\projects\Driver Install\MyDrv\MyDrv.inf: type DefaultInstall
Info:Creating: MyDrv.inf
Info:Completed processing file [Import succeeded] : D:\projects\Driver
Install\MyDrv\MyDrv.inf

Whats wrong ? Why isn't there any registry entrys under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyDrv ??

Thomas
 
S

Slobodan Brcin

Thomas,

FBA and PnP are unable to do install of pure software driver by default.
There should be a way to force FBA to do installation of some inf section,
but I never had time to analyze this.

One simple way how you can do this is to create component that will populate
registry with Services and Enum branches regarding your driver.

Regards,
Slobodan


Thomas Johansen said:
Hi

I have some problems importing INF files with Component Design.
The import of the INF is done without errors. The repository is created
succesfully and the component is imported without error into my database.
I then drag the component to my project in TD and build the image. The files
and the registry key is there, but every value is missing ("Start",
"ImagePath" etc)

This is my INF files:

[Version]
Signature=$Windows NT$

[DestinationDirs]
MyDrvSysCopy=12
MyDrvDllCopy=11

[DefaultInstall]
CopyFiles=MyDrvSysCopy
CopyFiles=MyDrvDllCopy

[MyDrvSysCopy]
MyDrv.sys

[MyDrvDllCopy]
MyDrvAPI.dll

[SourceDisksNames]
1=%DiskName%,Generic,0
2=%DiskName%,Generic,0

[SourceDisksFiles]
MyDrv.sys=1,\sys,20987
MyDrvAPI.dll=2,\dll,20987

[DefaultInstall.Services]
AddService=MyDrv,0,MyDrvAddService, , ,

[MyDrvAddService]
DisplayName = %MyDrv.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 1 ; SERVICE_SYSTEM_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\MyDrv.sys
LoadOrderGroup = Test

[Strings]
DiskName="MyDrv Device driver installation"
MyDrv.SVCDESC = "MyDrv"

The INF file is working OK if I right click and selects "install"

This is the Component Designer import output:

Info:processing file : D:\projects\Driver Install\MyDrv\MyDrv.inf
Info:INF Importer is creating look up tables. This will take a few minutes.
Please wait...
Info:More than one component has the same Concordance ID [NORTEL NETWORKS
E-MOBILITY 802.11B WIRELESS LAN PCI CARD:pCI\VEN_126C&DEV_1F1F].
Info:More than one component has the same Concordance ID [SYMBOL LA-41X3
SPECTRUM24 WIRELESS LAN PCI CARD:pCI\VEN_1562&DEV_0001].
Info:More than one component has the same Concordance ID [ERICSSON DSSS
WIRELESS LAN PCI CARD:pCI\VEN_5401&DEV_0101].
Info:More than one component has the same Concordance ID [3COM 3CRWE737A
AIRCONNECT WIRELESS LAN PC
CARD:pCMCIA\3COM-3CRWE737A_AIRCONNECT_WIRELESS_LAN_PC_CARD-30DD].
Info:More than one component has the same Concordance ID [INTEL(R)
PRO/WIRELESS 2011 LAN PCI CARD:pCI\VEN_8086&DEV_1042].
Info:More than one component has the same Concordance ID [VIA BUS MASTER IDE
CONTROLLER:pCI\VEN_1106&DEV_0571].
Info:More than one component has the same Concordance ID [NORTEL NETWORKS
E-MOBILITY 802.11B WIRELESS LAN PC
CARD:pCMCIA\NORTEL_NETWORKS-EMOBILITY_802.11_WIRELESS_LAN_PC_CARD-A907].
Info:More than one component has the same Concordance ID [INTEL(R)
PRO/WIRELESS 2011 LAN PC
CARD:pCMCIA\INTEL-PRO/WIRELESS_2011_LAN_PC_CARD-E11D].
Info:More than one component has the same Concordance ID [SYMBOL LA-41X1
SPECTRUM24 WIRELESS LAN PC
CARD:pCMCIA\SYMBOL_TECHNOLOGIES-LA4111_SPECTRUM24_WIRELESS_LAN_PC_CARD-077D]
.
Info:More than one component has the same Concordance ID [3COM 3CRWE777A
AIRCONNECT WIRELESS LAN PCI CARD:pCI\VEN_10B7&DEV_1F1F].
Info:More than one component has the same Concordance ID [ERICSSON DSSS
WIRELESS LAN PC
CARD:pCMCIA\ERICSSON-ERICSSON_DSSS_WIRELESS_LAN_PC_CARD-F68B].
Info:D:\projects\Driver Install\MyDrv\MyDrv.inf: type DefaultInstall
Info:Creating: MyDrv.inf
Info:Completed processing file [Import succeeded] : D:\projects\Driver
Install\MyDrv\MyDrv.inf

Whats wrong ? Why isn't there any registry entrys under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyDrv ??

Thomas
 
K

Kesavan

Thomas,

I guess that you can safely ignore the Concordance ID listings.I
believe thats what the group at large told me to do months back.It is
something of a conflict with some other component in the database.
If you get errors in the build for "values of registy" possibly i
would double check the registry values in the Component Designer and
compare it to the installation(you need to track the installation
registry entries) and see if it did everything rightly or I got it
wrong.


Regards
Kesavan

Thomas Johansen said:
Hi

I have some problems importing INF files with Component Design.
The import of the INF is done without errors. The repository is created
succesfully and the component is imported without error into my database.
I then drag the component to my project in TD and build the image. The files
and the registry key is there, but every value is missing ("Start",
"ImagePath" etc)

This is my INF files:

[Version]
Signature=$Windows NT$

[DestinationDirs]
MyDrvSysCopy=12
MyDrvDllCopy=11

[DefaultInstall]
CopyFiles=MyDrvSysCopy
CopyFiles=MyDrvDllCopy

[MyDrvSysCopy]
MyDrv.sys

[MyDrvDllCopy]
MyDrvAPI.dll

[SourceDisksNames]
1=%DiskName%,Generic,0
2=%DiskName%,Generic,0

[SourceDisksFiles]
MyDrv.sys=1,\sys,20987
MyDrvAPI.dll=2,\dll,20987

[DefaultInstall.Services]
AddService=MyDrv,0,MyDrvAddService, , ,

[MyDrvAddService]
DisplayName = %MyDrv.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 1 ; SERVICE_SYSTEM_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\MyDrv.sys
LoadOrderGroup = Test

[Strings]
DiskName="MyDrv Device driver installation"
MyDrv.SVCDESC = "MyDrv"

The INF file is working OK if I right click and selects "install"

This is the Component Designer import output:

Info:processing file : D:\projects\Driver Install\MyDrv\MyDrv.inf
Info:INF Importer is creating look up tables. This will take a few minutes.
Please wait...
Info:More than one component has the same Concordance ID [NORTEL NETWORKS
E-MOBILITY 802.11B WIRELESS LAN PCI CARD:pCI\VEN_126C&DEV_1F1F].
Info:More than one component has the same Concordance ID [SYMBOL LA-41X3
SPECTRUM24 WIRELESS LAN PCI CARD:pCI\VEN_1562&DEV_0001].
Info:More than one component has the same Concordance ID [ERICSSON DSSS
WIRELESS LAN PCI CARD:pCI\VEN_5401&DEV_0101].
Info:More than one component has the same Concordance ID [3COM 3CRWE737A
AIRCONNECT WIRELESS LAN PC
CARD:pCMCIA\3COM-3CRWE737A_AIRCONNECT_WIRELESS_LAN_PC_CARD-30DD].
Info:More than one component has the same Concordance ID [INTEL(R)
PRO/WIRELESS 2011 LAN PCI CARD:pCI\VEN_8086&DEV_1042].
Info:More than one component has the same Concordance ID [VIA BUS MASTER IDE
CONTROLLER:pCI\VEN_1106&DEV_0571].
Info:More than one component has the same Concordance ID [NORTEL NETWORKS
E-MOBILITY 802.11B WIRELESS LAN PC
CARD:pCMCIA\NORTEL_NETWORKS-EMOBILITY_802.11_WIRELESS_LAN_PC_CARD-A907].
Info:More than one component has the same Concordance ID [INTEL(R)
PRO/WIRELESS 2011 LAN PC
CARD:pCMCIA\INTEL-PRO/WIRELESS_2011_LAN_PC_CARD-E11D].
Info:More than one component has the same Concordance ID [SYMBOL LA-41X1
SPECTRUM24 WIRELESS LAN PC
CARD:pCMCIA\SYMBOL_TECHNOLOGIES-LA4111_SPECTRUM24_WIRELESS_LAN_PC_CARD-077D]
.
Info:More than one component has the same Concordance ID [3COM 3CRWE777A
AIRCONNECT WIRELESS LAN PCI CARD:pCI\VEN_10B7&DEV_1F1F].
Info:More than one component has the same Concordance ID [ERICSSON DSSS
WIRELESS LAN PC
CARD:pCMCIA\ERICSSON-ERICSSON_DSSS_WIRELESS_LAN_PC_CARD-F68B].
Info:D:\projects\Driver Install\MyDrv\MyDrv.inf: type DefaultInstall
Info:Creating: MyDrv.inf
Info:Completed processing file [Import succeeded] : D:\projects\Driver
Install\MyDrv\MyDrv.inf

Whats wrong ? Why isn't there any registry entrys under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyDrv ??

Thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top