I am suddenly getting the same error. I must turn off Bitdefender to stop it. Bitdefender says Disinfection in progress but doesn't put anything in its log. This occurs when forming an EXE, not an MSI.
Update: Fixed by whitelisting. Still curious as to what happened.