This error is caused by a Windows limitation. The path of the PC, which contains duplicated entries for SQLs and caused msiexec failure, is too long. Notepad could not be ran from command console, which is another Windows limitation.
The msiexec.exe requires a Windows path to include c:\windows\system32.
Follow these steps:
Change the windows path to the default path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
Logoff or reboot. Rebooting is preferred because it ensures the path was changed.
To verify the path changed, open the command prompt and type in "path"