This issue occurs when performing Windows 10 upgrades. The computer you are upgrading should have the latest Cumulative Update installed. This results in a newer version of devinv.dll in the Media Sources directory which causes the failure.
To solve this issue, when the Install.wim is updated using the latest Cumulative Update, OSBuilder will copy the updated files to the Sources directory to ensure that it is up to date.
Windows 10 Upgrade fails due to EI.CFG not containing the Windows EditionID and a Product ID not specified in the Update Task Sequence