packaging issue / upgrading with psql-odbc msi packages 8.03.01.00 - Mailing list pgsql-odbc

From Ben Kelada
Subject packaging issue / upgrading with psql-odbc msi packages 8.03.01.00
Date
Msg-id 4f63df000802041434k3069514ei98368fb4efffb046@mail.gmail.com
Whole thread Raw
List pgsql-odbc
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!)

pgsql-odbc by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: Communication error during authentication
Next
From: "Nguyen, Lam Thuy"
Date:
Subject: Re: can't open more than 128 connections