Can you give the exact error message, as this is one that does not appear in the code - it should also have an ID number as well?
Do you have admin rights, or, are you running in an admin command prompt?
it displayed a window with below content:
Erorr occured while you try to install.
I have admin rights
Are you sure that's the exact text of the message? I think you are paraphrasing the error.
It's important to give us the exact error message otherwise it's hard to help you.