This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Proper placement for application data and user settings files for Win7/Vista/XP insta
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 15, 2010
03:21 PM
Proper placement for application data and user settings files for Win7/Vista/XP insta
I have been struggling with my Win32 application data directories (for quite some time). Specifically I cant seem to get the right folders for putting program, settings, and data files for my application in the right places. Admittedly I have come from the old school DOS era so I have been putting off the multi user and security best practices but due to the amount of users I have to support, it is time to do this right.
Here is what I need to do: Have my windows application (XP/Vista/7) be usable by All Users on a machine to share the data (database, files and settings) so that all users can run the program under standard User rights and privileges. To accomplish this are these the correct places for my installer and program to use:
%PROGRAMFILES% = where all the prgrom executable and static files such as dll and other modules that are not changeable by the user or the application itself. (NOTE: Since My application is a 32bit application in 64-bit OS installs this would be %PROGRAMFILES(X86)%)
%ALLUSERSPROFILE%\MyApp = where all the database files, settings files, license files and user data files such as created data and report data.
Is this the proper way?
Here is what I need to do: Have my windows application (XP/Vista/7) be usable by All Users on a machine to share the data (database, files and settings) so that all users can run the program under standard User rights and privileges. To accomplish this are these the correct places for my installer and program to use:
%PROGRAMFILES% = where all the prgrom executable and static files such as dll and other modules that are not changeable by the user or the application itself. (NOTE: Since My application is a 32bit application in 64-bit OS installs this would be %PROGRAMFILES(X86)%)
%ALLUSERSPROFILE%\MyApp = where all the database files, settings files, license files and user data files such as created data and report data.
Is this the proper way?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 16, 2010
12:20 AM
I feel that is right. With the application files (dlls) program files hold the proper path and regarding the settings and license files... using the allusersprofile may not be helpful since the settings file may be different for various user accounts.
Instead I believe, the UserProfile can be used.
Instead I believe, the UserProfile can be used.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)