question

Sr1004-2706 avatar image
0 Votes"
Sr1004-2706 asked ZacLockard commented

SetupCopyOEMInf fails in few systems having Windows 8.1 and Windows 10

I am trying to install custom driver using the code

if(SetupCopyOEMInfW(arg, NULL, SPOST_PATH, 0, file,
ARRAY_SIZE(file), NULL, NULL))
{
}

SetupCopyOEMInfW returns false

where arg is path to the inf file

GetLasterror gives 2147418113 and sometimes 1906440435

windows-hardwarewindows-hardware-wdkwindows-hardware-code-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DoronHolan avatar image
1 Vote"
DoronHolan answered ZacLockard commented

What does setupapi.dev.log say about the attempt to copy?

· 10
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I will check setupapi.dev.log and get back

0 Votes 0 ·

@DoronHolan Failed to install catalog 'driver1.cat' as 'oem17.cat'. Error = 0x8000FFFF

0 Votes 0 ·

Can you share the whole section from the logs? Hard to understand the overall context from that line

0 Votes 0 ·
Show more comments