Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wv149-0000Da-8y for pgsql-odbc@arkaria.postgresql.org; Thu, 12 Jun 2014 09:13:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wv148-0008An-Oh for pgsql-odbc@arkaria.postgresql.org; Thu, 12 Jun 2014 09:13:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wv147-0008Ag-SV for pgsql-odbc@postgresql.org; Thu, 12 Jun 2014 09:12:59 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wv143-0001As-Au for pgsql-odbc@postgresql.org; Thu, 12 Jun 2014 09:12:58 +0000 Received: from ayaki.localdomain (106-69-126-132.dyn.iinet.net.au [106.69.126.132]) by mrelayeu.kundenserver.de (node=mreue104) with ESMTP (Nemesis) id 0LrbdF-1Wkra20b9h-013P93; Thu, 12 Jun 2014 11:12:52 +0200 Message-ID: <53996F0E.40604@2ndquadrant.com> Date: Thu, 12 Jun 2014 17:12:46 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: "Inoue, Hiroshi" 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> In-Reply-To: <539964A3.8090707@2ndquadrant.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:Bzu9TGt7TVRDbYTq5YAjVil7CxBBeVHhOZeC5qvlkq9 2EVV7VQN07hsMgRKq83GAeUh+9NBTzopTTtp4PwZrlTwG47TmT am3cS4pE5OTSg3FrrCWw2f5/j92g98CRcaeJprTis/eso5x8H5 A7ZizpQHC4430Wf0YD2V5qYrDBbXaKKNX0TKrgqGqyQpWWXB0K ceNnh7g3eWobXVT+jCCu+/A9w0t0/if40ibEMTGo6FKJcUiH1k rw5quB+vaC+90o8ERgpXdEySOds0ik2oA9pBpyU1cO7aOD5+aB Po3Xb1kwzKZjUQPu63Aj7Y0/+ILTw9pA64mzxkIVUnOc9TCocC uSUQBFMIwEBgcPv6FYLYlB3OS3h5sRq25JG2YthPp X-Pg-Spam-Score: -1.9 (-) 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 On 06/12/2014 04:28 PM, 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(). > > 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? Looks like it might be. http://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/write_a_registry_entry.html and the entry should be able to be generated within the WiX file using the properties like the version and install path. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc