jochen Posted November 21, 2011 Share Posted November 21, 2011 Hello, the smalls things makes so much problems .... I have a reg file and want to register it under WIN 7 64 bit with AutoIt. So i add run("REGEDIT /s pastart.reg") it add the entries NOT under 'Wow6432Node'. When i make a double click on it and register it 'normal' than the entries are under the node 'Wow6432Node'. Also when i call the 'regedit /s pastart.reg' in a CMD. How can i run it in my 64 BIT AutoIt script? Thanks a lot! Link to comment Share on other sites More sharing options...
UEZ Posted November 21, 2011 Share Posted November 21, 2011 You can try #AutoIt3Wrapper_UseX64=n Btw, how looks like your reg file? Br, UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
jochen Posted November 21, 2011 Author Share Posted November 21, 2011 I wanted to compile the script in 2 versions. 32 BIT and 64 Bit. In my version AutoIt3Wrapper_UseX64=y The Reg file has 'normal' key entries. So without 'Wow6432Node'. WIN 7 64 move it automatacally under the node 'Wow6432Node' when i register it with 'windows'. My AutoIt-Script don´t want.... Link to comment Share on other sites More sharing options...
UEZ Posted November 21, 2011 Share Posted November 21, 2011 (edited) Well, when I use this code #AutoIt3Wrapper_UseX64=y $run = Run(@ComSpec & " /c regedit /s c:tmptest.reg") with this content of test.reg Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINESOFTWARETest] "Test"=dword:12345678 it will create the key under HKEY_LOCAL_MACHINESOFTWARE when I use #AutoIt3Wrapper_UseX64=y, otherwise directly under HKEY_LOCAL_MACHINESOFTWAREWow6432Node. You need the full SciTE package to use the wrapper commands! Br, UEZ Edited November 21, 2011 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ 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