Help with game's distribution

Hi guys, I have a problem. Out of curiosity, I tried to distribute my game. So when I created a distribution package, this message appeared:
1.PNG

It's in italian, and it mean "Impossible to create a distribution package". However, on my desktop there was the game's folder:
2.PNG

But when i opened it and i tried my game, another message appeared:
3.PNG

Well, the file "IconSet" is in the system's folder:
4.PNG

So, the question is: what happened?
the first message usually happens when the folderpath to the new destination or the folderpath from the old destination does not follow networking rules.

the second message often happens when the folderpath of where the game currently is breaks the networking rules.

both together mean that the folderpath toward your desktop is probably the cause of the error.
you can usually solve this by deploying to a different folder/path, one that follows the networking rules.
which means no spaces, latin letters and arabic numbers only and very few special symbols allowed.

just deploy to c:\rpggame\projectxy or something like that.

and NEVER deploy into the same folder as your project is in, that would damage the project.
Ok thank you, i'm watching the files' names and there are a lot of spaces...so, one of the problems can be it?
yes, filenames should not contain spaces either. that is why the default RTP uses _ instead of spaces.

and you can see it in every browser error message where the space infilenames is replaced with %20, exactly because browsers can't handle spaces in file- or foldernames.
i tried to change the files'names without spaces, but there is still that problem. Moreover, when i opened the game, the error's message appears. I also opened the index.html, and it said me that there is a bug of the file Actors.jason.
Edit: i finally solved the problem! And i read that the browser doesn't open the file Actors.jason, but but that doesn't matter. Thank you again for you help!

Original thread: https://forums.rpgmakerweb.com/threads/help-with-games-distribution.147622/