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
- :
- Application-data folders in windows 7
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Feb 13, 2012
04:25 PM
Application-data folders in windows 7
Hi,
I'm working on a desktop application that uses both common application data (located in \Users\All Users\AppData\) as well as roaming data for the current user of the machine (\Users\\AppData\Roaming).
When the current user installs the application for the first time (I'm using InstallShield 2012), the command app data folder is created and populated and the initial default user data is placed in the users' AppData folder. For the application to function correctly, this initial default user data must exist.
However, when another user logs on to the same machine, the required user AppData folder does not exist.
My question is, what is the best way to resolve this scenario? Perhaps the installer needs to populate the '\Users\Default\' folder? Is this even the responsibility of the application, or should a network administrator ensure the folder is populated for multiple users?
Any help would be greatly appreciated!
I'm working on a desktop application that uses both common application data (located in \Users\All Users\AppData\) as well as roaming data for the current user of the machine (\Users\
When the current user installs the application for the first time (I'm using InstallShield 2012), the command app data folder is created and populated and the initial default user data is placed in the users' AppData folder. For the application to function correctly, this initial default user data must exist.
However, when another user logs on to the same machine, the required user AppData folder does not exist.
My question is, what is the best way to resolve this scenario? Perhaps the installer needs to populate the '\Users\Default\' folder? Is this even the responsibility of the application, or should a network administrator ensure the folder is populated for multiple users?
Any help would be greatly appreciated!
(1) Reply
Feb 13, 2012
07:13 PM
It can be done using the installer by authoring per-user components and triggering repair through an advertised shortcut, COM activation or the trick shown here if those don't work for you.
But truthfully, I try to avoid authoring per-user components whenever possible. I find it better to install the resources in a per-machine location and then let your application rather then the installer handle seeding any required user data.
But truthfully, I try to avoid authoring per-user components whenever possible. I find it better to install the resources in a per-machine location and then let your application rather then the installer handle seeding any required user data.