Sign in to follow this  
Staggan

Installing for all users

Recommended Posts

Hello We have found an issue with our game installer. When we install using an admin account everything is fine and dandy, however, if we then try and run the game from a standard user account the game will not run because it is installed in a folder that the standard user has no write privileges for. We do not mind if the game requires an admin to install it, this is fine, but we need to know that once the admin (possibly parent) has installed the game it will work using a standard account. The default install folder we are using is Program Files Any ideas how we can achieve this? Thanks

Share this post


Link to post
Share on other sites
Try setting the permissions of the folder during install by the admin account, allowing all users to read and write, or save any data that is required to the users local directory, instead of somewhere they don't have permission to access. This serves a dual purpose of preventing other users from messing with save games that aren't their own, if that matters...

Share this post


Link to post
Share on other sites
Quote:
Original post by Staggan
Hello

We have found an issue with our game installer.

When we install using an admin account everything is fine and dandy, however, if we then try and run the game from a standard user account the game will not run because it is installed in a folder that the standard user has no write privileges for.

We do not mind if the game requires an admin to install it, this is fine, but we need to know that once the admin (possibly parent) has installed the game it will work using a standard account.

The default install folder we are using is Program Files

Any ideas how we can achieve this?

Thanks


The game should NEVER write to files in its install folder, any data that needs to be changed (settings, etc) should be stored in the users home folder.

Share this post


Link to post
Share on other sites
Quote:
Original post by Staggan
Thanks for the quick reponses.

How do we deal with patching the executable and other assets if we do not or cannot write to the install folder?

Thanks


If an admin is needed to install the game, he/she will be needed to install the patch as well.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this