Check if the file is digitally signed. A digital signature can help verify the identity of the publisher and ensure that the file hasn't been tampered with.
A previous software installation failed, leaving behind a corrupted file pathway. Step-by-Step Troubleshooting Guide Step 1: Run a Full Malware Scan
The only way to minimize risk is to obtain the file directly from the official manufacturer's support website for your specific hardware model. If the file is offered as a download directly from your camera's built-in web server, that is also a relatively safer source, though not without risk.