[wdmaudiodev] Re: Inf2Cat does not use String-expansion

  • From: Børge Strand-Bergesen <borge.strand@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Wed, 5 Feb 2014 09:17:46 +0100

Probably slightly OT:
Where do I find a good tutorial on .inf file understanding and
generation? I'm an experienced C programmer but with no kernel mode
code experience under my belt. My first attempts at writing kernel
code stranded on an .inf file I couldn't debug.

Borge


On Tue, Feb 4, 2014 at 5:23 PM, Matthew van Eerde
<Matthew.van.Eerde@xxxxxxxxxxxxx> wrote:
> I suspect this is an artifact of the [Strings] original intent, which was 
> localization. The list of files in the driver package is not expected to 
> change from language to language, and the location of the catalog file is not 
> expected to change from language to language.
>
> It would be an interesting experiment to manually build a .cat file that was 
> referenced with a CatalogFile=%placeholder%.cat and see if PnP could find the 
> .cat, which means it did the string replacement at install time.
>
> -----Original Message-----
> From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
> [mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Tobias Erichsen
> Sent: Tuesday, February 4, 2014 6:33 AM
> To: wdmaudiodev@xxxxxxxxxxxxx
> Subject: [wdmaudiodev] Inf2Cat does not use String-expansion
>
> Hello everyone,
>
> when creating an easily oem-able inf-file for customers, I noticed that the 
> inf2cat command does not support using string-expansion %xxx% for the 
> CatalogFile-entry and the CopyList/SourceDisksFiles-sections.
>
> Even though my inf-files show no error in ChkInf,  Inf2Cat shows errors...
>
> Does anyone know if this is meant to be this way, or was this just an 
> omission during the development of this tool?
>
> Best regards,
> Tobias
>
> ******************
>
> WDMAUDIODEV addresses:
> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
> Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
> Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
> Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
>
> URL to WDMAUDIODEV page:
> http://www.wdmaudiodev.com/
>
> ******************
>
> WDMAUDIODEV addresses:
> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
> Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
> Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
> Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
>
> URL to WDMAUDIODEV page:
> http://www.wdmaudiodev.com/
>
******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: