Warning 1909.Could not create Shortcut Visual Studio Command Prompt (2010).lnk

Visual Studio(2005/2008/2010) SP1 Installation never completes and in the MSI log it shows the bellow information:

MSI (s) (3C:D4) [20:10:57:165]: Executing op: ShortcutCreate(Name=0aszr6bc.s_v|Visual Studio 2010 Remote Debugger Folder,,,FileName=C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\Remote Debugger\,,,,,,ShowCmd=1,Description=Microsoft Visual Studio Remote Debugger Folder,,,,)
MSI (c) (54:18) [20:10:54:086]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

Warning 1909.Could not create Shortcut Visual Studio Command Prompt (2010).lnk. Verify that the destination folder exists and that you can access it.
MSI (s) (3C:D4) [20:10:57:180]: Verifying accessibility of file: Visual Studio 2010 Remote Debugger Folder.lnk

This indicates that installer could not create the shortcut and it is locked in an error loop. In order to resolve this issue, please look at the system environment variables to see if the ComSpec variable was available and it was set correctly. I created the ComSpec variable and set it to %SystemRoot%\system32\cmd.exe and re-ran the installer. The ComSpec environment variable by default points to the full path <https://en.wikipedia.org/wiki/Path_(computing)> of the command line interpreter. For more details on ComSpec, please go through the link: https://technet.microsoft.com/en-us/library/cc976142.aspx