Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Monthly Seminars at OSR Headquarters

East Coast USA
Windows Internals and SW Drivers, Dulles (Sterling) VA, 13 November 2017

Kernel Debugging & Crash Analysis for Windows, Nashua (Amherst) NH, 4 December 2017

Writing WDF Drivers I: Core Concepts, Nashua (Amherst) NH, 8 January 2018

WDF Drivers II: Advanced Implementation Techniques, Nashua (Amherst) NH, 15 January 2018


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 2  
01 Nov 11 13:09
chhajjer
xxxxxx@yahoo.com
Join Date: 01 Nov 2011
Posts To This List: 14
inf2cat error - how to copy multiple files under different directory using inf files

I am seeing this inf2cat error and was wondering how to get around with it. I have a use case where I have multiple cfg files for eg FolderA\touch.cfg, FolderB\touch.cfg. I want to copy to the target machine as part of the driver installation I have been using this inf file before without inf2cat conversion and did not see the issue before. However when doing inf2cat conversion I am seeing an issue. Was wondering if you have any insight on it why inf2cat is complaining. This is my snapshot of the inf file. [SourceDisksNames] 3426=windows cd [SourceDisksFiles] Touch.sys = 3426 FolderA\touch.cfg = 3426 FolderB\touch.cfg = 3426 [Version] : CatalogFile =touch.cat [DestinationDirs] DefaultDestDir =11 TouchInst.Win8.NT.Copy =12 [TouchInst.....] CopyFiles =Touch.Win8.NT.Copy, DefaultDestDir [TouchInst....] Touch.sys [DefaultDestDir] FolderA\touch.cfg FolderB\touch.cfg : : : ---------------------------- When compiling I see this inf2cat error Signability test failed. Errors: 22.9.1: FolderA\touch,cfg in [defaultdestdir] of \touch.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. 22.9.1: FolderB\touch,cfg in [defaultdestdir] of \touch.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. error MSB6006: "inf2cat.exe" exited with code -2. Note I checked the FolderB\touch.cfg, FolderA\touch.cfg folders along with their filename exists where the inf and sys file exists. Looks like it is not recognizing the folder/file name format. Was wondering why only only inf2cat fails. I used the inf file on the target before without signabililty and it had worked fine. It copied the foldername/file name to target machine I have question how do you copy multiples files(which happen to have the same name) which are in different directories using inf. The method that I used by specifying foldername/filename works on the target but inf2cat fails. Any pointers
  Message 2 of 2  
02 Nov 11 13:09
Tim Roberts
xxxxxx@probo.com
Join Date: 28 Jan 2005
Posts To This List: 11654
inf2cat error - how to copy multiple files under different directory using inf files

xxxxx@yahoo.com wrote: > I am seeing this inf2cat error and was wondering how to get around with it. > I have a use case where I have multiple cfg files for eg FolderA\touch.cfg, FolderB\touch.cfg. I want to copy to the target machine as part of the driver installation > I have been using this inf file before without inf2cat conversion and did not see the issue before. However when doing inf2cat conversion I am seeing an issue. Was wondering if you have any insight on it why inf2cat is complaining. > > This is my snapshot of the inf file. > > [SourceDisksNames] > 3426=windows cd > > [SourceDisksFiles] <...excess quoted lines suppressed...> Sadly, you can't have two files with the same name in a single architecture. You will have to change the names in your driver package. You can rename in the CopyFiles section so that they go in with the names you want. The syntax for having files come from subdirectories is: ... CopyFiles = folderA, folderB [SourceDisksFiles] Touch.sys = 3426 touchA.cfg = 3426\FolderA touchB.cfg = 3426\FolderB [DestinationDirs] folderA = 99\FolderA folderB = 99\FolderB [folderA] touchA.cfg = touch.cfg [folderB] touchB.cfg = touch.cfg -- Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc.
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 00:30.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license