Re: How to save initial configuration? (program installation)

2007-06-25 Thread Jason Zapman II
On Jun 25, 12:14 pm, [EMAIL PROTECTED] wrote: > > usersChosenPath = /usr/Path/to/Config > > > Kind of redundant, but I would think it would still work. Ok... How do I tell the program where the INI file lives? (What I want is to be able to ask the user Where do you want the datafile to live?

Re: How to save initial configuration? (program installation)

2007-06-25 Thread Jason Zapman II
On Jun 25, 11:37 am, Steve Holden <[EMAIL PROTECTED]> wrote: > The traditional choices are the registry for Windows, and the /etc > subtree for the various, almost uncountable, flavors of Unix and > nixalikes. You're right, it's much more difficult per-system than > per-user, since there are so man

Re: How to save initial configuration? (program installation)

2007-06-25 Thread Jason Zapman II
On Jun 25, 11:10 am, [EMAIL PROTECTED] wrote: > I would think you could pop-up some dialog when the program is first > run to ask where they want the file to be. On the first run though, > you can just have the config file located in the current working > directory with the script file itself. Then

How to save initial configuration? (program installation)

2007-06-25 Thread Jason Zapman II
I've written a program. To install this program, I'm going to need to initialize some stuff for the users environment, specifically the name/ location of an internal state file. Currently, I'm hard coding the location of this file, but that's in- elegant. What I'd like to do is just ask the user