How to run a published project on another machine


I have a project created on a computer. I published it and the format is .nupkg.
But if I try to run the bot on another computer it may end up with errors as there can be a different resolution or different rights to the user and all that stuff.
How can I take into account all of these things and make the robot work?