The ramdisk.inx file is using "sane" line endings, i.e., \n
While I do believe the world would be a better place if every body used only \n to end their lines, Windows unfortunately insists on the terrible \r\n combo. So much that the DDK seems to be unable to parse the ramdisk.inx file correctly and the resulting ramdisk.inf ends up no having the variable values replaced.
For instance, this part of the inx file
[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"
remains exactly the same on the inf file. $KMDFCOINSTALLERVERSION$ is still there.
The
ramdisk.inxfile is using "sane" line endings, i.e.,\nWhile I do believe the world would be a better place if every body used only
\nto end their lines, Windows unfortunately insists on the terrible\r\ncombo. So much that the DDK seems to be unable to parse theramdisk.inxfile correctly and the resultingramdisk.infends up no having the variable values replaced.For instance, this part of the inx file
[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"
remains exactly the same on the inf file.
$KMDFCOINSTALLERVERSION$is still there.