Making PostgreSQL portable on WinXP - Mailing list pgsql-admin

From BGoebel
Subject Making PostgreSQL portable on WinXP
Date
Msg-id 1335350159580-5664455.post@n5.nabble.com
Whole thread Raw
List pgsql-admin
Hello,

after some fiddling i had success in making PostgreSQL 9.1 somewhat more
portable.
Some of our customers need to copy and run our application from an USB
device.
If the VC 2008 Redistributable packet is not installed PostgreSQL denies to
start.

Solution: copy msvcr90.dll + the manifest file below to .\bin directory.
LibreOffice portable solved the problem in the same manner.

I suggest to add the files to the standard Win32 distribution.
Installing the Redistributable packet, which is done by the standard
installation, would be unnecessary then.

Microsoft.VC90.CRT.manifest
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
    <noInheritable/>
    <assemblyIdentity
        type="win32"
        name="Microsoft.VC90.CRT"
        version="9.0.21022.8"
        processorArchitecture="x86"
        publicKeyToken="1fc8b3b9a1e18e3b"
    />
    <file name="msvcr90.dll" /> <file name="msvcp90.dll" /> <file
name="msvcm90.dll" />
</assembly>

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Making-PostgreSQL-portable-on-WinXP-tp5664455p5664455.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.

pgsql-admin by date:

Previous
From: Fredrik Israelsson
Date:
Subject:
Next
From: Scott Whitney
Date:
Subject: Backup/disaster recovery and bandwidth (long)