Jump to content
Excelsior Forums
Vladislav

Application Data folder do not work (roaming)

Recommended Posts

It is actually not a defect.

The location of Special Windows Folders (like the Application Data, My Documents etc.) depends on installation type: Common or Personal. Special folder "Application Data", it is resolved by "CSIDL_APPDATA" or "CSIDL_COMMON_APPDATA" depending on installation type.

CSIDL_APPDATA - The file system directory that serves as a common repository for application-specific data. A typical path is C:\Documents and Settings\username\Application Data.

CSIDL_COMMON_APPDATA - The file system directory that contains application data for all users. A typical path is C:\Documents and Settings\All Users\Application Data. This folder is used for application data that is not user specific.

You can select which type of installation better suits your needs from the "Installation type" combo box which is located on the page "Settings", tab "Install".

The following options are available:

Auto-detect - if the logged user has required administrative rights, the application will be installed as "Common" and will be available for all the users of that machine. Otherwise the application will be installed as "Personal" and will be available only for the user that installed it.

User decide - if the user has administrative rights he will be prompted to select installation type. Otherwise, the application will be installed as "Personal".

Common - the application will be available for all the users of that machine. If the logged user is not a member of the "Administrators" user group, he will be notified that administrative privileges are required to install the application.

Personal - the application will be available only for the user that installed it. It is supposed that the installation does not require administrative privileges.

So if you want your application to be installed to user's application data, please choose "Personal".

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

×