I was trying to install VMware Player 6.0.2 in a Windows 8.1 Professional 64-bit O/S.
I kept on having "Script Error" (cf image below).
After some investigations, I found out the cause of the problem. It's because the user name contains an apostrophe. In some countries, it's natural to have an apostrophe in the name, eg Jeanne d'Arc. For privacy issue, I won't mention the real name in my case, so let's say it's Jeanne d'Arc. In this problem, the path to "index.htm" is
C:\users\Jeanne d'Arc\AppData\Local\Temp\vmware_xxxxxxx\index.htm
Then I created another user name "Jeanne d Arc". I used this new account to run the setup again and I didn't have the "Script Error". It's then clear to me that the apostrophe in user name (and thus in file path) was the cause of the problem.
I suspect this problem can also occur for VMware Workstation setup.