I am using DPInst-tool to install a driver (I have .inf and .sys files). In dpinst.xml I specified search-element as follows:
<search>
<subDirectory>*</subDirectory>
</search>
But during the installation the "Files needed" popup-window appears asking me to specify the location of the .sys file.
Is it possible to specify it's location prior the installation in the dpinst.xml or maybe in the .inf-file?
DPInst searches for the .inf file. You are telling DPInst to search recursivly in all subfolders relative to DPInst working directory. Your .inf file should point to a .sys file.
Look at here for info on .inf files and here for more info on DPInst.