Page 1 of 1 1
Topic Options
#186761 - 2008-04-06 10:42 PM x64 - WOW64FileRedirection does not trigger (kix 4.60)
trood Offline
Fresh Scripter

Registered: 2004-10-05
Posts: 11
Loc: Germany, NRW
Hi,

using kixtart 4.60 the commands

 Code:
SetOption("WOW64FileRedirection","OFF")
SetOption("WOW64FileRedirection","ON")


don't cause any different behavior inside kixtart - all file access to "c:\program files" is never dynamically redirected to "c:\program files (x86)" independent of the current setoption value. The same time

 Code:
SetOption("WOW64AlternateRegView","OFF")
SetOption("WOW64AlternateRegView","ON")


work as expected and dynamically write to HKLM\SW or HKLM\SW\Wow6432Node.

That's an inconsistent behavior! thoughts?

Thorsten

Top
#186765 - 2008-04-07 01:24 AM Re: x64 - WOW64FileRedirection does not trigger (kix 4.60) [Re: trood]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
I think WOW64FileRedirection is about http://msdn2.microsoft.com/en-us/library/aa384187.aspx .
Maybe check the value for @ONWOW64 and use environment vars like %ProgramFiles%, %ProgramFiles(x86)% and %ProgramW6432%
 Code:
Break On
If @ONWOW64 = 1
	? "ProgramFiles = " %ProgramFiles%
	? "ProgramW6432 = " %ProgramW6432%
Else
	? "ProgramFiles = " %ProgramFiles%
	
	; whoops, next one is to find 
	; 
	; in 64-bit mode
	; the ProgramFiles directory for 
	; 32 bit applications
	; 
	; ? "ProgramFiles(x86) = " %ProgramFiles(x86)%
EndIf


Edited by Witto (2008-04-08 05:06 PM)
Edit Reason: error in script

Top
#186828 - 2008-04-10 01:07 PM Re: x64 - WOW64FileRedirection does not trigger (kix 4.60) [Re: Witto]
trood Offline
Fresh Scripter

Registered: 2004-10-05
Posts: 11
Loc: Germany, NRW
Hi Witto,

no, I think that's a KiXtart 4.60 **bug**

The option of leaving kix inside the WOW64 layer provides backward compatibility for all kind of existing scripts (unless you're real-world experienced with x64 environments, you won't notice that advantage and why it's important to have such). Creating "switches" inside existing code fragments is not the solution to work on WOW64. BTW: these options have been in 4.53, too - but they won't cause any effect...

Since altering the option for registryredirection works as expected and those for filesystemredirection does not, this is very likely to be a bug in v4.60!

how to adress this issue into a bug list for fixing?

Thorsten

Top
#186830 - 2008-04-10 01:37 PM Re: x64 - WOW64FileRedirection does not trigger (kix 4.60) [Re: trood]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
Maybe a concise definition of the actual and expected actions should be posted in the Beta forum and leave it up to Ruud to decide if it's a bug, or explain why it's the correct behavior.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#186832 - 2008-04-10 01:49 PM Re: x64 - WOW64FileRedirection does not trigger (kix 4.60) [Re: Glenn Barnas]
trood Offline
Fresh Scripter

Registered: 2004-10-05
Posts: 11
Loc: Germany, NRW
Hi Glenn, thanks much. I'll do that. Thorsten
Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 363 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.052 seconds in which 0.021 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org