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

AW: Can I run 32bit TortoiseSVN on 64bit Win7?

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Thu, 29 Mar 2012 07:34:19 +0000

Hi, Stefan,

> Von: Stefan Küng [mailto:tortoisesvn_at_gmail.com]
> > On 29.03.2012 08:27, Markus Schaber wrote:
>
> > Is it possible to create a combined installer which comes with both
> > 32 and 64 bit shell extensions and the 32 bit versions of all apps,
> > and just installs what's appropriate for the system? (Maybe even ARM
> > in the future?)
> >
> > Even if MSI is too limited, it can be extended by custom code,
> > AFAIK...
>
> Not possible, not even with extensions. And if you think about that a
> little bit you know why:
> Windows x64 can run 32-bit apps without problems. But to make that work, a
> 32-bit app has multiple redirections in place (registry, file system,
> ...) to make sure that it accesses only the 32-bit parts.
> For example, the path "program files" is left as is for x64 apps, but
> redirected to "program files (x86)" for 32-bit apps. And that's just one
> of the many, many redirections done by Windows.

I know about those things, and AFAIK there are functionalities which allow "knowing" applications to circumvent those redirections.

> Now, to get a unified msi, it must be 32-bit (64-bit wouldn't work on 32-
> bit OS). And that means that the redirections are in place.

Ah, I assumed that MSIs can be made "agnostic" (How else to install pure .NET applications which are "AnyCPU" and thus not fixed to a specific architecture). But my MSI knowledge is very basic.

> While there are ways to get around that using custom code, those won't
> work in an msi, at least not all.

Hmm... I did google a little bit, and found some of those ways (http://stackoverflow.com/a/6755553/160589 shows how to write registry keys for different architectures, and http://msdn.microsoft.com/en-us/library/windows/desktop/aa384129%28v=vs.85%29.aspx explicitly defines access to the "other" world of the registry in both ways).

But I guess it is not worth the efforts of complicating the installer that much.

> And don't forget: such an msi would be huge. Search this list for users
> complaining about the size of the msi...

AFAICS, it would not be much bigger than the current 64 Bit MSI, AFAICS - all applications could be provided once using 32-bit, only the shell extensions (and dlls) need to be provided for both architectures.

Never mind, it's not that important, after all.

Best regards

Markus Schaber

-- 
___________________________
We software Automation.
3S-Smart Software Solutions GmbH
Markus Schaber | Developer
Memminger Str. 151 | 87439 Kempten | Germany | Tel. +49-831-54031-0 | Fax +49-831-54031-50
Email: m.schaber@3s-software.com | Web: http://www.3s-software.com 
CoDeSys internet forum: http://forum.3s-software.com
Download CoDeSys sample projects: http://www.3s-software.com/index.shtml?sample_projects
Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2941838
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-03-29 09:34:33 CEST

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

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