pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Upgrade strangeness on win 32bit
8+ messages / 3 participants
[nested] [flat]

* Upgrade strangeness on win 32bit
@ 2013-06-05 13:25 Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-05 15:45 ` Re: Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-10 09:48 ` Re: Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
  0 siblings, 2 replies; 8+ messages in thread

From: Marco Gaiarin @ 2013-06-05 13:25 UTC (permalink / raw)
  To: pgsql-odbc


I've just deployed the upgrade of the odbc driver in my organization,
using as commandline (as suggested by batch file on .zip):

	msiexec /q /i "%SOFTWARE%\WPKG\psqlodbc-09_02_0100.msi" ALLUSERS=1 REINSTALLMODE=vamus REINSTALL=ALL REBOOT=ReallySuppress

	msiexec /q /i "%SOFTWARE%\WPKG\psqlodbc_x64-09_02_0100.msi" ALLUSERS=1 REINSTALLMODE=vamus REINSTALL=ALL REBOOT=ReallySuppress

but found some inconsistencies:

 + on 'install and remove appication', both 32 and 64 bit installer
  report correctly the 09.02.0100 version

 + on ODBC DSN control panel, 64 bit (if applicable), report dll/driver
   version as 09.02.0100

 + on ODBC DSN control panel, 32 bit (both on 32 and 64 bit), report
   ddl/driver version of the previous one (09.01.0200).


I've tried to uninstall odbc driver 32bit and the reinstall it, and now
i've got correct DLL version.


I've to use different cmdline for different ''bitness''? Thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Upgrade strangeness on win 32bit
  2013-06-05 13:25 Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
@ 2013-06-05 15:45 ` Marco Gaiarin <gaio@sv.lnf.it>
  1 sibling, 0 replies; 8+ messages in thread

From: Marco Gaiarin @ 2013-06-05 15:45 UTC (permalink / raw)
  To: pgsql-odbc


I've forgot to say:

>  + on ODBC DSN control panel, 64 bit (if applicable), report dll/driver
>    version as 09.02.0100

and installer correctly ended with the code 'reboot needed' (3010).


>  + on ODBC DSN control panel, 32 bit (both on 32 and 64 bit), report
>    ddl/driver version of the previous one (09.01.0200).

and installer ended with code 0, so no reboot needed.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Upgrade strangeness on win 32bit
  2013-06-05 13:25 Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
@ 2013-06-10 09:48 ` Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-10 12:31   ` Re: Upgrade strangeness on win 32bit Hiroshi Inoue <inoue@tpf.co.jp>
  1 sibling, 1 reply; 8+ messages in thread

From: Marco Gaiarin @ 2013-06-10 09:48 UTC (permalink / raw)
  To: pgsql-odbc


No one reply.

> I've to use different cmdline for different ''bitness''? Thanks.

Having different cmdline for 32/64 bit can lead to mistakes, so.. i've
no trouble at all at doing ''remove before upgrade'' also for 64 bit,
what really confuse me is the .bat in the distribution tarball that
insted suggest the 'vamus' upgrade schema.

I need only a clarification. ;)

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Upgrade strangeness on win 32bit
  2013-06-05 13:25 Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-10 09:48 ` Re: Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
@ 2013-06-10 12:31   ` Hiroshi Inoue <inoue@tpf.co.jp>
  2013-06-10 14:19     ` Re: Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
  0 siblings, 1 reply; 8+ messages in thread

From: Hiroshi Inoue @ 2013-06-10 12:31 UTC (permalink / raw)
  To: Marco Gaiarin <gaio@sv.lnf.it>; +Cc: pgsql-odbc

Hi Marco,

(2013/06/10 18:48), Marco Gaiarin wrote:
>
> No one reply.
>
>> I've to use different cmdline for different ''bitness''? Thanks.
>
> Having different cmdline for 32/64 bit can lead to mistakes, so.. i've
> no trouble at all at doing ''remove before upgrade'' also for 64 bit,
> what really confuse me is the .bat in the distribution tarball that
> insted suggest the 'vamus' upgrade schema.

9.2.0100 is a major upgrade.
Maybe we should have disabled upgrade.bat.

regards,
Hiroshi Inoue



-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Upgrade strangeness on win 32bit
  2013-06-05 13:25 Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-10 09:48 ` Re: Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-10 12:31   ` Re: Upgrade strangeness on win 32bit Hiroshi Inoue <inoue@tpf.co.jp>
@ 2013-06-10 14:19     ` Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-11 12:49       ` Re: Upgrade strangeness on win 32bit Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 1 reply; 8+ messages in thread

From: Marco Gaiarin @ 2013-06-10 14:19 UTC (permalink / raw)
  To: pgsql-odbc

Mandi! Hiroshi Inoue
  In chel di` si favelave...

> 9.2.0100 is a major upgrade.
> Maybe we should have disabled upgrade.bat.

Mmmh... ProductCode have not change for a while, even for that 'major'
upgrade.

On the past i've got trouble upgrading without REAINSTALL="vamus", but
indeed i've not verified driver/ddl version, so probably was broken by
some time.
I've checked the driver version because on 64bit there's a reboot
triggered, but it is month, even not years, that i upgrade odbc driver
blindly...

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Upgrade strangeness on win 32bit
  2013-06-05 13:25 Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-10 09:48 ` Re: Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-10 12:31   ` Re: Upgrade strangeness on win 32bit Hiroshi Inoue <inoue@tpf.co.jp>
  2013-06-10 14:19     ` Re: Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
@ 2013-06-11 12:49       ` Hiroshi Inoue <inoue@tpf.co.jp>
  2013-06-11 13:39         ` Re: Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
  0 siblings, 1 reply; 8+ messages in thread

From: Hiroshi Inoue @ 2013-06-11 12:49 UTC (permalink / raw)
  To: Marco Gaiarin <gaio@sv.lnf.it>; +Cc: pgsql-odbc

Hi Marco,

(2013/06/10 23:19), Marco Gaiarin wrote:
> Mandi! Hiroshi Inoue
>    In chel di` si favelave...
>
>> 9.2.0100 is a major upgrade.
>> Maybe we should have disabled upgrade.bat.
>
> Mmmh... ProductCode have not change for a while, even for that 'major'
> upgrade.

Oops sorry, I forgot to change the ProductCode.
Is it better to change it even after the release?

> On the past i've got trouble upgrading without REAINSTALL="vamus", but
> indeed i've not verified driver/ddl version, so probably was broken by
> some time.
> I've checked the driver version because on 64bit there's a reboot
> triggered, but it is month, even not years, that i upgrade odbc driver
> blindly...

The structure of 64bit psqlodbc driver package is different from the
  32bit one. It doesn't contain libpq etc.
Because the 32bit package changed the VC runtime merge module from VC90 
to VC100, minor upgrade is essentially impossible.
Because the 64bit package newly includes VC runtime merge module, minor
upgrade is possible and seems to cause reboot in some case.

regards,
Hiroshi Inoue




-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Upgrade strangeness on win 32bit
  2013-06-05 13:25 Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-10 09:48 ` Re: Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-10 12:31   ` Re: Upgrade strangeness on win 32bit Hiroshi Inoue <inoue@tpf.co.jp>
  2013-06-10 14:19     ` Re: Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-11 12:49       ` Re: Upgrade strangeness on win 32bit Hiroshi Inoue <inoue@tpf.co.jp>
@ 2013-06-11 13:39         ` Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-11 16:47           ` Re: Upgrade strangeness on win 32bit Daniel Homerick <daniel.homerick@2d3sensing.com>
  0 siblings, 1 reply; 8+ messages in thread

From: Marco Gaiarin @ 2013-06-11 13:39 UTC (permalink / raw)
  To: pgsql-odbc

Mandi! Hiroshi Inoue
  In chel di` si favelave...

> Oops sorry, I forgot to change the ProductCode.
> Is it better to change it even after the release?

I'm not a programmer, and every software developer do with ProductCode
what they want: oracle/sun have a base fixed UUID and change only some
part, adobe keep ProductCode between major release for the reader, but
change it at every release for flash. Bah.

I hope there's a more knowledgable people on MSI format here... ;)))


> The structure of 64bit psqlodbc driver package is different from the
>  32bit one.

Ok, it is perfectly clear now. Thanks. ;)

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Upgrade strangeness on win 32bit
  2013-06-05 13:25 Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-10 09:48 ` Re: Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-10 12:31   ` Re: Upgrade strangeness on win 32bit Hiroshi Inoue <inoue@tpf.co.jp>
  2013-06-10 14:19     ` Re: Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
  2013-06-11 12:49       ` Re: Upgrade strangeness on win 32bit Hiroshi Inoue <inoue@tpf.co.jp>
  2013-06-11 13:39         ` Re: Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
@ 2013-06-11 16:47           ` Daniel Homerick <daniel.homerick@2d3sensing.com>
  0 siblings, 0 replies; 8+ messages in thread

From: Daniel Homerick @ 2013-06-11 16:47 UTC (permalink / raw)
  To: pgsql-odbc

What we do with our installers (which I believe is correct) is to keep the ProductUpgradeCode constant between versions, while updating the ProductId to a new UUID with each release.

 - Dan
-------------------------------------------------------------------------------------------
Dan Homerick               daniel.homerick@2d3sensing.com
Software Engineer            Tel: 650-627-7624
2d3Sensing                 http://www.2d3sensing.com

-----Original Message-----
From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Marco Gaiarin
Sent: Tuesday, June 11, 2013 6:39 AM
To: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Upgrade strangeness on win 32bit

Mandi! Hiroshi Inoue
  In chel di` si favelave...

> Oops sorry, I forgot to change the ProductCode.
> Is it better to change it even after the release?

I'm not a programmer, and every software developer do with ProductCode what they want: oracle/sun have a base fixed UUID and change only some part, adobe keep ProductCode between major release for the reader, but change it at every release for flash. Bah.


I hope there's a more knowledgable people on MSI format here... ;)))


> The structure of 64bit psqlodbc driver package is different from the  
> 32bit one.

Ok, it is perfectly clear now. Thanks. ;)

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)


--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 8+ messages in thread


end of thread, other threads:[~2013-06-11 16:47 UTC | newest]

Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-06-05 13:25 Upgrade strangeness on win 32bit Marco Gaiarin <gaio@sv.lnf.it>
2013-06-05 15:45 ` Marco Gaiarin <gaio@sv.lnf.it>
2013-06-10 09:48 ` Marco Gaiarin <gaio@sv.lnf.it>
2013-06-10 12:31   ` Hiroshi Inoue <inoue@tpf.co.jp>
2013-06-10 14:19     ` Marco Gaiarin <gaio@sv.lnf.it>
2013-06-11 12:49       ` Hiroshi Inoue <inoue@tpf.co.jp>
2013-06-11 13:39         ` Marco Gaiarin <gaio@sv.lnf.it>
2013-06-11 16:47           ` Daniel Homerick <daniel.homerick@2d3sensing.com>

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