I have some of the requirements, which I can verify only after the install services step. Now I have a PowerShell script that runs those checks. I am using AI_SetMsiProperty to mark that this validation has failed.
Now What I want is that after running this script. If any of the checks fails or MY_PROPERTY = "value" then I want to pop a custom warning window and rollback the installation
Flow I am searching for:
Click on the Install button --> After Starting service ---> run a custom action ---> If MY_PROPERTY = "VALUE" --> show a warning message and fail the installation
Thanks