Solved

What happens when a program is placed in the "program files (x86)" directory?

Posted on 2008-10-01
4
222 Views
Last Modified: 2013-11-29
I was wondering what happens when a program is installed in the "program files (x86)" directory versus the "program files" directory in Windows XP64. I know that one is for x86 programs that are installed and the other is for x64 programs that are installed.. But, does Windows look at each directory differently? or are each programs installed there flagged to run 32-bit or 64-bit?
0
Comment
Question by:jvilla1983
4 Comments
 
LVL 77

Accepted Solution

by:
arnold earned 125 total points
ID: 22615711
The OS does not distinguish based on a parent folder.
The program Files and program files (x86) are mere suggestions by the OS/installer on where to store an application.
The designation is often to simply a software audit to determine which application are 64 bit and which are 32 bit.

There is no functional significance on the windows side to start an application 64 bit or not in any folder.

Windows stores much of the data in the registry i.e. wow6432node will include 32 bit applications, etc.
A 64bit OS will often translate/transform a 32bit application access attempt into the registry to direct the application to the wow6432node hierarchy.
0
 
LVL 47

Assisted Solution

by:rpggamergirl
rpggamergirl earned 125 total points
ID: 22619906

>>> are each programs installed there flagged to run 32-bit or 64-bit?
<<< 
The 64-bit is running in its native environment while the 32-bit which is the "program files (x86)" directory' is running within an emulator(WOW64 emulator).
Windows makes 64-bit and 32-bit programs runs separately because 32-bit and 64-bit don't mix, 64-bit files and 32-bit files are separate.
A 32-bit app can not run natively in a 64-bit environment, they just run side by side without mixing or sharing any files.

When you install a 32-bit program in a 64-bit environment, the WOW64 emulator makes the program thinks that it's running inside a 32-bit environment. So when the program's own installation wizard installs files in the system32 folder, it has no idea that its actually writing/installing files in the Windows\SysWOW64 folder.
And from thereon, whenever a 32-bit program needs to read/write files to or from the system32 folder all requests are redirected to Windows\SysWOW64 folder.
0

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
facebook change 4 53
save browser passwords 11 72
LogmeIn using Linux Ubuntu 16.04 6 63
Window 10 upgrade crashes ssd again 44 85
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question