-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update BthEchoSampleCli and BthEchoSampleSrv to be single architectur… #825
Update BthEchoSampleCli and BthEchoSampleSrv to be single architectur… #825
Conversation
…e targeted and the specific build architecture is stamped at the time it is built.
The TargetOSVersion for the Models sections for both INFs previously was NT...1 which scopes this to a ProductType of VER_NT_WORKSTATION (see https://learn.microsoft.com/en-us/windows-hardware/drivers/install/inf-manufacturer-section ). You removed those ...1 so now the INFs will apply to all product types. Is that intentional? If you really do support all product types (which drivers usually do), we do support removing product type filtering, but I want to make sure that is intentional. |
The INFs have:
and
Which aren't specifically called out in the DestinationDirs section so they will use the DefaultDestDir which you updated to DIRID 13 (thanks!). But that means that these files are no longer copied to the "drivers directory", so the CopyFiles section name of "Drivers_Dir" is misleading. We should probably rename that section. |
You changed the DestinationDirs of CopyFiles section [BthEchoSampleCli_Inst_CoInstaller_CopyFiles], but you didn't change the AddReg registering the file copied by the CopyFiles section:
However, CoInstallers are (long) deprecated and this WDF coinstaller hasn't been needed in the INF since around Windows 8 and we ignore it (hence why no InfVerif error about it), so you should be able to remove the WDF coinstaller references from your INF. (Same comments apply to the similar sections/changes in the other INF) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments
Rename CopyFiles section from Drivers_Dir to DriverStore_Dir. Revert TargetOSVersion for the Models sections to NT$ARCH$...1, the same as before without my changes.
Thanks, I removed coinstaller references from both INX files. |
I renamed Drivers_Dir to DriverStore_Dir. Thanks. |
Recert back to NT$ARCH$...1. Thanks. |
I see that when you removed the coinstaller references, you also removed:
and
Those are not tied to the coinstaller and I believe should still be there (the coinstaller would look at them but I believe the new logic that makes the coinstaller unneccessary also looks at those). Can you please add them back? |
https://github.com/microsoft/Windows-driver-samples/blob/develop/bluetooth/bthecho/README.md says:
and
With the removal of the coinstaller reference from the INFs, I believe those steps now aren't needed, right? If so, can you please update the README.md? |
Done, thanks. |
Done, thanks. |
…e targeted and the specific build architecture is stamped at the time it is built.