In an INF file[1], you specify that a control is "Shared" by giving it
the 0x80000000 flag, like so:

"Adosync.Dll",,,0x80000000

But how do you tell it to automatically overwrite a control ONLY if it
is newer than the one on the device (as well as having it Shared), and
otherwise not overwrite any of them, and not ask any questions when the
CAB is installing?

According to the MSDN (again, see [1] below), 0x20000000 means "Do not
copy file if target file is newer."

But does this mean

a) it *will* copy newer ones automatically, WITHOUT asking,
b) the older ones *won't* copy, again WITHOUT asking, and
c) the combo of "Shared" and "Overwrite Newer Only" is 0xA0000000?
(i.e., 0x80000000 ORed with 0x20000000)?

Any help on this will be greatly appreciated. Many thanks!


[1] See http://tinyurl.com/k2ow

--
da
~~
"OE Quotefix" http://flash.to/oe-quotefix
to fix Outlook Express' broken quoting.