I am looking to distribute my software to pc, linux, unix, and mac users. I'm using the registry in Windows, and was going to use systemd for linux. >From what I'm gathering, it would be best to just do a simple config or ini file in the root directory of the program. I'm thinking that when creating the installer, I will ask where the program will reside, and provide a default that is platform independent. That way all I need to do is provide the deb or rpm for linux, the msi for windows, and what ever unix and apple require (OS X is a flavor of Darwin, thus the debain packager maybe?)
_____ From: ik [mailto:ido...@gmail.com] Sent: Sunday, July 31, 2011 14:13 To: Lazarus mailing list Subject: Re: [Lazarus] RE : Determining OS [edited for brevity] But the original person that asked the question should explain better what he is looking for. It might not require to detect the distro itself for example, or to allow the package builder to tweak things, or at the first run to ask the distro from a list of supported distro and save it in configuration files. It's all depends on what he requires to do.
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus