This type of problem usually occurs when setup.dll is missing from your computer. This dll file can be downloaded from here.
http://dllcentral.com/_setup.dll/12.0.58860/
Download it and then extract the downloaded zip file to the Windows System32 folder, which is located in Windows Drive.
Note: Windows drive is the drive in which your windows is installed.