INF file-list-section flags

In looking at the latest DDK docs in the section for the INF CopyFiles
Directive, it describes the syntax for a file-list-section.

In the description for the flags, there are the following two entries
(all others omitted):

0x00000020 (COPYFLG_NO_VERSION_DIALOG)
Do not write over a file in the destination directory with the source
file if the existing file is newer than the source file.
This flag is irrelevant to digitally signed INF files. If a driver
package is digitally signed, Setup installs the package as a whole and
does not selectively omit files in the package based on other versions
already present on the machine.

0x00000040 (COPYFLG_OVERWRITE_OLDER_ONLY)
Copy the source file to the destination directory only if the file on
the destination will be superseded by a newer version. This flag is
irrelevant to digitally signed INF files.

Both are only relevant to unsigned drivers, and both seem to imply that
a file will only be copied if it’s a newer file than the existing file
on the system.

So… What’s the difference between these two flags?

  • Jay

Jay Talbott
Principal Consulting Engineer
SysPro Consulting, LLC
3519 E. South Fork Drive
Suite 201
Phoenix, AZ 85044
(480) 704-8045
xxxxx@sysproconsulting.com
http://www.sysproconsulting.com