You are correct, the "Compress the Runtime" option was removed a few years ago due to it only saving minimal space while increasing the likelihood of an application being falsely flagged as a virus. This was due to how the program decompressed the runtime at launch, a behavior which Windows and many antiviruses didn't like.
It seems you also already have "Unpacked EXE" checked, which is good.
When you say what Windows is detecting your application as a virus, do you mean that your antivirus is actually detecting the app and quarantining it? Or do you mean that you are getting a "Windows protected your PC" SmartScreen warning? If your antivirus is flagging your program, then you should submit a false positive report to them. If it is a
Windows SmartScreen error, then this is not Windows "detecting it as a virus", it's simply a warning. You can still run the application by clicking "More info" and then clicking "Run anyway". New apps or apps that are not commonly downloaded are more likely to trigger SmartScreen. As far as I'm aware, the only way to prevent this warning from appearing is having enough people download and run it so that Windows sees it as a common application, or by
signing your application with a code-signing certificate.