FreeStyler Posted April 5, 2007 Share Posted April 5, 2007 (edited) I am writing a AutoIt program that needs to be compatiblewith both X86 and X64 versions of Windows Vista As i don't have access to a 64Bit box i need some environment variables from X64 Vista operating systemsSo X64 Users, Please download attached package below, run it and after that post the contents of the logfile in this topic(logfile is created in the directory the program is run from) thx,[fs]X64Check.zip Edited April 5, 2007 by FreeStyler Link to comment Share on other sites More sharing options...
FreeStyler Posted April 5, 2007 Author Share Posted April 5, 2007 anyone? Link to comment Share on other sites More sharing options...
Manny Posted April 5, 2007 Share Posted April 5, 2007 Ok, I'm using Windows Vista Ultimate x64.Logfile:[systemInfo]CPU Architecture=X64SystemDir=C:\Windows\system32OS version=WIN_VISTAOS type=WIN32_NTHopefully this is what you were looking for. Link to comment Share on other sites More sharing options...
ripken204 Posted April 5, 2007 Share Posted April 5, 2007 [systemInfo]CPU Architecture=X64SystemDir=C:\Windows\system32OS version=WIN_VISTAOS type=WIN32_NT Link to comment Share on other sites More sharing options...
ButchN Posted April 6, 2007 Share Posted April 6, 2007 I am writing a AutoIt program that needs to be compatiblewith both X86 and X64 versions of Windows Vista As i don't have access to a 64Bit box i need some environment variables from X64 Vista operating systemsSo X64 Users, Please download attached package below, run it and after that post the contents of the logfile in this topic(logfile is created in the directory the program is run from) thx,[fs]What's an AutoIt program & what's it do?Oh, & since 2 replies have the same results, I'm sure my 64 bit ultimate will be the same as well. Link to comment Share on other sites More sharing options...
Jeronimo Posted April 6, 2007 Share Posted April 6, 2007 I have Home Basic and get the same result as well. Link to comment Share on other sites More sharing options...
FreeStyler Posted April 6, 2007 Author Share Posted April 6, 2007 Thx guys,Now i have 1 additional question, is what results one would get if a X86 OS is being used on X64 Processor Architecture PC?Anyone can tell me results of such setup? (eg: Vista 32Bit on 64Bits PC)@ButchNIt's a little program that should automate the installation/uninstallation of Vista OEM related information,eg: OEM logo's and oobe.xml file, together with the required registry entries to correctly display them.On the page below you find a method using WinRar self-extractors, i have enhanced this so "brand" or custom logo can easily be made by changing settings in a ini file the program reads required information from.Also includded is a uninstaller, that can be accessed from Vista's Add/Remove Software controlpanel.http://www.msfn.org/board/index.php?showtopic=95062PreviewThis version only suports the X86 platform for now. (i think)Only runs op Windows Vista OSBuild in checks (if the files exists etc.) All file operations are completly hidden for user Uninstaller is included (C:\Windows\System32\oobe\oem_uninst.exe) Uninstaller can be started from Add/Remove Software controlpanel All opperations are logged (C:\Windows\temp\oemlogo.log) If errors occured, the program gives the user the opportunity to open the logfile automaticly to see what the problems are. All Uninstall opperations are logged (C:\Windows\temp\oemlogo.log)OEMLOGO.INI [Settings] OEMFilesPATH=[PATH] Manufacturer=[FULL VENDOR NAME] OEMName=[IMAGE PREFIX VENDOR NAME]http://rapidshare.com/files/24423301/medion.zip.html (Program with MEDION logo's included, can be easily replaced with your own.)[fs] Link to comment Share on other sites More sharing options...
FreeStyler Posted April 6, 2007 Author Share Posted April 6, 2007 I read somewhere that Vista X64 redirects X86 processes to \Syswow64\ and uses a X64 emulator to "fake" a 64 bits process.If you run above program on your X64 bits OS, are the oemlogos and oobe.xml copied to:C:\Windows\System32\oobe\ or to C:\Windows\Syswow64\oobe\ ? Link to comment Share on other sites More sharing options...
FreeStyler Posted April 6, 2007 Author Share Posted April 6, 2007 BTW, Are the Registry entries in place as well?eg:HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation, "Logo"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OEMInformation, "Manufacturer"Or are registry entries handled differently on X64? (and where should they be?) Link to comment Share on other sites More sharing options...
gunsmokingman Posted April 6, 2007 Share Posted April 6, 2007 Thx guys,Now i have 1 additional question, is what results one would get if a X86 OS is being used on X64 Processor Architecture PC?Anyone can tell me results of such setup? (eg: Vista 32Bit on 64Bits PC)It reports this on Vista x86 « ----------------------------------- » » Caption : Intel® Pentium® 4 CPU 2.66GHz » Class Guid : {50127dc3-0f36-415e-a6cc-4cb3be910b65} » CompatibleID : ACPI\Processor » Description : Intel Processor » Device ID : ACPI\GENUINEINTEL_-_X86_FAMILY_15_MODEL_4\_0 » Hardware ID : ACPI\GenuineIntel_-_x86_Family_15_Model_4,*GenuineIntel_-_x86_Family_15_Model_4,ACPI\GenuineIntel_-_x86_Family_15,*GenuineIntel_-_x86_Family_15,ACPI\GenuineIntel_-_x86,*GenuineIntel_-_x86 » Manufacturer : Intel » PNP Name : Intel® Pentium® 4 CPU 2.66GHz » PNP Device ID : ACPI\GENUINEINTEL_-_X86_FAMILY_15_MODEL_4\_0 « ----------------------------------- »I have XP x64 installed on the same computerScript that I used to get the informationstrComputer = "." Dim ColItems,ObjItem,Var1,Var2,Wmi Dim Act, Fso, OutFile, Ts Var1 = Space(2) & Chr(187) & Chr(160) Var2 = space(3) & Chr(171) & " ----------------------------------- " & Chr(187) Set Act = CreateObject("Wscript.Shell") Set Fso = CreateObject("Scripting.FileSystemObject") Set Wmi = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2") Set ColItems = Wmi.ExecQuery("SELECT * FROM Win32_PnPEntity",,48) OutFile = Act.ExpandEnvironmentStrings("%UserProfile%\Desktop\HalInfo.txt") Set Ts = Fso.CreateTextFile(OutFile) Ts.writeline Var1 & Now() & vbCrLf &_ Var1 & Act.ExpandEnvironmentStrings("%ComputerName%") For Each ObjItem in ColItems Ts.writeline Var2 Ts.writeline Var1 & "Caption : " & ObjItem.Caption Ts.writeline Var1 & "Class Guid : " & ObjItem.ClassGuid If isNull(ObjItem.CompatibleID) Then Ts.writeline Var1 & "CompatibleID : No Information" Else Ts.writeline Var1 & "CompatibleID : " & Join(ObjItem.CompatibleID, ",") End If Ts.writeline Var1 & "Description : " & ObjItem.Description Ts.writeline Var1 & "Device ID : " & ObjItem.DeviceID If isNull(ObjItem.HardwareID) Then Ts.writeline Var1 & "Hardware ID : No Information" Else Ts.writeline Var1 & "Hardware ID : " & Join(ObjItem.HardwareID, ",") End If Ts.writeline Var1 & "Manufacturer : " & ObjItem.Manufacturer Ts.writeline Var1 & "PNP Name : " & ObjItem.Name Ts.writeline Var1 & "PNP Device ID : " & ObjItem.PNPDeviceID Next Ts.writeline Var2 Ts.Close Act.Run("Notepad.exe " & OutFile),1,True Dim ZZ1 ZZ1 = MsgBox("Did you want to keep this file" & vbCrLf & Var1 &_ "Yes to keep the file" & vbCrLf & Var1 & "No to delete the file",4132,"Keep Or Delete") If ZZ1 = 7 Then Fso.DeleteFile(OutFile) End If Link to comment Share on other sites More sharing options...
FreeStyler Posted April 6, 2007 Author Share Posted April 6, 2007 thxX86, OK thats a good thing Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now