Jump-start your project by learning from devs who
write Windows drivers and file systems every day.
Take an OSR seminar!

OSR is Hiring! Click here to find out more.

Upcoming OSR Seminars:
Kernel Debugging & Crash Analysis Lab, Palo Alto, CA 18-22 August, 2014
Writing WDF Drivers for Windows Lab, Boston/Waltham, MA 22-26 September, 2014
Windows Internals & Software Drivers Lab, Dulles/Sterling, VA, 20-24 October, 2014
Developing File Systems for Windows, Seattle, WA 4-7 November, 2014


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 4  
16 May 11 09:41
Bharat Kulkarni
xxxxxx@gmail.com
Join Date: 26 Oct 2006
Posts To This List: 22
what is the significance of "[PackageInfo]" directive and "Condition=InstalledDriverSection" in inf.

Hello, Can any one please help me understanding that what is the significance of "[PackageInfo] Condition=InstalledDriverSection" section in inf for drivers. Regards, Bharat. --
  Message 2 of 4  
16 May 11 14:13
Tim Roberts
xxxxxx@probo.com
Join Date: 28 Jan 2005
Posts To This List: 9265
what is the significance of "[PackageInfo]" directive and "Condition=InstalledDriverSection" in inf.

Bharat Kulkarni wrote: > > Can any one please help me understanding that what is the significance of > > "[PackageInfo] > Condition=InstalledDriverSection" > > section in inf for drivers. No, we can't. That's a private section used by a custom co-installer. You would have to ask the vendor that wrote the co-installer. There is no pre-defined meaning. -- Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc.
  Message 3 of 4  
17 May 11 09:42
Bharat Kulkarni
xxxxxx@gmail.com
Join Date: 26 Oct 2006
Posts To This List: 22
what is the significance of "[PackageInfo]" directive and "Condition=InstalledDriverSection" in inf.

Thanks, But I would like to know more from Windows perspective. How exactly Windows handles these directive. What does Windows interprets it. I have referred to inf how tos but couldn't any description written about these sections. Can anyone help. Thanks and Regards, Bharat Kulkarni, On Mon, May 16, 2011 at 11:43 PM, Tim Roberts <xxxxx@probo.com> wrote: > Bharat Kulkarni wrote: > > > > Can any one please help me understanding that what is the significance of > > > > "[PackageInfo] > > Condition=InstalledDriverSection" > > > > section in inf for drivers. > > No, we can't. That's a private section used by a custom co-installer. <...excess quoted lines suppressed...> --
  Message 4 of 4  
17 May 11 13:19
Tim Roberts
xxxxxx@probo.com
Join Date: 28 Jan 2005
Posts To This List: 9265
what is the significance of "[PackageInfo]" directive and "Condition=InstalledDriverSection" in inf.

Bharat Kulkarni wrote: > > But I would like to know more from Windows perspective. > How exactly Windows handles these directive. What does Windows > interprets it. > I have referred to inf how tos but couldn't any description written > about these sections. Apparently, you did not understand what I wrote. Windows doesn't do ANYTHING with that section. Device Manager will ignore it. Nothing in the operating system looks for that directive. A driver package can have one or more "co-installers" that assist in the installation process. The co-installers are called by Device Manager at many points during the installation process, to perform whatever custom activities the driver package author needs to do. The co-installer has full access to all of the files in the package, including the INF. In this case, one of the co-installers in that package looks for the [PackageInfo] section and processes it. We don't have any idea what the co-installer does with it. You would have to contact the company that wrote the co-installer. I saw one reference to an Intel graphics package that used it. In that case, Intel wrote the co-installer, and only Intel knows what the section is used for. By the way, this is exactly what the KMDF co-installer does. Device Manager does not do anything with the [Xxxx.Wdf] section or the KmdfVersion directive. They are ignored by the operating system. However, the KMDF co-installer does go looking for those sections, in order to do the version checking and registry setup. Same concept. > Can anyone help. Help with what? Your question is exactly like asking "I have a DLL with a function called MyGreenFunction. What does that function do?" We can't answer that. Only the author can. If you aren't using a custom co-installer, then you don't need those sections. If you are using a custom co-installer, then you already know what they do. -- Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc.
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 22:33.


Copyright ©2014, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license