Four steps: an account, the launcher, entering the game and Discord.
The launcher downloads Java and the modpack itself, so there is nothing to install beforehand.
Windows Defender may delete the file right after it downloads.
This is a false positive: what to do