Hi,

Based on the INF copyfiles directive describe in the link below, it seems
that for files that is shared between 2 different inf driver sets, there is
no way to ensure that the latest version of the file gets retain in the
system since the COPYFLG_OVERWRITE_OLDER_ONLY flag is ignored by digitally
signed sets.

http://msdn2.microsoft.com/en-us/library/ms794560.aspx

Does anyone knows of any way to safely share a common file between 2
different inf driver set, such that one can always ensure that the newest
version of the file always gets retained by the system, no matter what the
order of installation was? Or is it not possible to share a common file
between 2 inf driver set that is digitally signed? Thanks

KS

Re: How to share a common file in 2 different inf set? by Don

Don
Thu May 31 11:47:07 CDT 2007

Write a co-installer and hopefully have a version number in the file. Most
INF files do not worry about having multiple drivers and installing things,
so you need to do this yourself.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

"KS" <wakeup@pmail.ntu.edu.sg> wrote in message
news:egTA7K6oHHA.3944@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> Based on the INF copyfiles directive describe in the link below, it seems
> that for files that is shared between 2 different inf driver sets, there
> is no way to ensure that the latest version of the file gets retain in
> the system since the COPYFLG_OVERWRITE_OLDER_ONLY flag is ignored by
> digitally signed sets.
>
> http://msdn2.microsoft.com/en-us/library/ms794560.aspx
>
> Does anyone knows of any way to safely share a common file between 2
> different inf driver set, such that one can always ensure that the newest
> version of the file always gets retained by the system, no matter what
> the order of installation was? Or is it not possible to share a common
> file between 2 inf driver set that is digitally signed? Thanks
>
> KS
>