Making PostgreSQL portable on WinXP

From: BGoebel <b(dot)goebel(at)prisma-computer(dot)de>
To: pgsql-admin(at)postgresql(dot)org
Subject: Making PostgreSQL portable on WinXP
Date: 2012-04-25 10:35:59
Message-ID: 1335350159580-5664455.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Whitney 2012-04-25 16:11:39 Backup/disaster recovery and bandwidth (long)
Previous Message Fredrik Israelsson 2012-04-25 09:49:10