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
- :
- Good place to save data in Vista
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 14, 2008
10:08 AM
Good place to save data in Vista
Hi everyone,
With our install (Installscript) we allow our customers to select a default 'save data' location on one of my dialogs.
This is all fine and dandy but with Vista it doesn't work as well, as our default location is under c:\program files\, which is a no-no. If a customer chooses something under program files there's seems to be nothing but problems.
With MSI installs I have a ton of system variables I could choose to display (LocalAppDataFolder, CommonAppDataFolder, etc) but with Installscript I'm pretty limited.
Is there a fairly 'safe' place a customer can store data on Vista?
With our install (Installscript) we allow our customers to select a default 'save data' location on one of my dialogs.
This is all fine and dandy but with Vista it doesn't work as well, as our default location is under c:\program files\, which is a no-no. If a customer chooses something under program files there's seems to be nothing but problems.
With MSI installs I have a ton of system variables I could choose to display (LocalAppDataFolder, CommonAppDataFolder, etc) but with Installscript I'm pretty limited.
Is there a fairly 'safe' place a customer can store data on Vista?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 14, 2008
11:05 AM
First you need to decide which is the best place to store your user data depending wether is shared among other users or just for the current user. This document will tell you more about that: http://sharepoint.microsoft.com/innovateon/vistadeveloper/Developer%20Documents/UAC%20Development%20Requirements.doc
Then you can make use of FOLDER_LOCAL_APPDATA or FOLDER_COMMON_APPDATA special folders.
Peter
Then you can make use of FOLDER_LOCAL_APPDATA or FOLDER_COMMON_APPDATA special folders.
Peter