If Kaspersky detected your program as being infected with a virus, the best thing you can do, for the safety of your computer, is to let your antivirus repair/ remove the application. If you are sure about the safety of the software, you can always stop Kaskpersky's protection and run your .exe file.