Cannot install Nothing on wine - Error 256

Tried to install games on wine, and i cant. It returns me always a similar message to this:

This is for league of legends

Started initial process 5368 from /home/sharedordaz/.local/share/lutris/runners/wine/lutris-ge-lol-7.0-5-x86_64/bin/wine /home/sharedordaz/Games/league-of-legends/drive_c/windows/explorer.exe /home/sharedordaz/.cache/lutris/installer/league-of-legends/lol_installer/
Start monitoring process.
Monitored process exited.
Initial process has exited (return code: 256)
All processes have quit
Exit with return code 256

So after that the window stays frozen. What do means that? How to fix it? thank you

I think it means file permissions aren’t allowing the installer to write to .wine. I usually just delete the folder and try again. It’s lazy, but works for me.