Re: Standalone Windows Installation - Mailing list pgsql-general

From Ashesh D Vashi
Subject Re: Standalone Windows Installation
Date
Msg-id 48E2F90A.2000605@enterprisedb.com
Whole thread Raw
In response to Standalone Windows Installation  (Jörn Heid <heid@hs-heilbronn.de>)
Responses Re: Standalone Windows Installation
List pgsql-general
Jörn Heid wrote:
> Hi.
>
> I want to use Postgres without installation. The problem is the
> dependencies on the Visual C dll (msvcrt).
> As far as I know it would be possible to include a manifest file (only
> for libpq.dll?) and bundle the dlls from c:\windows\WinSxS into the
> bin directory of Postgres.
> Is this correct? Does anybody have (tested) such a manifest file?
>
> Jörn
You just need to copy the contents of the redist/x86 under the
%VCINSTALLDIR% in your distribution directory, where all
dlls/executables are present.
VCINSTALLDIR should be similar to C:\Program Files\Microsoft Visual
Studio 8\VC, depending on your Visual Studio Installation.
This directory contains:
* Microsoft.VCxx.CRT
* Microsoft.VCxx.ATL
..., etc

No need to copy the c:\windows\WinSxS contents.

Hope this should solve your problem.

Regards,
Ashesh

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Running 2 versions of postgres on the same server at the same time ???
Next
From: Jörn Heid
Date:
Subject: Re: Standalone Windows Installation