From: Ben Kelada <ben.kelada@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: packaging issue / upgrading with psql-odbc msi packages 8.03.01.00
Date: Tue, 5 Feb 2008 09:34:41 +1100
Message-ID: <4f63df000802041434k3069514ei98368fb4efffb046@mail.gmail.com> (raw)
In-Reply-To: <4f63df000802031701t6fa14700le76e99831a9442ec@mail.gmail.com>
References: <4f63df000802031701t6fa14700le76e99831a9442ec@mail.gmail.com>
I'm trying to create an nsis installer package for deploying software that
uses pgsql and the pgsql-odbc driver
I wish to un-install all previous versions of pgsql-odbc and install the
latest version.
in testing when installing 8.03.0100 over the top of 8.01.0200
double clicking on the msi file- replaces/upgrades the driver to 8.03 .01.00
but leaves the add/remove programs entry
running upgrade.bat, completes but does not do anything
( msiexec /i psqlodbc.msi REINSTALLMODE=vamus REINSTALL=ALL /qr )
modifying upgrade.bat, upgrades drivers, does not remove add/remove programs
entry
( msiexec /i psqlodbc.msi REINSTALLMODE=vamus /qr )
differently modifying upgrade.bat, does not install
( msiexec /i psqlodbc.msi REINSTALL=ALL /qr )
Is this desired functionality of the msi install? (i.e. do i have to
manually somehow detect previously installed verions and uninstall them
programatically)
Or is the current msi supposed to detect and remove previous versions /
overwrite previous version and remove the add/remove programs entry.
thanks for your help, sorry if what i am trying to do looks like a hack
(sometimes things really are as they appear!)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: ben.kelada@gmail.com
Subject: Re: packaging issue / upgrading with psql-odbc msi packages 8.03.01.00
In-Reply-To: <4f63df000802041434k3069514ei98368fb4efffb046@mail.gmail.com>
References: <4f63df000802031701t6fa14700le76e99831a9442ec@mail.gmail.com> <4f63df000802041434k3069514ei98368fb4efffb046@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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