pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedODBC Snapshot Installer (for Dave Page)
7+ messages / 4 participants
[nested] [flat]
* ODBC Snapshot Installer (for Dave Page)
@ 2004-10-06 15:58 anthony.caduto@micorp.com
0 siblings, 0 replies; 7+ messages in thread
From: anthony.caduto@micorp.com @ 2004-10-06 15:58 UTC (permalink / raw)
To: pgsql-odbc
Dave,
I have successfully created a ODBC installer and it looks almost identical
to the current MSI one.
I looked at the M$ stuff you mentioned and the learning curve is pretty
high.
I created this one with Inno Setup 5 and it only took a few minutes and is
much easier to use than MSI or that xml msi stuff
Like I said, I would be willing to take over creating the installer if you
don't mind switching to Inno Setup.
I could also do the setup for PGAdmin III :-)
The entire setup with source is available here:
http://www.amsoftwaredesign.com/downloads/pgodbc.zip
Just to show how simple and easy Inno is to use, here is the entire setup
script:
; -- psqlodbc.iss --
; Installs the PostgreSQL ODBC driver
; Installer script created by Anthony J. Caduto
[Setup]
AppName=PostgreSQL ODBC Driver
AppVerName=PostgreSQL ODBC Driver 8.0
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
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: ODBC Snapshot Installer (for Dave Page)
@ 2004-10-07 20:02 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 1 reply; 7+ messages in thread
From: Dave Page @ 2004-10-07 20:02 UTC (permalink / raw)
To: anthony.caduto@micorp.com; pgsql-odbc
________________________________
From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of
anthony.caduto@micorp.com
Sent: 06 October 2004 16:59
To: pgsql-odbc@postgresql.org
Subject: [ODBC] ODBC Snapshot Installer (for Dave Page)
Dave,
I have successfully created a ODBC installer and it looks almost
identical to the current MSI one.
I looked at the M$ stuff you mentioned and the learning curve
is pretty high.
I created this one with Inno Setup 5 and it only took a few
minutes and is much easier to use than MSI or that xml msi stuff
Like I said, I would be willing to take over creating the
installer if you don't mind switching to Inno Setup.
I could also do the setup for PGAdmin III :-)
Hi Tony,
Thanks, however as I said we intentionally use MSI based setup because
of the benefits of features such as merge modules, custom actions and
the fact that it's Microsoft's supported installation technique. I
realise that you dislike supporting them, but there's little sense
avoiding using their tools when targeting their platform - especially
when they do make them Open Source.
Feel free to try again with Wix if you like - I think I mentioned that
it has a decompiler, so porting the installer MSM and then it's MSI
files should simply be a case of running the decompiler on each of 2
existing files, and doing a little cleaning work.
Regards, Dave.
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: ODBC Snapshot Installer (for Dave Page)
@ 2004-10-07 20:16 anthony.caduto@micorp.com
parent: Dave Page <dpage@vale-housing.co.uk>
0 siblings, 1 reply; 7+ messages in thread
From: anthony.caduto@micorp.com @ 2004-10-07 20:16 UTC (permalink / raw)
To: pgsql-odbc
Hi Dave,
You can do all that stuff with Inno as well and with much more
productivity, also Inno is used by many large open source projects as
their installer of choice on windows.
Inno also supports C style includes so you can have chunks of your
installer script reused.
One example is the Firebird Database project (I know it's the competition
but it's one of the higher profiles ones I know of)
I tried the decompiler and you end up with a huge barely readable XML
file(hundreds of lines), it's not intuitive at all.
MSI is fine when you use it with Wise and they give you a nice
interface/IDE.
What do other people on this list think? Should we be supporting MS by
using their installer technology?
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: ODBC Snapshot Installer (for Dave Page)
@ 2004-10-09 04:32 Robert Treat <xzilla@users.sourceforge.net>
parent: anthony.caduto@micorp.com
0 siblings, 0 replies; 7+ messages in thread
From: Robert Treat @ 2004-10-09 04:32 UTC (permalink / raw)
To: anthony.caduto@micorp.com; Dave Page <dpage@vale-housing.co.uk>; +Cc: pgsql-odbc
Dave,
Unless someone else is willing to step up and do regular msi based updates, I
think it might be worth having Anthony do regular development releases via
inno. Just consider it as an alternative packaging, and when you're ready to
do a stable release you can look into getting the msi installer updated.
While I'm not convinced that inno is any better than msi, unless it is going
to cause trouble for end users, istm the value of taking something off your
already over-crowded plate is something that can't be overlooked.
Robert Treat
On Thursday 07 October 2004 16:16, anthony.caduto@micorp.com wrote:
> Hi Dave,
>
> You can do all that stuff with Inno as well and with much more
> productivity, also Inno is used by many large open source projects as
> their installer of choice on windows.
> Inno also supports C style includes so you can have chunks of your
> installer script reused.
> One example is the Firebird Database project (I know it's the competition
> but it's one of the higher profiles ones I know of)
> I tried the decompiler and you end up with a huge barely readable XML
> file(hundreds of lines), it's not intuitive at all.
> MSI is fine when you use it with Wise and they give you a nice
> interface/IDE.
>
> What do other people on this list think? Should we be supporting MS by
> using their installer technology?
>
> From what I have seen MSI is NOT superior to Inno, just because it's MS
> own propriatary (supported) solution does not mean it's the best.
>
>
>
> So I guess if you are totally against it I withdraw my offer :-(
>
> Tony Caduto
> Senior Programmer/Analyst
> M&I Trust and Investment Management
>
>
>
> "Dave Page" <dpage@vale-housing.co.uk>
> 10/07/2004 03:02 PM
>
> To
> <anthony.caduto@micorp.com>, <pgsql-odbc@postgresql.org>
> cc
>
> Subject
> RE: [ODBC] ODBC Snapshot Installer (for Dave Page)
>
>
>
>
>
>
>
>
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of
> anthony.caduto@micorp.com
> Sent: 06 October 2004 16:59
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] ODBC Snapshot Installer (for Dave Page)
>
>
> Dave,
> I have successfully created a ODBC installer and it looks almost identical
> to the current MSI one.
> I looked at the M$ stuff you mentioned and the learning curve is pretty
> high.
> I created this one with Inno Setup 5 and it only took a few minutes and is
> much easier to use than MSI or that xml msi stuff
>
> Like I said, I would be willing to take over creating the installer if you
> don't mind switching to Inno Setup.
>
> I could also do the setup for PGAdmin III :-)
>
> Hi Tony,
>
> Thanks, however as I said we intentionally use MSI based setup because of
> the benefits of features such as merge modules, custom actions and the
> fact that it's Microsoft's supported installation technique. I realise
> that you dislike supporting them, but there's little sense avoiding using
> their tools when targeting their platform - especially when they do make
> them Open Source.
>
> Feel free to try again with Wix if you like - I think I mentioned that it
> has a decompiler, so porting the installer MSM and then it's MSI files
> should simply be a case of running the decompiler on each of 2 existing
> files, and doing a little cleaning work.
>
> Regards, Dave.
--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: ODBC Snapshot Installer (for Dave Page)
@ 2004-10-10 20:08 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 1 reply; 7+ messages in thread
From: Dave Page @ 2004-10-10 20:08 UTC (permalink / raw)
To: Robert Treat <xzilla@users.sourceforge.net>; anthony.caduto@micorp.com; +Cc: pgsql-odbc
> -----Original Message-----
> From: Robert Treat [mailto:xzilla@users.sourceforge.net]
> Sent: 09 October 2004 05:32
> To: anthony.caduto@micorp.com; Dave Page
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] ODBC Snapshot Installer (for Dave Page)
>
> Dave,
>
> Unless someone else is willing to step up and do regular msi
> based updates, I think it might be worth having Anthony do
> regular development releases via inno. Just consider it as an
> alternative packaging, and when you're ready to do a stable
> release you can look into getting the msi installer updated.
> While I'm not convinced that inno is any better than msi,
> unless it is going to cause trouble for end users, istm the
> value of taking something off your
> already over-crowded plate is something that can't be overlooked.
Hi Robert,
Building the installer is not an issue - it takes me about 5 minutes to
package a new release for Windows (Unix actually takes a lot longer). I
don't do snapshot builds in installer packages purely because I don't
want it to ever seem like they're supported for mass rollout or general
consumption.
Regards, Dave.
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: ODBC Snapshot Installer (for Dave Page)
@ 2004-10-10 21:01 Peter Eisentraut <peter_e@gmx.net>
parent: Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 7+ messages in thread
From: Peter Eisentraut @ 2004-10-10 21:01 UTC (permalink / raw)
To: Dave Page <dpage@vale-housing.co.uk>; Robert Treat <xzilla@users.sourceforge.net>; anthony.caduto@micorp.com; +Cc: pgsql-odbc
Dave Page wrote:
> Building the installer is not an issue - it takes me about 5 minutes
> to package a new release for Windows (Unix actually takes a lot
> longer).
../configure && make dist takes 5 seconds on my system. What are you
doing?
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: ODBC Snapshot Installer (for Dave Page)
@ 2004-10-10 21:07 Dave Page <dpage@vale-housing.co.uk>
0 siblings, 0 replies; 7+ messages in thread
From: Dave Page @ 2004-10-10 21:07 UTC (permalink / raw)
To: Peter Eisentraut <peter_e@gmx.net>; Robert Treat <xzilla@users.sourceforge.net>; anthony.caduto@micorp.com; +Cc: pgsql-odbc
> -----Original Message-----
> From: Peter Eisentraut [mailto:peter_e@gmx.net]
> Sent: 10 October 2004 22:01
> To: Dave Page; Robert Treat; anthony.caduto@micorp.com
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] ODBC Snapshot Installer (for Dave Page)
>
> Dave Page wrote:
> > Building the installer is not an issue - it takes me about
> 5 minutes
> > to package a new release for Windows (Unix actually takes a lot
> > longer).
>
> ../configure && make dist takes 5 seconds on my system. What
> are you doing?
Getting a PG tree, getting the ODBC source... The box I normally build
it on gets physically hacked about a fair bit. On the plus side, it does
mean that the OS is almost always pretty clean as it gets reinstall
regularly...
Actually, for the latest builds I've been using developer.pgadmin.org
which is far more stable.
Regards, Dave.
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2004-10-10 21:07 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-10-06 15:58 ODBC Snapshot Installer (for Dave Page) anthony.caduto@micorp.com
2004-10-07 20:02 Re: ODBC Snapshot Installer (for Dave Page) Dave Page <dpage@vale-housing.co.uk>
2004-10-07 20:16 ` anthony.caduto@micorp.com
2004-10-09 04:32 ` Robert Treat <xzilla@users.sourceforge.net>
2004-10-10 20:08 Re: ODBC Snapshot Installer (for Dave Page) Dave Page <dpage@vale-housing.co.uk>
2004-10-10 21:01 ` Peter Eisentraut <peter_e@gmx.net>
2004-10-10 21:07 Re: ODBC Snapshot Installer (for Dave Page) Dave Page <dpage@vale-housing.co.uk>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox