@Vasudevan, Thanks for posting in Q&A.
For your issue, if you deploy win32 app as required, whether the device meet the requirements will try to install the application, but If you want devices that do not meet the requirements not to install the app, you can assign as Available for enrolled devices and set Show this as a featured app in the Company Portal Yes, after that the app will show in the company portal and will not automatically install unless you manually click install, if the device not meet the requirement, it will not install the app and show fail to install in company portal.
As for the error code, it means that when device try to install app, some users' logoff and cause the failure, you can refer the method mentioned below to clear GRS and make you can successfully install the app for some devices which meet the requirements.
https://www.deploymentresearch.com/force-application-reinstall-in-microsoft-intune-win32-apps/
And you can re-deploy the app refer the above mentioned.
Hope above information can be helpful, if there is any update, feel free to let me know.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.