Message 4 of 4
17 May 11 13:19
Join Date: 28 Jan 2005
Posts To This List: 9321
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, email@example.com
Providenza & Boekelheide, Inc.