Im using windows and vc 2010.
1) What installer are you using?
Advanced Installer
2) Is your installer really copying all the files needed?
I included all the dll files e.g sfml-graphics-2.dll , and all the 6 other dlls (so 7 dll.s)
And then i include the my font and highscore.txt. But if i include the highscore.txt, and make the installer, then i can only open it,
but not save it. I know i can open highscore.txt because i put "1" in highscore.txt and it shows highscore: 1 (and not 5 because thats what i made it default).
And if i dont include the highscore.txt, then i make the installer, install on my computer and then i have to make a new highscore.txt (e.g on my desktop) and put it in my c drive where i installed the program (where the font and cpp is).
Then it can save and work perfectlySooooooo strange
3) Do you need administrator rights on the destination folder?
I dont really know what u mean by that. But i couldn't change the highscore.txt directly inside the program(where the fonts and dlls are), but i could make a highscore.txt(on the desktop) and then put it in the folder where the current highscore.txt is and replace it with the new one( which works and its like cheat if u want to change the highscore).
But i think it was the administrator rights when i had to do that, because i get a message and it said something like that.
4) You should check if your file can be opened
Yes, it opens, but its not saving. (only if i make the installer and
dont include the highscore.txt, and after i install it, i have to make a highscore.txt in my desktop and put it in the program(where the font and dlls are) THEN IT WORKS.... SOOOOOO STRANGE
im so confused right now :/
Also... can u recommend me some other installers that i should try out, maybe that would solve the problem
Because it works when im debugging,
but not when i have installed it and run it.
But thanks
alot, i appreciate your help so so much