Windows – What causes “The INF file you selected does not support this method of installation.” error

driversinfwindows 7

This question is related to this one. Also, I think it's not duplicate of this question, since I'm not asking about specific device but a more general case.

Where can I find information about driver .inf files and how windows checks if they are usable? I know that many people do modify .inf files so there must be some information on the Internet.

Basically I have a bad .inf file and would like to see what's wrong with it and how to fix it if possible.

Best Answer

INF files format reference: http://msdn.microsoft.com/en-us/library/ms764958(v=VS.85).aspx

It would help to read the Creating Setup Applications (http://msdn.microsoft.com/en-us/library/aa376920(v=VS.85).aspx) page to learn the sequence followed, so you can step through the INF manually. I suppose a programmer could attach a debugger to setup and figure out what its failing on.