PDA

View Full Version : Vista-conformity and additional files (PDF)



NewsArchive
06-05-2012, 03:01 AM
Hello all,

my plan is to distribute quite a bunch of PDF along with my program. In
theory it might reach a number of 2,000 or even more.

My executables, DLL etc are normally under C:\Program Files\MyProgram, the
data in
CSIDL_COMMON_DOCUMENTS ==> C:\Documents and Settings\All
Users\Documents\MyProgram\Data\*.TPS.

During install and also later, an admin may modify this setting and copy
program and data somewhere else. Its up to them.

Admins usually prefer to move the data-folder into the program-folder. I
guess you guessed that. <g>

Those PDF are no data and they are also no executables.

What do you suggest as their location?

C:\Program Files\MyProgram\PDF\*.PDF

C:\Documents and Settings\All Users\Documents\MyProgram\PDF\*.PDF
C:\Documents and Settings\All Users\Documents\MyProgram\Data\PDF\*.PDF

I need one reliable location, because I store only PDF-Name in a table,
but need the path then to call them with ShellExecute().

Those PDF will be replaced with every update every some months. Right now
I asked for the location of the EXE and of the data during the
installation process. This is already difficult enough for the admins.
When I now ask for a PDF-folder, I am sure it will go wrong even more.

From my experience with admins I tend to minimize the effort they have to
do in maintenance. Therefore I prefer a location either below the EXE or
below the DATA. If the admin moves one of these folders, the PDF would be
moved automatically.

Is it worth to ponder at all or is this fuzz about nothing, because nobody
really cares?

Thanks for your thoughts,
Wolfgang






--
Wolfgang Orth

www.odata.de
www.kik-service.de

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It's five o'clock somewhere.....




Written with Operas News-/ Mailclient: http://www.opera.com/mail/

NewsArchive
06-05-2012, 03:01 AM
Hi Wolfgang!

Users (admins et al.) are prone to doing that. If the PDF's are to be
modified by the users then I'd say C:\Documents and Settings\All
Users\Documents\MyProgram\Data\PDF\*.PDF would be good. But if they're
there as read-only (in effect) then EXE might be a better choice.

Craig E. Ransom
Tracker Software Products, Ltd.
http://www.tracker-software.com/