Unofficial PG ODBC driver setup - Mailing list pgsql-odbc
From | anthony.caduto@micorp.com |
---|---|
Subject | Unofficial PG ODBC driver setup |
Date | |
Msg-id | OF4A5001D5.AA37D92C-ON86256F2A.00794EB4-86256F2A.0079F27D@micorp.com Whole thread Raw |
In response to | Re: snapshot installer ("Dave Page" <dpage@vale-housing.co.uk>) |
List | pgsql-odbc |
I have created a "unofficial" Inno based ODBC setup for the latest snapshot
You can get it here:
pgsql-odbc@postgresql.org, pgsql-odbc-owner@postgresql.org
http://www.amsoftwaredesign.com/downloads/pgodbc/psqlodbc.exe
Here is the entire source for the Inno setup script: (Inno is super easy to use and maintain)
check it out at www.jrsoftware.org, it's also used by many many open source projects, and yes it has custom actions via Pascal script and it supports C/C++ style includes so you can keep chunks of code in modules and include them in different projects.
This particual setup was built with Inno Setup version 5.03
; -- psqlodbc.iss --
; Installs the PostgreSQL ODBC driver
; Installer script created by Anthony J. Caduto
[Setup]
AppName=PostgreSQL ODBC Driver (snapshot)
AppVerName=PostgreSQL ODBC Driver 8.0 (snapshot)
DisableDirPage=yes
LicenseFile=lgpl.rtf
DefaultDirName={pf}\PostgreSQL ODBC Driver
DefaultGroupName=PostgreSQL ODBC Driver
Compression=lzma
SolidCompression=yes
;WindowVisible=yes
OutputBaseFilename=psqlodbc
WizardImageStretch=yes
WizardSmallImageFile=banner.bmp
WizardImageFile=screen.bmp
[Files]
Source: "psqlodbc.dll"; DestDir: "{sys}"
[Registry]
Root: HKLM; Subkey:"SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers";ValueType: string; ValueName: "PostgreSQL";ValueData: "Installed";flags:uninsdeletevalue
Root: HKLM; Subkey:"SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL";ValueType: string; ValueName: "APILevel";ValueData: "1" ;flags:uninsdeletekey
Root: HKLM; Subkey:"SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL";ValueType: string; ValueName: "ConnectFunctions";ValueData: "YYN" ;flags:uninsdeletekey
Root: HKLM; Subkey:"SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL";ValueType: string; ValueName: "Driver";ValueData: "PSQLODBC.DLL" ;flags:uninsdeletekey
Root: HKLM; Subkey:"SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL";ValueType: string; ValueName: "DriverODBCVer";ValueData: "03.00";flags:uninsdeletekey
Root: HKLM; Subkey:"SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL";ValueType: string; ValueName: "FileUsage";ValueData: "0" ;flags:uninsdeletekey
Root: HKLM; Subkey:"SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL";ValueType: string; ValueName: "Setup";ValueData: "PSQLODBC.DLL";flags:uninsdeletekey
Root: HKLM; Subkey:"SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL";ValueType: string; ValueName: "SQLLevel";ValueData: "1";flags:uninsdeletekey
Root: HKLM; Subkey:"SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL";ValueType: dword; ValueName: "UsageCount";ValueData: "00000001" ;flags:uninsdeletekey
Tony Caduto
Senior Programmer/Analyst
M&I Trust and Investment Management
"Dave Page" <dpage@vale-housing.co.uk> Sent by: pgsql-odbc-owner@postgresql.org 10/11/2004 10:03 AM |
|
From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of anthony.caduto@micorp.com
Sent: 11 October 2004 15:58
To: pgsql-odbc@postgresql.org
Subject: [ODBC] snapshot installer
I could still do a "unofficial" snapshot installer with Inno and post it on my website.
It would be strictly use at your own risk though.
You are welcome to do that of course. If you do, I'll add a link from the GBorg site, explaining exactly what it is if you like?
Regards, Dave.
pgsql-odbc by date: