This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: WOW64FSREDIRECTION not working?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 28, 2009
04:57 PM
WOW64FSREDIRECTION not working?
I am having trouble with using the Disable(WOW64FSREDIRECTION) / Enable(WOW64FSREDIRECTION)
When I call Disable(WOW64FSREDIRECTION) WINSYSDIR64 is still pointing to c:\windows\system32. I wrote a test to validate what is going on..
//Temp
if (SYSINFO.bIsWow64 = 0) then
MessageBox("64 = false", INFORMATION);
else
MessageBox("64 = true", INFORMATION);
endif;
Disable(WOW64FSREDIRECTION);
szCompany = "Disable, " + WINSYSDIR64;
MessageBox(szCompany, INFORMATION);
Enable(WOW64FSREDIRECTION);
szCompany = "Enable, " + WINSYSDIR64;
MessageBox(szCompany, INFORMATION);
szCompany = "";
//Temp
My output is:
64 = true
Disable, c:\windows\system32
Enable, c:\windows\system32
I would have expected:
64 = true
Disable, c:\windows\syswow64
Enable, c:\windows\system32
So bottom-line is everything is always getting copied to c:\windows\system32 because when I disable it is still pointing to c:\windows\system32. Can anyone please help me out?
Thanks.
Steve
When I call Disable(WOW64FSREDIRECTION) WINSYSDIR64 is still pointing to c:\windows\system32. I wrote a test to validate what is going on..
//Temp
if (SYSINFO.bIsWow64 = 0) then
MessageBox("64 = false", INFORMATION);
else
MessageBox("64 = true", INFORMATION);
endif;
Disable(WOW64FSREDIRECTION);
szCompany = "Disable, " + WINSYSDIR64;
MessageBox(szCompany, INFORMATION);
Enable(WOW64FSREDIRECTION);
szCompany = "Enable, " + WINSYSDIR64;
MessageBox(szCompany, INFORMATION);
szCompany = "";
//Temp
My output is:
64 = true
Disable, c:\windows\system32
Enable, c:\windows\system32
I would have expected:
64 = true
Disable, c:\windows\syswow64
Enable, c:\windows\system32
So bottom-line is everything is always getting copied to c:\windows\system32 because when I disable it is still pointing to c:\windows\system32. Can anyone please help me out?
Thanks.
Steve
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 01, 2009
03:40 PM
You might be getting misled by the odd naming scheme: C:\Windows\System32 is the 64-bit folder; C:\Windows\SysWow64 is the 32-bit folder. Try examining WINSYSDIR similarly, and remember that it's not necessarily the reported path, but where the filesystem maps a path to - without disabling redirection, attempts to access the 64-bit system folder in a 32-bit application (like setup.exe) will be redirected to the 32-bit folder.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 01, 2012
04:06 PM
Hello,
I am building an Installscript installer for a 64-bit program using IS 2011
on a 32-bit system.
It seems that the fact that my installer is a 32-bit program is causing Registry
changes to be written to the Wow6432Node sub-key of the Registry.
Question:
Why did adding
disable(WOW64FSREDIRECTION);
to OnBegin and adding
enable(WOW64FSREDIRECTION);
to OnEnd have zero affect on the Registry changes that this installer makes?
(I am in a position where affecting the entire install is OK)
Take care,
Chris
I am building an Installscript installer for a 64-bit program using IS 2011
on a 32-bit system.
It seems that the fact that my installer is a 32-bit program is causing Registry
changes to be written to the Wow6432Node sub-key of the Registry.
Question:
Why did adding
disable(WOW64FSREDIRECTION);
to OnBegin and adding
enable(WOW64FSREDIRECTION);
to OnEnd have zero affect on the Registry changes that this installer makes?
(I am in a position where affecting the entire install is OK)
Take care,
Chris
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 01, 2012
06:34 PM
(Follow-up of sorts [post=481297]here[/post].)
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)