A few ideas that may work, may not.
#1. Enable TrustedInstaller ("Windows Modules Installer") in your Services.msc. If it's already enabled or set to Manual, try Starting it.
#2. Be sure you are running the setup as Admin. Right click on it and choose Run as Admin.
#3. See Lylou's answer about "Super Administrator" on the link provided above: http
/www.sonyvegas.co.uk/error-2147163964-getlasterror5-during-install/
Be sure to disable it when done (whether it works or not).
Better instructions:
https/www.thewindowsclub.com/activate-windows-super-administrator-account
Read all of it beforehand.
#4. Another potential answer: https
/www.reddit.com/r/SonyVegas/comments/3xm487/fix_for_sfppack1_x64dll_install_error/
Other ideas: https
/www.vegascreativesoftware.info/us/forum/can-t-install-vegas-13-failed-to-register-module--97389/