Thanks. I will try it out. This sounds like the solution I was looking for.
Dave Page schrieb:
On Fri, Oct 3, 2008 at 8:25 PM, Jörn Heid <heid@xxxxxxxxxxxxxxx> wrote:
Thanks for your answer but here's the longer question as asked in the posts
before:
How can I use the official "Postgres without installer" distribution without
compiling the sources for myself and without having to install the
redistribution application of the VC dlls so that I can distribute an
"all-inside" folder with all needed binaries, dlls and so on for all Windows
installations? Is it possible perhaps with a manifest file and bundled dlls
or is it impossible?
It should be possible by including the contents of the runtime
directory (normally found in
C:\Windows\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700)
and the corresponding manifest found in C:\Windows\WinSxS\Manifests
(probably renamed to Microsoft.VC80.CRT.manifest) in the PostgreSQL
bin directory. This is essentially what we do with pgAdmin.
We did run into some problems with this method with the server though
and found it was more reliable to install them as side by side
assemblies in the global cache. I forget the details, but it might
have been that libraries in the PG lib directory weren't correctly
finding the runtimes in the bin directory (which would usually work
for regular DLLs).
--
Dipl.-Inform. Med. Jörn Heid
Zentrum für virtuelle Patienten / Centre for Virtual Patients
Universitätsklinikum Heidelberg
Hygiene-Institut
Im Neuenheimer Feld 324
69120 Heidelberg
Tel.: +49-(0)7131-504-481
Fax: +49-(0)7131-252-470