Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WvIeA-00043C-J5 for pgsql-odbc@arkaria.postgresql.org; Fri, 13 Jun 2014 03:59:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WvIe9-0004q3-Af for pgsql-odbc@arkaria.postgresql.org; Fri, 13 Jun 2014 03:59:21 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WvIe7-0004pu-CP for pgsql-odbc@postgresql.org; Fri, 13 Jun 2014 03:59:19 +0000 Received: from sd.tpf.co.jp ([210.161.239.34]) by makus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WvIe0-00073Y-1A for pgsql-odbc@postgresql.org; Fri, 13 Jun 2014 03:59:17 +0000 Received: (qmail 2685 invoked by uid 512); 13 Jun 2014 03:59:10 -0000 Received: from unknown (HELO ?100.0.33.224?) (100.0.33.224) by sd2.tpf-fw-c.co.jp with SMTP; 13 Jun 2014 03:59:10 -0000 Message-ID: <539A770B.9030304@tpf.co.jp> Date: Fri, 13 Jun 2014 09:44:07 +0545 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Craig Ringer CC: "pgsql-odbc@postgresql.org" Subject: Re: XA registry entries are missing from 64-bit install References: <5399240A.8030109@2ndquadrant.com> <53994289.2020801@tpf.co.jp> <539964A3.8090707@2ndquadrant.com> <539A17BE.5090001@tpf.co.jp> In-Reply-To: <539A17BE.5090001@tpf.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org (2014/06/13 2:57), Inoue, Hiroshi wrote: > > (2014/06/12 17:28), Craig Ringer wrote: >> On 06/12/2014 02:02 PM, Inoue, Hiroshi wrote: >>> >>> >>> Because msdtc process seems a 64bit application, 64bit pgxalib.dll >>> should be registered even when 32bit applications use MSDTC support. >>> The current way of registration isn't appropriate and 64bit installer >>> would have to register the entry beforehand. >> >> OK, so if I understand this right, it might be helpful to have >> pgenlist.dll expose a function that's callable with rundll32 to create >> the registry entries. Call it, say, registerxa(). > > It should be done for pgxalib.dll not pgenlist(a).dll if we do > such kind of registration. > >> Then the registry entry creation code currently in >> EnlistInDtc_1pipe(...) could be factored out so it's callable as part of >> EnlistInDtc_1pipe(...) or via the new entry point. >> >> The installer can then invoke >> >> rundll32 pgenlist.dll,registerxa >> >> to create the appropriate entries. >> >> Reasonable? >> >> Or is it better to just create/update the registry entries directly >> using the MSI? > > Yes it seems better. OK I pushd the change together with your patch [ODBC] PATCH: WiX has moved. 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