on 12-12-2012 7:41 PM
Is there a way via GUI Scripting that I can determine whether the OS is x64 or x32 in order to set the correct registery values?
Hi!
In SAP Installation server scripts you can check it with this:
If "%WOW64MODE%" = "true" Then
...the OS is 64bit
Else
...the OS is 32Bit
End If
br,
Ossi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In a Windows 64bit OS, there will be a registry subfolder WOW6432Node under the Software
folder
eg:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node
HKEY_CURRENT_USER\Software\Wow6432Node
Jude
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For sure use the registry to discover it.
I have not done it my self. but there are some I would try.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MEIx64]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64]
From microsofts KB
HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0
http://support.microsoft.com/kb/556009
However I have never tried what this parameter looks like if you run 32 bits on 64 bits architecture.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.