Check if this helps: Re: SolidWorks 2014 Installation Error
Also make sure that both setup.exe and sldim.exe are not running in compatibility mode. To check and fix, right click on the each EXE – choose Properties, then select “compatibility” tab – and verify this is disabled.
Thanks for giving a reply so quick. Just tried your suggestion regarding the compatibility of each EXE and so far its installing fine.