Hello
Creating a shortcut in PnP installing by adding a section in the INF file for Windows XP and Windows 11 can be a bit tricky due to the differences in these operating systems.
The RunOnce method is used only in Windows XP and the Coinstaller method doesn’t support Windows 11. This might be the reason why your WHCK (Windows Hardware Certification Kit) test failed.
To create a shortcut in all versions of Windows and pass the WHCK, you might need to use a different approach. Here are some general steps you could consider:
Review Hardware Requirements: Building a great Windows device starts with understanding the hardware requirements.
Register on Hardware Dashboard: Before you start testing for Windows compatibility, you should register with the hardware dashboard.
Install the Windows Hardware Lab Kit: Get ready to test your Windows hardware by installing the Windows Hardware Lab Kit (HLK) and configuring your test environment.
Submit Results: After testing your hardware and packaging the results with the HLK, you can submit the results to the hardware dashboard to qualify for the Windows Hardware Compatibility Program.
Please note that these are general steps and might not directly solve your problem. The exact method can vary depending on the specifics of your application and system configuration.