Signed-off-by: Zebediah Figura zfigura@codeweavers.com --- programs/dpinst/dpinst.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/programs/dpinst/dpinst.c b/programs/dpinst/dpinst.c index f883dcb8689..72fac1638b8 100644 --- a/programs/dpinst/dpinst.c +++ b/programs/dpinst/dpinst.c @@ -337,6 +337,9 @@ static void install_inf(const WCHAR *root, const WCHAR *filename)
SetupCloseFileQueue(copy_ctx.queue); SetupCloseInfFile(copy_ctx.hinf); + + if (!SetupCopyOEMInfW(concat_path(copy_ctx.dst_root, filename), NULL, SPOST_NONE, 0, NULL, 0, NULL, NULL)) + ERR("Failed to copy INF, error %lu.\n", GetLastError()); }
static bool parse_options(struct options *options, int argc, WCHAR **argv)