Re: [GENERAL] Programmatic method to determine currently installed Windows PostrgreSQL version

2005-11-08 Thread Will Wright
Thanks Magnus. Much appreciated. Will --- Magnus Hagander <[EMAIL PROTECTED]> wrote: > > > HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\{317D0ED1 > > > > -8845-40DD-A028-0A3EB8E24F2E} > > > > "Version"="8.1-beta4" > > > > > > > > So it looks like the version number is > underneath > >

Re: [GENERAL] Programmatic method to determine currently installed Windows PostrgreSQL version

2005-11-08 Thread Magnus Hagander
> HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\{317D0ED1 > > > -8845-40DD-A028-0A3EB8E24F2E} > > > "Version"="8.1-beta4" > > > > > > So it looks like the version number is underneath > > a key that > > > changes with every new version (new Product > > number). And I > > > am therefore no

Re: [GENERAL] Programmatic method to determine currently installed Windows PostrgreSQL version

2005-11-08 Thread Will Wright
Thanks Richard, I will look into whether or not I will have access to the SELECT statement. Regards, Will --- Richard Huxton wrote: > Will Wright wrote: > > > > Hi Magnus, thanks for the quick response. > > Unfortunately I still have an issue with this > regsitry > > identification method bec

Re: [GENERAL] Programmatic method to determine currently installed

2005-11-08 Thread Richard Huxton
Will Wright wrote: Hi Magnus, thanks for the quick response. Unfortunately I still have an issue with this regsitry identification method because I'd like to code my installer so that it can also identify the postreSQL versions that were not available at the time I authored my install check, i

Re: [GENERAL] Programmatic method to determine currently installed Windows PostrgreSQL version

2005-11-07 Thread Will Wright
--- Magnus Hagander <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm in the process of creating an Windows > installation > > package for a product that uses PostgreSQL. > > > > During the installation I would like to check if > PostgreSQL > > is installed and if it is, which version. > > > > I

Re: [GENERAL] Programmatic method to determine currently installed Windows PostrgreSQL version

2005-11-07 Thread Magnus Hagander
> Hi, > > I'm in the process of creating an Windows installation > package for a product that uses PostgreSQL. > > During the installation I would like to check if PostgreSQL > is installed and if it is, which version. > > I think that I can infer that PostgreSQL is installed by > searching f

[GENERAL] Programmatic method to determine currently installed Windows PostrgreSQL version

2005-11-07 Thread Will Wright
Hi, I'm in the process of creating an Windows installation package for a product that uses PostgreSQL. During the installation I would like to check if PostgreSQL is installed and if it is, which version. I think that I can infer that PostgreSQL is installed by searching for the \HKLM\SOFTWARE\P