|
|
#1 |
|
Junior Member
Join Date: Oct 2008
Posts: 4
|
Check wether AMD64 or Itanium 64bit processor
Is there a simple method for checking whether a system is running AMD64 or Itanium64 bit processors? The reason is I have a DLL for logging to the windows event log but there are three separate DLL's. 32bit, AMD64, and Itanium64.
I know how to check if the system is 32 or 64 bit, but need help how to check whether it's AMD64 or Itanium64. |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
call GetNativeSystemInfo with the system plugin
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2008
Posts: 4
|
Thanks for quick reply and getting me on the right Path Anders. I can see all the pieces of the puzzle now but I'm having a little trouble putting them together.
I've looked at the wiki for getting the disk serial number: Wiki: Get disk Volume Serial Number And I realize I want to use the GetNativeSystemInfo in the same way but I'm unsure how to define the variable and the system call like seen there to get what I want out. Could you point me to an example or resources that will help me with figuring this out? |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Oct 2008
Posts: 4
|
So to make things clearer I know I need to get the wProcessorArchitecture member out of SystemInfo using the system plugin but I don't understand how to make the call and access the value of that member.
|
|
|
|
|
|
#5 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
PHP Code:
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Oct 2008
Posts: 4
|
That worked, thank you so much Anders! =)
|
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Nov 2008
Location: Ulaanbaatar, Mongolia
Posts: 3
|
How to i386, ia64, amd64, wow64 separate file copy?
Hello. Please help me. I'm newbee.
I have i386, ia64, amd64, wow64 separate dll files. How can I choose and copy files to system folder? Can I use it like this? PHP Code:
thank you. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|