It's doesn't matter if it's 7 or 8/8.1/10.
NET Framework works 3.5 works on almost all the version of Windows from XP up to 10.
Well, try the offline installer if this problem is still persisting then re-download the online one if this didn't fixed the problem maybe something's from your AV or Firewall.