Windows 7 Forums


Closed Thread
Thread Tools

[SOLVED] Identifying 32bit/64bit programs

 
 
BSomers BSomers is offline
New Member
Join Date: Apr 2011
Location: Freiburg, Germany
Posts: 25
Thanked: 0
 
      05-09-2011
How does the Windows (Program) Installer distinguish 32bit programs from 64bit?
I have a suite of programs that went into Program Files which I wouldn't have expected to run as 64bit.
 
 
 
 
 
catilley1092 catilley1092 is offline
Win 7/Linux Mint Lover
catilley1092's Avatar
Join Date: Nov 2009
Location: North Carolina, USA
Posts: 3,507
Thanked: 511
 
      05-09-2011
It would be my guess that the process is automated. Some programs that are clearly 64 bit ones (some AV's & other programs that are 64 bit only) goes straight into the Programs Folder.

However, many goes into the Program Files (x86) folder because these programs are of the 32 bit type, although they run fine on 64 bit computers. This list of programs are typically longer than the regular Program Files folder. As time goes by, you'll begin to see more programs go to the Program Files folder, rather than the (x86) one, as more programs converts to 64 bit.

However, that may be some time away, as long as there's 32 bit OS's being supported, there will continue to be 32 bit (x86) programs written. Hopefully, the next release of Windows will be 64 bit only.

My answer may not be the perfect one, but that's how I understand it.

Cat
 
 
BSomers BSomers is offline
New Member
Join Date: Apr 2011
Location: Freiburg, Germany
Posts: 25
Thanked: 0
 
      05-10-2011
The question was
How does the Windows (Program) Installer distinguish 32bit programs from 64bit?

What is present in programs that run as 64bit programs to identify them?

A text string? At the beginning? A binary indicator?
 
 
Digerati Digerati is offline
Established Member
Digerati's Avatar
Join Date: Apr 2010
Location: Nebraska, USA
Posts: 688
Thanked: 174
 
      05-10-2011
I think you are confused. The Windows Installer has nothing to do with it. YOU, the user must decide if you run 32-bit or 64-bit then YOU the user must download and install the correct version.

The program developer may bundle both versions in a single download, but then it is that program's installer that then check to see what version is needed.
 
 
Super Sarge Super Sarge is offline
Established Member
Super Sarge's Avatar
Join Date: Dec 2010
Location: Some Where on Planet Earth I Think
Posts: 189
Thanked: 32
 
      05-10-2011
In most cases that is true, however if you were running W7 64 bit and upgraded Internet Explorer to IE9, the update actually updated the IE9 in the program files (86) folder and the program files folder.
 
 
Digerati Digerati is offline
Established Member
Digerati's Avatar
Join Date: Apr 2010
Location: Nebraska, USA
Posts: 688
Thanked: 174
 
      05-10-2011
No. You are talking something different, but it is not exactly correct either. If you install IE9 on a 64-bit Windows, you get both 32-bit and 64-bit IE9. As you noted, the 32-bit version is installed in the "Program Files (x86)" folder, but the 64-bit version is also installed in the Programs Files folder.
 
 
Super Sarge Super Sarge is offline
Established Member
Super Sarge's Avatar
Join Date: Dec 2010
Location: Some Where on Planet Earth I Think
Posts: 189
Thanked: 32
 
      05-10-2011
I knew that, what I am saying is if you run W7 64 bit and updated from IE 8 to IE 9 the update would update the 32 bit in the 86 folder and it would also update the one in the programs folder .
 
 
davehc davehc is offline
Super Moderator
davehc's Avatar
Join Date: Jul 2009
Location: Denmark
Posts: 1,865
Thanked: 407
 
      05-10-2011
Bsomers.
As you surmised, it is in the program (binary) string. in the program header..

The first value in the file header tells you the architecture:
0x14C for x86 or
0x8664 for x64.
 
 
BSomers BSomers is offline
New Member
Join Date: Apr 2011
Location: Freiburg, Germany
Posts: 25
Thanked: 0
 
      05-10-2011
Quote:
Originally Posted by Digerati View Post
I think you are confused. The Windows Installer has nothing to do with it. YOU, the user must decide if you run 32-bit or 64-bit then YOU the user must download and install the correct version.

The program developer may bundle both versions in a single download, but then it is that program's installer that then check to see what version is needed.
Sorry, but I don't feel confused. I asked how 32-bit and 64-bit routines can be distinguished.

I ran the Installer of a program suite that stems from a well-known magazine. There is only one version of the installer. I expected this suite to land in /Program Files (X86), but found it in /Program Files. That led me to wonder how either the Windows Program Installer or the third-party program's installer, or whatever else, decides that the programs can run as 64-bit programs. That is why I asked how programs that can run in 64-bit mode are distingished from those that cannot.

BTW, the Windows Installer is very sloppily named. Or, let's be kind and say hastily named. It doesn't install Windows. It is a Windows facility for installing third-party programs.
 
 
BSomers BSomers is offline
New Member
Join Date: Apr 2011
Location: Freiburg, Germany
Posts: 25
Thanked: 0
 
      05-10-2011
Quote:
Originally Posted by davehc View Post
Bsomers.
As you surmised, it is in the program (binary) string. in the program header..

The first value in the file header tells you the architecture:
0x14C for x86 or
0x8664 for x64.
Thank you very much. That is what interested me.
 
 
 
 
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Live programs broken with OnCatalogResult: 0x80072f7c Darryl_Gittins Windows 7 Support 0 08-18-2010 04:00 PM
programs in program files x86 not in start menu coin Windows 7 Support 5 07-12-2010 11:46 PM
System Restore - now 32 bit programs are broken PhilipR Windows 7 Support 1 07-11-2010 11:00 AM
32 bit programs stopped working on win7 pro 64bit Stosh Ferhobin Windows 7 Support 1 04-05-2010 09:12 PM
Outgoing Requests Blocked on Various Programs amuench Windows 7 Support 3 10-29-2009 04:35 PM


All times are GMT +1. The time now is 04:00 AM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33