Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Binary installer


  • From: "Steve Tibbett" <stibbett(at)zim(dot)biz>
  • To: "Jochem van Dieten" <jochemd(at)oli(dot)tudelft(dot)nl>
  • Cc: <pgsql-hackers-win32(at)postgresql(dot)org>
  • Subject: Re: Binary installer
  • Date: Fri, 23 Jan 2004 09:53:53 -0500
  • Message-id: <546CD3100F4C0F42A30A94C0F2B34914B5A674(at)zimmail1(dot)zim(dot)zimismobile(dot)com>

>I am not particular font of the registry either, gets messy 
>quickly when you want to run different instances and setting 
>permissions in the registry is no fun either (IMHO).

Saying you're not fond of the registry on Win32 is like saying you're
not fond of /etc on Unix :)  Like it or not, the registry is where
Windows apps store their configuration.

Another way, to avoid the issue altogether, is infer the install
directory from the EXE name (ie, do a GetModuleFileName() to find the
full path to the currently executing code, strip off the filename and go
up a directory.. something like that).

 - Steve




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group