We built the driver package project infrastructure to create one package per architecture vs mult architectures in the same package. This is the guidance we now give on MSDN in general for driver packages. Multiple architectures in the package is quite difficult to get right and highly problematic. In that light, the following in your INF is probably the source of confusion
[SourceDisksNames.x86]
1 = %diskid1%,\i386
The package project must be looking for the sys file in .\i386 sub folder of where the inf file resides. inf2cat thinks sys file is located in x64\Win8Debug\Package\i386 folder instead of x64\Win8Debug\Package because of that entry.
So, I think you have two choices
- Refactor the INF into arch specific packages
Or
- You can attempt to create per architecture copy file directives that override the default copy behavior the package project has. You can do this by right clicking on the driver package project in the UI, select Properties, then Configuration Properties | Driver Install | Package Files and then fill out the table. You want to be careful of the configuration that you do this for. For instance, to do this for all x86 targets (ie vista through win8), select “All Configruations” in the Configuration dropdown at the top of the property dialog and then choose Win32 for the Platform
d
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Prokash Sinha
Sent: Friday, June 8, 2012 12:29 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Vs 2012 & driver build
The listserver might be in alert mode :), seeing some odd behavior.
I just saw there is that driver-Packages folder, and as per your path, yes only the two files exist there. On the studio I saw it creates two projects, I think the *.sln file contain both projects, so when I invoke the msbuild, the final stage is to package!!
Yes, both file exist.
The folder structure is <buildtype><platform>
I’ve not seen any Package folder anywhere. Am I suppose to have such a folder ?
-pro
On Jun 8, 2012, at 11:57 AM, Doron Holan wrote:
Correct. We generate the cat as a part of the package project
1) does "C:\Users\prokash\dp_5_17\DPLEX\win\portfltr\Win8Debug\x64\nveloportfltr.sys exist?
2) is there a copy of the sys and inf in x64\Win8Debug\Package ?
-----Original Message-----
From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.com]mailto: On Behalf Of Prokash Sinha
Sent: Friday, June 8, 2012 11:46 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Vs 2012 & driver build
Looks like empty placeholder type cat file is no longer an option???
-pro
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
—
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:></mailto:xxxxx>