I have 2 versions of a DLL: 1 works on WM5 devices, the other works on WM6 devices. While the filenames are identical (SDiD_Driver.dll), they have different file versions and come from different "source" directories:
C:\src\drivers\WM5\SDiD_Driver.dll
C:\src\drivers\WM6\SDiD_Driver.dll
As you might have guessed, I want to specify the appropriate one for my WM5 and WM6 configurations. But AI won't let me specify 2 files with duplicate filenames to install into the same directory.
I got around this problem in our old INF CAB script by redefining the SourceDisksNames entry:
Code: Select all
[SourceDisksNames]
1=,"Common1",,"Dir1"
2=,"Common2",,"Dir2"
3=,"Common3",,"Dir3"
4=,"Common4",,"Dir4"
5=,"Common5",,"Src\Drivers\WM5\"
[SourceDisksNames.WM6]
5=,"Common5",,"Src\Drivers\WM6\"
[SourceDisksFiles]
...
"SDiD_Driver.dll"=5
Is there some workaround I could use to duplicate this behavior? Really this is the only bit that is keeping me from switching our CAB installer completely over to AI (and I really want to do that).
Thanks!
-Chris