Follow the steps
1. Open Control Panel, click on Programs and Features icon and then click on View installed updates link present in the left sidebar.
2. Now scroll down a little and look for following updates:
KB2966826
KB2966827
KB2966828
3. Once you find the updates, right-click on each update and select Uninstall option. Alternatively, you can double-click on the updates to directly uninstall them or click on Uninstall button present in the toolbar.
4. After uninstalling the updates, try to install .NET Framework 3.5 again using any method and this time it should install without any problem.
After installing NET Framework 3.5, you can reinstall the security updates using Windows Update.