Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 9EC9E2E2D9D for ; Mon, 4 Feb 2008 18:34:47 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 77130-04-2 for ; Mon, 4 Feb 2008 18:34:44 -0400 (AST) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by postgresql.org (Postfix) with ESMTP id C64BF2E37A6 for ; Mon, 4 Feb 2008 18:34:43 -0400 (AST) Received: by fk-out-0910.google.com with SMTP id b27so2465159fka.3 for ; Mon, 04 Feb 2008 14:34:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=/+++ZUaXn31sRuqB5+8HoV+9SEbKPIMYZ4yhx5qaw/o=; b=K8nY4naIAaCypzoFewo5xj9VXphe2r7qPODEqtbWaST4i3hME75gbX8h1dHdQvbgUffZLxBTOtrsB1cH4rjyHRP9KEkFFS1OR5Gm+aa2C5m1ozAYmmfd1XIAQUWp8Iyh4xCi7KbzisYZA6kTxiI1mXjbRj5cL48qieYCy9Hn138= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=eZJGM1n+xOwkmK+ACM1OaxwjrIKnguJnrD9A5FzbiZo3IxofMQYxK+Mwc722eJ7c+sRTcDMKrUIsJlTVbkqjRPPTfS/YEs4KFJBljHXowd1ujh/f8IOwgT2VhezrShZcZe+DFLQ0fQn/vwvHhZX1TgldpO+dYASo95AJFXZMMDQ= Received: by 10.82.112.3 with SMTP id k3mr14004822buc.15.1202164482000; Mon, 04 Feb 2008 14:34:42 -0800 (PST) Received: by 10.82.135.17 with HTTP; Mon, 4 Feb 2008 14:34:41 -0800 (PST) Message-ID: <4f63df000802041434k3069514ei98368fb4efffb046@mail.gmail.com> Date: Tue, 5 Feb 2008 09:34:41 +1100 From: "Ben Kelada" To: pgsql-odbc@postgresql.org Subject: packaging issue / upgrading with psql-odbc msi packages 8.03.01.00 In-Reply-To: <4f63df000802031701t6fa14700le76e99831a9442ec@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8315_5972068.1202164481997" References: <4f63df000802031701t6fa14700le76e99831a9442ec@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/6 X-Sequence-Number: 9358 ------=_Part_8315_5972068.1202164481997 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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!) ------=_Part_8315_5972068.1202164481997 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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!)

------=_Part_8315_5972068.1202164481997--