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

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]
Touch.sys = 3426
FolderA\touch.cfg = 3426
FolderB\touch.cfg = 3426

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.