Hi Scott,

In our accessories demos, we use Program Files for the EXE and (for example)
C:\ProgramData\Capesoft\Demos\DrawShot for the data.

In the app's program setup (before a data file is opened), we use WinEvent
to get the ProgramData folder and set the path to that folder:

if ~exists(ds_GetFolderPath(WE::CSIDL_COMMON_APPDATA) &
'\Capesoft\Demos\DrawShot')
ds_CreateDirectory(ds_GetFolderPath(WE::CSIDL_COMM ON_APPDATA) &
'\Capesoft\Demos\DrawShot'')
end
setpath(ds_GetFolderPath(WE::CSIDL_COMMON_APPDATA) &
'\Capesoft\Demos\DrawShot'')

You can check it out in action here:

http://www.capesoft.com/ftp/public/d...emoinstall.exe

Geoff