I am working on an ASP.NET WPF Desktop Application and have created a Setup Project to generate an MSI installer. However, when I share the MSI file, users get security warnings like:
"This file may be harmful to your PC"
OR
"This file may contain a virus"
To resolve this, I tried using a self-signed certificate for code signing, but the warning still appears. I tried:
- Self-signing the MSI file using signtool.exe
- Checking for any antivirus flags.
- Researching paid Code Signing Certificates, but they are not budget-friendly.
Is there any free or low-cost way to sign the MSI file properly? and How can I distribute my MSI file without triggering these warnings?