It isn't illegal to install like that. The installer just extracts itself to local AppData, creates a shortcut, and can be uninstalled from the control panel.
We've never had a report of game files being deleted by AV. Which game is that happening with, and with what AV? The app doesn't do...