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



On Jun 25, 12:14 pm, kyoso...@xxxxxxxxx wrote:
<ini file>
usersChosenPath = /usr/Path/to/Config
</ini file>

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? [/usr/local/etc]:

and save that answer somewhere, so future invocations of the program
just *KNOW* the answer.

I'm going to just have to write an 'install' program which just
substitutes the default assignment for the new one in the code...
almost a $PREFIX from ./configure or something like it.

.



Relevant Pages

  • Re: Help: Stored Procedure performance issue.
    ... Again the redundant prefix and poor ... In SQL, we have VIEWs for data that is ... promotion (much easier to understand that than just Tables A, B and C, ...
    (comp.databases.ms-sqlserver)
  • Re: Weird errors when trying to insert with IDENTITY_INSERT on!
    ... Did you notice that you have put the prefix "fld-" on all the columns? ... This is not just a great way to destroy a data dictioanry and violate ... Likewise, the silly, redundant "tbl-" ... You have no defaults or constraints. ...
    (comp.databases.ms-sqlserver)
  • Re: [PATCH -MM] e1000: rewrite hardware initialization code
    ... Perhaps the "e1000_" prefix could be dropped as redundant? ... Krzysztof Halasa ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
    (Linux-Kernel)
  • Re: Oddity in libufs.
    ... On Sun, 2005-09-25 at 14:00 +0300, Giorgos Keramidas wrote: ... >> That assignment up there looks redundant, as ccg is never used. ...
    (freebsd-hackers)
  • Re: x86 instruction size length
    ... I made it explicit because the prefix 3E specifies the ds prefix. ... | That is not redundant at all. ... | The 67 prefix will switch to 16-bit addressing mode, ... the 67h override alters the address-size from 64-bit default to 32-bit ...
    (comp.lang.asm.x86)