I am trying to install winex, I get this error message

Preparing to install default Wine registry entries...
Installing default Wine registry entries...

./tools/wineinstall: line 562: programs/regapi/regapi: Permission denied
Registry install failed.
any ideas?

thanks