If you are getting error while registering vbscript.dll then Go to Settings - Apps - Optional Features - Look for VBScript in the list of installed features.
If it's not listed, click Add a feature, search for VBScript, and install it.
Restart your computer and try installing the Epic Games Launcher again.
Also try registering again in command prompt by running below command
regsvr32 vbscript.dll
If you are still getting an error then once navigate to C:\Windows\System32 or C:\Windows\SysWOW64 then check if vbscript.dll exists.
If it not exists then Open command prompt as an administrator and run below command
sfc /scannow
Now, Run again regsvr32 vbscript.dll
Please let me know how it goes !