[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 64 bit version, 32 bit registry keys

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 16 Oct 2008 22:13:19 +0200

Jerome Haltom wrote:
> Do you guys mind altering the 64 bit installer version to ALSO create
> TortoiseSVN registry keys under SOFTWARE\Wow6432Node? I'm having an
> issue where I'd like to access the path that TortoiseSVN is installed
> from inside of a MSBuild script... but MSBuild scripts in Visual Studio
> run in 32 bit... hence they cannot read that key. Silly, eh?
> A 32 bit version of the included COM object might be useful too, while
> we're on the topic.

Just install the 32-bit version of TSVN alongside the x64 version.

And that's also the reason why we can't add the 32-bit registry key in
the x64 version.

Also: it *is* possible to read x64 registry keys from a 32-bit
application. You just need to pass KEY_WOW64_64KEY to the registry API.


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-10-16 22:13:35 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.