On 22 Jun 2000, at 14:08, Steven D'Aprano wrote:
> Leston, why do you need to know where the app was installed?
> Applications should be path-independent: the user should be able to
> rename not only the disk it is on, but the folders and even the
> application itself without breaking anything. This isn't Windows you
> know! Not only *can* users rename folders and disks, but they *expect* to.
You raise a good question.
We are designing an application that manages and launches multiple
educational-type "lessons". There will eventually be hundreds of lessons
available for purchase/download from a website. Initially a user will install the
manager and a few lessons. Each time a new lesson is downloaded, it will
need to be installed into a sub-directory of the manager, so that it can be
launched.
That's the context. The best solution that I've come up with at this point is to
store off the location of the manager when it is installed. As you point out,
this fails if the user moves or renames the manager directory. Is there a
better way to do this?
Leston Drake
LetterPress Software, Inc.
http://www.lpsoftware.com
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.