From: | Dizzy <dizzy(at)roedu(dot)net> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | pgsql Windows installer fixed registry key |
Date: | 2007-08-27 20:12:55 |
Message-ID: | 200708272312.55407.dizzy@roedu.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello
I am currently working on creating a build system for an open source portable
project that should be able to build the project on many platforms, POSIX and
non-POSIX such as Windows. Our project has the option for using PostgreSQL.
Searching for PostgreSQL includes/libraries is very easy on POSIX and Unices
but on Windows one has usually 3 options:
- have a relative location to the project source tree where those should be
found (like a $project-root/pgsql)
- have the user specify the location to them
- try to read the location from registry settings
Note that these methods do not exclude eachover.
The pgsql MSI installer does register a registry key but it's random everytime
it installs (probably something MSI choses). I am asking if someone could
make it (also) register a fixed registry key pointing to it's install
location (from which I could locate the includes/library to use when building
our project). This could be useful for other projects too of course. In a
similar way MySQL registers the key
HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB\MySQL Server 5.0;Location for a 5.0.x
version. Could it be possible to have PostgreSQL installer do something
similar?
Thank you!
--
Mihai RUSU Email: dizzy(at)roedu(dot)net
GPG : http://dizzy.roedu.net/dizzy-gpg.txt WWW: http://dizzy.roedu.net
"Linux is obsolete" -- AST
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Ince | 2007-08-27 20:14:39 | Re: PostgreSQL vs Firebird feature comparison finished |
Previous Message | Kamil Srot | 2007-08-27 20:03:04 | Re: Tables dissapearing |