none
What is the value of %MediaDescription% RRS feed

  • Question

  • in an INX file I have this 

    [SourceDisksNames]
    1 = %MediaDescription%

    How do I find the what %MediaDescription% is set to and where can I change it.

    Friday, October 9, 2015 2:53 PM

Answers

  • The %XXX% syntax means this is a string.  Look in the Strings section of the INX (typically at the bottom of the INX file) for the declaration of MediaDescription


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Friday, October 9, 2015 2:56 PM

All replies

  • The %XXX% syntax means this is a string.  Look in the Strings section of the INX (typically at the bottom of the INX file) for the declaration of MediaDescription


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Friday, October 9, 2015 2:56 PM
  • okay it is set to this MediaDescription="Sample Driver Installation Media"

    Which makes no sense to me because I am getting this error.
     1=%mediadescription% in [sourcedisksnames] of \wudfbiousbsample.inf appears to be referencing files outside of the path given (C:\Repos\biometrics\x64\Debug\package\)
    I would have thought that it was a path.

    Friday, October 9, 2015 3:30 PM
  • No that is purely the string displayed during installation.  The error is most likely because of the subsequent items on the line see the description at https://msdn.microsoft.com/en-us/library/windows/hardware/ff547478%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

    You are probably referencing a file that is not relative to the INF file.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Friday, October 9, 2015 3:35 PM
  • Okay here is the root error that I thought I had solved but did not.

     engineadapter.dll in [winbioengineadaptercopy] of \wudfbiousbsample.inf is missing or cannot be decompressed from source media.  Please verify all path values specified in SourceDisksNames, SouceDisksFiles, and CopyFiles sections resolve to the actual location of the file, and are expressed in terms relative to the location of the inf.



    Here is the Source Disk Files

    [SourceDisksFiles]
    WudfBioUsbSample.dll=1
    EngineAdapter.dll=1 ; Vendor engine adapter
    WudfUpdate_$UMDFCOINSTALLERVERSION$.dll=1

    And 

    [SourceDisksNames]
    1 = %MediaDescription%

    I tried changing the like with the EngineAdapter to this EngineAdapter.dll=1 ,..\x64\Debug\package

    but that did work.
    I am working right from the microsoft example 

    Friday, October 9, 2015 6:30 PM
  • In the directory that the INF file is in, or a subdirectory thereof where is EngineAdapter.dll located?  It can't be in a location that is "..\x64\Debug\package" it needs to be under the directory with the INF file.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Friday, October 9, 2015 6:38 PM