none
INF CopyFiles directive (avoid file overwrite prompt) RRS feed

  • Question

  • Hello, I have a question regarding copy file without the system prompt for replacing newer file and hope someone can spot something wrong here.  I have an inf file that need to copy a file "driver1.sys" to system\drivers\

    [InstallUsb.NT]
    CopyFiles =Install.NT.Copy

    [Install.NT.Copy]
    driver1.sys,,,0x20
    driver2.sys
    driver3.sys

    I specified 0x20 with intention not over write newer "driver1.sys", but I still see the prompt dialog box asking if the user wants to overwrite newer "driver1.sys". Is there something wrong in the above inf lines ?

    Thanks in advance

    Thursday, February 13, 2020 6:01 AM