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
- :
- Finding the path to Program data.
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 01, 2008
12:50 PM
Finding the path to Program data.
There is a function mentioned in Help called SHGetKnownFolderPath which when passed certain values will return the path to the program data file on a system. The function appears to be a windows API funtion not supported automatically by Installshield and of course the built in help carefully avoids giving any information about how to use it.
We need to find the correct place to put data on a host system for All users and I believe its not always the same for example I understand that Vista uses a Program Data directory structure whereas under XP the data would be in the Documents and settings\All Users data tree.
Does anyone know how I can find out how to do this as we are currently prting products to Vista and I would like to do it right so that Vista users will be able to use our product.
We need to find the correct place to put data on a host system for All users and I believe its not always the same for example I understand that Vista uses a Program Data directory structure whereas under XP the data would be in the Documents and settings\All Users data tree.
Does anyone know how I can find out how to do this as we are currently prting products to Vista and I would like to do it right so that Vista users will be able to use our product.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 02, 2008
04:17 AM
Furthwer research shows that I need to use GetFolderPathg because the newer function ONLY works from Vista onwards. I'm still having trouble with making it work though.
Has anyone else done this.
Has anyone else done this.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 03, 2008
05:27 AM
Finally by chance I've found it. Installshield stores this variable in FOLDER_APPDATA.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)