PC Review


Reply
Thread Tools Rate Thread

Re: Strange behavior INF file and Component Designer (0/1)

 
 
Brad Combs
Guest
Posts: n/a
 
      28th Aug 2003
Pieter,

I tried to import the inf, and got hte same results. If manually changing it
worked I'd just leave it as is. If you want CD to get it right the first
time jsut choose "custom" from the parsing options and add the needed
sections of the .inf to the list under it's appropriate category. Make sure
to leave the [] off of the entry. Then click the import as usual. I tried
this with some success with your inf, so you should be able to make it work.
HTH,

Brad Combs
Imago Technologies

"Pieter" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> Attached are two files: snxpcip.inf and snxpcip.sld.
> The SLD file is created by importing de INF file in Component
> Designer.
> The INF file contains settings and drivers for both Windows 2000 and
> Windows XP.
>
> After importing the file a PCI Serial Port driver is created. However
> one file and two recourses are wrong.
> The file in the component is SNXPSER.SYS. This is the windows 2000
> driver. The XP driver is SNXPSERX.SYS.
> In the resource Service Data the ServiceBinairy is SNXPSER.SYS. This
> should be SNXPSERX.SYS. and the ServiceName is SNXPSER. This should be
> SNXPSERX.
> In the resource PnP Device ID the ServiceName is SNXPSER. This should
> be SNXPSERX.
> All these items are imported from the win2000 sections in the INF
> file.
>
> When I changed these items in de SLD file the component is installed
> correct.
>
> Is this a bug in Component Designer or is the INF file not correct?
>
>
> Regards,
>
> Pieter
>



 
Reply With Quote
 
 
 
 
Andy Allred [MS]
Guest
Posts: n/a
 
      28th Aug 2003
This is a known issue with CD.

What's happening is that when the manufacturer name has a comma in it, CD
ignores everything past the comma and only sees one entry in this case it
sees "DeviceList" and doesn't see this "DeviceList,NTx86.5.1". The XP
driver/service info is under this section "[DeviceList.NTx86.5.1]", so CD
only processes the section it did see which is the Win2k stuff under
"[DeviceList]". I've copied the sections i'm referring to at the bottom of
my message pointing out the sections i'm referring to.
To work around this, either modify the inf so the manufacturer section reads
"%MFGNAME%=DeviceList.NTx86.5.1" notice the dot in place of the comma?
Or you can do a custom import in CD and tell it the manufacturer section it
should process with the comma like this: "DeviceList,NTx86.5.1", then CD
will process it.
-Andy


[Manufacturer]
NOTE the COMMA===>>> %MFGNAME%=DeviceList,NTx86.5.1

NOTE, now there is no COMMA===>>> [DeviceList.NTx86.5.1]
%S_DESCRIPTION%=SDriverInstall_XP, SNXPCARD_SERP
%P_ECP_DESCRIPTION%=PDriverInstall_XP, SNXPCARD_PARPECP
%P_SPP_DESCRIPTION%=PDriverInstall_XP, SNXPCARD_PARPSPP

[DeviceList]
%S_DESCRIPTION%=SDriverInstall, SNXPCARD_SERP
%P_ECP_DESCRIPTION%=PDriverInstall, SNXPCARD_PARPECP
%P_SPP_DESCRIPTION%=PDriverInstall, SNXPCARD_PARPSPP

--

This posting is provided "AS IS" with no warranties, and confers no rights.
==========================================================


"Brad Combs" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Pieter,
>
> I tried to import the inf, and got hte same results. If manually changing

it
> worked I'd just leave it as is. If you want CD to get it right the first
> time jsut choose "custom" from the parsing options and add the needed
> sections of the .inf to the list under it's appropriate category. Make

sure
> to leave the [] off of the entry. Then click the import as usual. I tried
> this with some success with your inf, so you should be able to make it

work.
> HTH,
>
> Brad Combs
> Imago Technologies
>
> "Pieter" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi,
> >
> > Attached are two files: snxpcip.inf and snxpcip.sld.
> > The SLD file is created by importing de INF file in Component
> > Designer.
> > The INF file contains settings and drivers for both Windows 2000 and
> > Windows XP.
> >
> > After importing the file a PCI Serial Port driver is created. However
> > one file and two recourses are wrong.
> > The file in the component is SNXPSER.SYS. This is the windows 2000
> > driver. The XP driver is SNXPSERX.SYS.
> > In the resource Service Data the ServiceBinairy is SNXPSER.SYS. This
> > should be SNXPSERX.SYS. and the ServiceName is SNXPSER. This should be
> > SNXPSERX.
> > In the resource PnP Device ID the ServiceName is SNXPSER. This should
> > be SNXPSERX.
> > All these items are imported from the win2000 sections in the INF
> > file.
> >
> > When I changed these items in de SLD file the component is installed
> > correct.
> >
> > Is this a bug in Component Designer or is the INF file not correct?
> >
> >
> > Regards,
> >
> > Pieter
> >

>
>



 
Reply With Quote
 
Andy Allred [MS]
Guest
Posts: n/a
 
      28th Aug 2003
FYI, Lynda wrote a great tip article that discusses this issue:
http://www.microsoft.com/windows/emb...ivererrors.asp

Andy
--

This posting is provided "AS IS" with no warranties, and confers no rights.
==========================================================


"Andy Allred [MS]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> This is a known issue with CD.
>
> What's happening is that when the manufacturer name has a comma in it, CD
> ignores everything past the comma and only sees one entry in this case it
> sees "DeviceList" and doesn't see this "DeviceList,NTx86.5.1". The XP
> driver/service info is under this section "[DeviceList.NTx86.5.1]", so CD
> only processes the section it did see which is the Win2k stuff under
> "[DeviceList]". I've copied the sections i'm referring to at the bottom of
> my message pointing out the sections i'm referring to.
> To work around this, either modify the inf so the manufacturer section

reads
> "%MFGNAME%=DeviceList.NTx86.5.1" notice the dot in place of the comma?
> Or you can do a custom import in CD and tell it the manufacturer section

it
> should process with the comma like this: "DeviceList,NTx86.5.1", then CD
> will process it.
> -Andy
>
>
> [Manufacturer]
> NOTE the COMMA===>>> %MFGNAME%=DeviceList,NTx86.5.1
>
> NOTE, now there is no COMMA===>>> [DeviceList.NTx86.5.1]
> %S_DESCRIPTION%=SDriverInstall_XP, SNXPCARD_SERP
> %P_ECP_DESCRIPTION%=PDriverInstall_XP, SNXPCARD_PARPECP
> %P_SPP_DESCRIPTION%=PDriverInstall_XP, SNXPCARD_PARPSPP
>
> [DeviceList]
> %S_DESCRIPTION%=SDriverInstall, SNXPCARD_SERP
> %P_ECP_DESCRIPTION%=PDriverInstall, SNXPCARD_PARPECP
> %P_SPP_DESCRIPTION%=PDriverInstall, SNXPCARD_PARPSPP
>
> --
>
> This posting is provided "AS IS" with no warranties, and confers no

rights.
> ==========================================================
>
>
> "Brad Combs" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Pieter,
> >
> > I tried to import the inf, and got hte same results. If manually

changing
> it
> > worked I'd just leave it as is. If you want CD to get it right the first
> > time jsut choose "custom" from the parsing options and add the needed
> > sections of the .inf to the list under it's appropriate category. Make

> sure
> > to leave the [] off of the entry. Then click the import as usual. I

tried
> > this with some success with your inf, so you should be able to make it

> work.
> > HTH,
> >
> > Brad Combs
> > Imago Technologies
> >
> > "Pieter" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > Hi,
> > >
> > > Attached are two files: snxpcip.inf and snxpcip.sld.
> > > The SLD file is created by importing de INF file in Component
> > > Designer.
> > > The INF file contains settings and drivers for both Windows 2000 and
> > > Windows XP.
> > >
> > > After importing the file a PCI Serial Port driver is created. However
> > > one file and two recourses are wrong.
> > > The file in the component is SNXPSER.SYS. This is the windows 2000
> > > driver. The XP driver is SNXPSERX.SYS.
> > > In the resource Service Data the ServiceBinairy is SNXPSER.SYS. This
> > > should be SNXPSERX.SYS. and the ServiceName is SNXPSER. This should be
> > > SNXPSERX.
> > > In the resource PnP Device ID the ServiceName is SNXPSER. This should
> > > be SNXPSERX.
> > > All these items are imported from the win2000 sections in the INF
> > > file.
> > >
> > > When I changed these items in de SLD file the component is installed
> > > correct.
> > >
> > > Is this a bug in Component Designer or is the INF file not correct?
> > >
> > >
> > > Regards,
> > >
> > > Pieter
> > >

> >
> >

>
>



 
Reply With Quote
 
Pieter
Guest
Posts: n/a
 
      29th Aug 2003
OK.

Thanks for the information

Pieter


On Thu, 28 Aug 2003 10:38:13 -0700, "Andy Allred [MS]"
<(E-Mail Removed)> wrote:

>FYI, Lynda wrote a great tip article that discusses this issue:
>http://www.microsoft.com/windows/emb...ivererrors.asp
>
>Andy


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Target Designer: Looking for Component containing file Markus Pietrek Windows XP Embedded 3 10th Dec 2007 08:56 AM
Error importing an .inf file in Component Designer dcarr Windows XP Embedded 2 5th Jun 2007 07:07 AM
Import inf file fails in Component Designer =?Utf-8?B?VG9ueQ==?= Windows XP Embedded 1 18th Jan 2006 03:33 AM
Importing a inf file into a componet via Component Designer Jason Windows XP Embedded 0 16th Sep 2005 02:21 PM
Problem with .reg file import into the Component Designer skagway095 Windows XP Embedded 0 27th Jun 2005 02:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:15 PM.