How to solve the error "AppleOSSMgr.exe error" when installing Boot camp driver in Win11

"AppleOSSMgr.exe error" error, win11 reported an error when installing the Boot camp driver. The error was reported halfway through the installation. After closing the error, the Boot camp driver installation failed. After installing win11 on an Apple laptop, the F1, F2, F3 and other keyboard keys are invalid by default, and there is no way to use the FN key. The keyboard backlight is also not on. You need to install the Boot camp driver.