I have recently faced this Script error while installing VMware Workstation on my Laptop. This is quite annoying that we can’t past this screen even accepting the error with “YES” or “NO”.
VMware Communities recommended to install it in Silent mode background install, Hopefully that worked for some people, who are lucky maybe if they haven’t saw this awesome method whilst their time…
This method involves, just changing your temp file directory temporarily. So a minor changes are needed to install VMware Workstation Successfully on your Machine, bypassing the script errors and any issues.
First off, Go to System properties by right-clicking the computer and selecting the properties option, and then following to click the Advanced System Settings in the Left hand side
Once You are at this Environment Variables Screen, All you have to do is to Edit the TEMP and TMP FILES Path to C:\Tmp path. Once you do that with the system and user variables, the installation will proceed smoothly. Remember to copy the paths of the original “TEMP” and “TMP” paths to “Notepad” to revert back to original TEMP and TMP paths once Workstation installation has been successful. Do for the both System and User environment variables.
When changed to C:\Tmp file path, the extracting files of Vmware workstation would be done to Tmp file in C, where the script errors that are occuring can be fully resolved with this method. The temp path has issues when reading the index.htm file in extracted Vmware folder. You can name your TEMP and TMP files as you wish, but remember to revert back to original PATHS for TEMP and TMP in environment variables, once your installation is made.
Hope this helps other panicked, irritated patrons.
Chaladi
It worked for me
Windows 7 64bit
Thank you
LikeLike
Thanks for visiting my blog 🙂
LikeLike
supebbbbbbbbbbbbbbbbbbb solution………………..for this problem.
LikeLike
Thank you
LikeLike
Yeah…!!!! That works…thanks 🙂
LikeLike
Awesome Saurabh…
LikeLike
It didn’t work for me. anyway thanks for sharing.
My solution is change setting in Internet Explorer. I changed my Internet Explorer to work offline.
File -> Work offline.
This trick works for me.
thanks.
LikeLike
That’s cool… Let’s see someone else test it and respond. Thank you for your visit
LikeLike
Thanks dude, it worked!!!!
Question is, why hasn’t Microsoft or VMware not put this up as an article?
LikeLike
Good question to put for them…
LikeLike
But thanks a lot. Trying to install OSX 10.7.3 on my laptop to code iOS apps. You have been a lot of help.
LikeLike
Thanks you too… For your wonderful visit and comments…
LikeLike
Thanks! Works for me after reboot on win7 64bit. Had a lot reasearch to do for this bug.
LikeLike
Great and cheers man
LikeLike
THNKQQQQQQQQQQ…IT EORKED
LikeLike
Welcome dude… Cheers for visit.
LikeLike
I had the same error this time it’s C:/TEMP/Vmware bla bla bla… it’s not working for some reason T_T
LikeLike
Oops!
LikeLike
So~…. what do i do? Anything i miss? I renamed n made the folder in the C drive. I prompt the environmental variable to dat folder in the C drive. But d installation still doesnt work. So wats d problem? What did i miss?
LikeLike
If you have tried the above steps very thoroughly not skipping or mistaked then I believe one other option is trying silent installation from command-line with envi variables set and rebooted the pc.
Let me know if you have done that too or willing to.
LikeLike
what is your email so i can upload the extact error message i am encountering as all your solution is not working for me my friend, help me???? or is there a way to upload a jpeg image on this forum? tell me my friend
LikeLike
You can upload the image to tinypic and paste the url link here… I will then see the exact problem
LikeLike
oops i dont think yu did 🙂 i wanted you to inbox me the video solution for this particular problem as i have tried all avenues and still not working i changed almost every parameters around and still no luck 😦 DID I MISS SOMETHING SOMEWHERE AS NEARLY EVERYBODY HERE SAYS IT WORKS!? :8 pls do get back to me with the video solutions. cheers
LikeLike
Hi Jeff,
Before I proceed further with the video making, Can you please do the below steps as i say.
1- Go to your System Properties,
2- And go to Advanced settings, and Environment variables As you see in the above posted screenshots.
3- Now please edit the TEMP and TMP file locations of System variables… Means you edit the TEMP and TMP to change the settings.
4- Before doing 3rd step you have to create a folder called TMP or whatever you like, but the same folder name shall be put in path.
5- Now edit the TMP and TEMP settings of system variables and Copy all the settings in there and paste in Notepad to revertback after installing VMware successfully.
6- Now once you copied the notes in there, delete all the data and just type C:\TMP, where the TMP is the folder you created just now in C Drive directly.
7- Now reboot for better work. Remember to save the notepad that you copied all the data of original TEMP and TMP patch settings
8- After reboot, please try again the installation and let me know if u still face any issues. If you are failing at this point, try the User variables changes also and reboot and see. Even after this change this doesn’t work for you. Plz let me know.
Cheers!
LikeLike
ok mate lemme try now and i will get back to you thanks
LikeLike
Thanks my man!!! You are a real citizen of the World – Cheers
LikeLike
Hahaha that’s a quite a good comment. Cheers mate.
LikeLike
Obrigado cara
LikeLike
muito obrigado pelo comentário 🙂
LikeLike
Hi Chaladi, I hope you can help. Your post is great, but as I have very little confidence with computers, I wonder if you can tell me in more detail HOW to change the temp file path? I don’t want to do something I can’t undo later. I really need a step by step method, please.
LikeLike
Hi samar,
As the post explains… You have to goto environment variables settings and change the system settings menu which is below to user environments settings.
You edit path settings and copy all the text in it and paste it for backup purposes. If you are done with that, now type New text like said in post; c:temp or whatever you created in x drive.
Please go patiently once again through my post. You will now be clear and confident.
LikeLike
Chaladi … I could literally hug you dude (((((( Chaladi )))))) ….and no I’m not gay lol …. God Bless you and Have a Happy & Healthy Holiday Season, Dude your a lifesaver !
LikeLike
Awesome… Matthew. I think we don’t have to be Gays to hug… Lol.
A wonderful comment in the recent times I read and got. 🙂 cheers! For that.
LikeLike
Hey thanks chaladi it works !! 🙂
LikeLike
Ur welcome… Thnq for ur comments. Cheers! Happy for u.
LikeLike
user:
TEMP = %USERPROFILE%\AppData\Local\Temp
TMP = %USERPROFILE%\AppData\Local\Temp
system:
TEMP = %SystemRoot%\TEMP
TMP = %SystemRoot%\TEMP
this trick did not work
LikeLike
How can this work, if the default values are not changed. See the post and read through.
LikeLike
Thanks for sharing, but that didn’t worked for me…
LikeLike
Oh! Sorry abt that.
LikeLike
Hey, wait! Now it works, looks like I should first create the “temp” folder on C: to make this trick work.. thanks chaladi!
LikeLike
Oh! Yes that shld be done as said in post. Anyways thnq for coming back and letting know.
LikeLike
Wow thanks it works for me Win7 32 bit
LikeLike
Thank you too… For letting this know
LikeLike
Hi

I did all the steps but still not work for me
look my screenshot
LikeLike
Hey!
I knew this is the by far the late reply… but to tell other people at least here, the system variable change is needed rather than User variables.
Please change the System variables and reboot if necessary to bypass errors.
LikeLike
Hello, thanks for all, it’s work..
lm verry happy. thank you,
Dirk
LikeLike
Cheers…
LikeLike
can you typ the right code please i need it for school
LikeLike
Hi Dirk,
First Off, Where are you typing this Code? In the NEW Environment Variable? in System Advanced settings?
Then Instead Using USERPROFILE, Try Giving it full source like C:\Users\Your_Name\AppData\Local\Temp
See the below Linked Image screenshot for your clarification purposes.

If the issue is of different then please let me know…
Cheers!
LikeLike
I have this now :%USERPROFILE%\AppData\Local\Tmp..
Now i get a runtime error.. please help me what’s the fould?
LikeLike
not working for me what to do?
LikeLike
Did u tried the other procedures which I mentioned of alternatives?
LikeLike
Hello, Whats the good code %USERPROFILE%\AppData\Local\C:\Tmp doesn’t work? can you help me please
LikeLike
There shall not be c: after Local…
LikeLike
Thank you for your help….
It’s really works for my laptop….
LikeLike
congrats! and thnx for comment
LikeLike
THNX SIR IT HAD WORKED
LikeLike
Ur welcome … and thanks for taking time n commenting
LikeLike
It work’s me too thank you so much Chaladi
LikeLike
Your welcome Dear…
Cheers! and thanks for not just passing by… but spending time to say thanks for my little work…
Great going like this so…
LikeLike
Dear chaladi Thank you for your post. Bot I have got a problem. I forgot to save original temp and tmp path. How do I revert back to original setting? Thanks in advance.
LikeLike
Oh! The only chance is to system restore… I warned u prior. Sorry!
LikeLike
Thaks is helpfull
LikeLike
Thanks a lot Chaladi.
Very helpful.
VMware workstation 9 on windows 8
LikeLike
You are welcome and thanks for comment on my work.
LikeLike
Thanks for the help.. 🙂
LikeLike
U saved my life !
LikeLike
Thanks a LOADss buddy….this works for tooooo… 🙂
m using win-7 proff. , i5-3rd gen, 64bit
LikeLike
You are welcome… thanks for visiting my blog and commenting which shows your diplomacy…
LikeLike
tHANK YOU SO MUCh this worked on windows 7 32 for me.
LikeLike
You are very welcome. Knowledge is for sharing; and I believe that!
LikeLike
Chaladi this has not worked for me. I might be doing something wrong. Can you tell me what path I need to set it to exactly?
LikeLike
Hi,
You just needed to change system TEMP path variables…
You can rename existing TEMP variable as Temp1 and create new TEMP variable as suggested in post.
No user variable change is needed.
Do exactly as it says in blog post.
Cheers!
LikeLike
Oh! really? i was wondering with the temp folder location> shame that locations are errors in tmp folder spots. must be noted in forums and elsewhere taken to vmware forums, found the command line cool but not comfortable.
LikeLike
i dont know what to do can you make a video on this please
LikeLike
Hi jeff,
Will do that for u in a day… Come back in a day… Thnx for Ur visit.
LikeLike
Hi Jeff,
Before I proceed further with the video making, Can you please do the below steps as i say.
1- Go to your System Properties,
2- And go to Advanced settings, and Environment variables As you see in the above posted screenshots.
3- Now please edit the TEMP and TMP file locations of System variables… Means you edit the TEMP and TMP to change the settings.
4- Before doing 3rd step you have to create a folder called TMP or whatever you like, but the same folder name shall be put in path.
5- Now edit the TMP and TEMP settings of system variables and Copy all the settings in there and paste in Notepad to revertback after installing VMware successfully.
6- Now once you copied the notes in there, delete all the data and just type C:\TMP, where the TMP is the folder you created just now in C Drive directly.
7- Now reboot for better work. Remember to save the notepad that you copied all the data of original TEMP and TMP patch settings
8- After reboot, please try again the installation and let me know if u still face any issues. If you are failing at this point, try the User variables changes also and reboot and see. Even after this change this doesn’t work for you. Plz let me know.
Cheers!
LikeLike