I fixed it by following steps mentioned here: https://forum.ansys.com/forums/topic/critical-error-during-installation/
Please Login to Report Topic
Please Login to Share Feed