I myself was able to fix this above error by uninstalling stm32cubeIDE from control panel and ST related driver packages then redownloaded the IDE setup file then turned off my antivirus software then tried to install once more.At this time It worked...