PDA

View Full Version : Application Data Folder



NewsArchive
05-10-2007, 04:24 AM
In preparing a new package for release and reading the various threads here
I believe I should be
placing my application data in a directory under as follows: (my company is
Enercalc)

C:\Documents and Settings\All Users\Application Data\Enercalc

I do want all users of a computer to be able to access the data.

I do know how to get this path in Clarion code using Winevent:
ds_GetFolderPath(WE::CSIDL_COMMON_APPDATA)

However I would like to know how to what Run Time Variable to use
to create this directory.

Can anyone confirm my selection for application data and advise on the run
time variable?

Thank you,

Michael

NewsArchive
05-10-2007, 04:33 AM
Michael,

You can use %_CSIDL_COMMON_APPDATA% in SetupBuilder 6.5.

For example:

Create Folder "%_CSIDL_COMMON_APPDATA%\Enercalc"

BTW, you can always use <Crtl>+<Right-Mouse-Button> to get the Variable List
dialog and select an existing variable.

Does this help?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
05-11-2007, 01:36 AM
Thank you.

In the Installation Details | Files & Folders visualizer how to I add this
directory path in the lower-left directory tree area so I can specify files
to be installed there?

Mike

NewsArchive
05-11-2007, 01:36 AM
Hi Mike,

Highlight the folder in the lower left panel where you want the sub folder
created and click the "Add" button beneath the panel.

--
Regards,

Lee
http://www.cya2day.com

NewsArchive
05-11-2007, 01:37 AM
Hi Lee,

The folder is obtained at runtime (see prior discussion this thread) so I do
not know the name.

I know I'm missing something.

Mike

NewsArchive
05-11-2007, 01:38 AM
Sounds as if you're trying to do this?? (2 screen shots attached)

Jane Fleming

NewsArchive
05-11-2007, 01:38 AM
YES!

Thank you.

So many little goodies to discover!

Mike

NewsArchive
05-11-2007, 01:38 AM
Hi Mike,

Right Click on Always Install and select Add CSIDL.

Lynn Howard