As title.
Since the MSI status can already display the reason for the installation failure (Unsupported OS version), I think you should be able to create a pop-up window to inform the customer.