syswow64

Why is Vista64 using a 32bit cmd.exe by default? (machine-specific)

(I have this weird configuration problem at work, so I thought I'd give this site a try. My Google-Fu is failing me...) The situation: I need to convert our current development environment from XP 32bit to Vista 64bit (*). Naturally, I've run into plenty of places in our build system where hardcoded paths were problematic (e.g. "C:\Prog...

MSI Installer, 64 bit OS, write to \windows\system32\inetsrv folder

On Windows Server 2008 64-bit, I need an .msi installer file to write some files to \windows\system32\inetsrv folder. (The files are some XML Schema validation files, that C# XmlReaderSettings.Schema.Add() expects to be in that folder). When the installer runs, the files end up in \windows\SysWOW64\inetsrv folder, not where they need to...

How to start a 64-bit process from a 32-bit process

I am trying to run a 64 bit executable (java.exe) from our 32-bit .NET application. I am using Process class and invoking cmd /c <command name> in order to support all possible commands (like dir, cd etc). The problem is that on my machine I installed 64-bit version of JRE and java.exe is only available from C:\Windows\System32 folder (...

How to solve "catastrophic failure" with 32-bit COM component in SysWOW64\cscript or wscript

I'm trying to run a VBScript script that uses a 7-year-old 3rd-party 32-bit COM component on Windows Server 2008 R2, with the command-line 32-bit script host, SysWOW64\cscript.exe. When I call CreateObject on the class, it appears to be successful, but the very first time I try to use a property or method (I've tried several different ...

How can a 64-bit process have a 32-bit view of file system and registry?

For backwards compatibility, my 64 process needs to see the the 32-bit view of the file system and registry. I know how to make a 32-bit process see a 64-bit view of the file system and registry (using Wow64DisableWow64FsRedirection and Wow64RevertWow64FsRedirection) But how do I make a 64 bit process have a 32 bit view of the file sys...